You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/docs/refguide/general/mx-command-line-tool/_index.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ These are the available [app commands](/refguide/mx-command-line-tool/app/):
28
28
|[check](/refguide/mx-command-line-tool/app/#check)| Checks the app for issues. |
29
29
|[convert](/refguide/mx-command-line-tool/app/#convert)| Converts the Mendix app. |
30
30
|[create-project](/refguide/mx-command-line-tool/app/#create-project)| Creates a new Mendix app. |
31
-
|[show-version](/refguide/mx-command-line-tool/app/#show-version)| Shows the Studio Pro version that was last used to edit the app. |
31
+
|[show-version](/refguide/mx-command-line-tool/app/#show-version)| Shows the Studio Pro version used to last edit the app. |
32
32
|[show-java-version](/refguide/mx-command-line-tool/app/#show-java-version)| Shows the configured Java version of the app. |
33
33
|[sync-java-dependencies](/refguide/mx-command-line-tool/app/#java-dependencies)| Synchronizes the managed Java dependencies that are configured in the modules of the app. |
34
34
|[translate](/refguide/mx-command-line-tool/app/#translate)| Exports and imports all translatable texts included in your application. |
@@ -51,7 +51,7 @@ These are the available [module commands](/refguide/mx-command-line-tool/module/
51
51
|---|---|
52
52
|[show-module-version](/refguide/mx-command-line-tool/module/#show-module-version)| Shows the version of a module. |
53
53
|[set-module-version](/refguide/mx-command-line-tool/module/#set-module-version)| Sets the version of a module. |
54
-
|[module-import](/refguide/mx-command-line-tool/module/#module-import)|Import a module from an mpk package into an app. |
54
+
|[module-import](/refguide/mx-command-line-tool/module/#module-import)|Imports a module from an mpk package into an app. |
55
55
56
56
### Export Package Commands
57
57
@@ -71,7 +71,7 @@ These are the available [merging and diffing commands](/refguide/mx-command-line
71
71
| --- | --- |
72
72
|[merge](/refguide/mx-command-line-tool/merge/#merge)| Merges the *.mpr* files. |
73
73
|[diff](/refguide/mx-command-line-tool/merge/#diff)| Shows the diff of the *.mpr* files. |
74
-
|[dump-mpr](/refguide/mx-command-line-tool/dump-mpr/)|Create a JSON description of the model of a Mendix app. |
74
+
|[dump-mpr](/refguide/mx-command-line-tool/dump-mpr/)|Creates a JSON description of the model of a Mendix app. |
75
75
76
76
### Private Values Commands
77
77
@@ -84,7 +84,7 @@ These are the available [private values commands](/refguide/mx-command-line-tool
84
84
85
85
### Security Overview Command
86
86
87
-
The available `export-security-overview` exports the [Security Overview](/refguide/security-overview/). For more information, see [Security Overview Command](/refguide/mx-command-line-tool/security/#export-security-overview).
87
+
The `export-security-overview` command exports the [Security Overview](/refguide/security-overview/). For more information, see [Security Overview Command](/refguide/mx-command-line-tool/security/#export-security-overview).
The `mx show-app-version` command enables seeing the [publisher-side](/appstore/creating-content/sol-solutions-guide/) version of your solution (the version of the solution that you develop) and the [consumer-side](/appstore/creating-content/sol-solutions-impl/) version of the solution package that your app is based on (the version of the solution package when you consumed the solution).
34
+
The `mx show-app-version` command shows the [publisher-side](/appstore/creating-content/sol-solutions-guide/) version of your solution (the version you develop) and the [consumer-side](/appstore/creating-content/sol-solutions-impl/) version of the solution package your app is based on (the version when you consumed the solution).
35
35
36
36
### Usage
37
37
@@ -41,14 +41,14 @@ Use the following command pattern for `mx show-app-version`:
41
41
42
42
These are the `OPTIONS`:
43
43
44
-
| Option | Shortcut |Result|
44
+
| Option | Shortcut |Description|
45
45
| --- | --- | --- |
46
46
|`--based-on`|`-b`| Shows the `Based on` version. |
47
47
|`--help`|| Shows help for the `mx show-app-version` command and exits. |
48
48
49
49
For `MPR-FILE`, enter an *.mpr* file.
50
50
51
-
The `--based-on` version is a version of a solution package (*.mxsolution*) that the current app is based on.
51
+
The `--based-on` version is the version of the solution package (*.mxsolution*) that the current app is based on.
52
52
53
53
### Examples
54
54
@@ -59,19 +59,19 @@ Here are two examples:
59
59
60
60
### Return Codes
61
61
62
-
This command uses the common format exit codes described above for all app-version related commands.
62
+
This command uses the common exit code format described above for all app-version related commands.
63
63
64
-
This table shows the return codes and their description:
64
+
This table shows the return codes and their descriptions:
65
65
66
66
| Return Code | Description |
67
67
| --- | --- |
68
68
|`0`| No errors. |
69
-
|`315`|If`-b` was specified, but the app is not based on a solution.|
70
-
|`313`|If`-b` was not specified, but distribution as a solution is not enabled for the app. |
69
+
|`315`|The`-b`flag was specified, but the app is not based on a solution. |
70
+
|`313`|The`-b` flag was not specified, but distribution as a solution is not enabled for the app. |
71
71
72
72
## mx set-app-version Command {#set-app-version}
73
73
74
-
The `mx set-app-version` command enables setting the version of your [solution](/appstore/creating-content/sol-solutions-guide/) when building it.
74
+
The `mx set-app-version` command sets the version of your [solution](/appstore/creating-content/sol-solutions-guide/) when building it.
75
75
76
76
### Usage
77
77
@@ -81,7 +81,7 @@ Use the following command pattern for `mx set-app-version`:
81
81
82
82
These are the `OPTIONS`:
83
83
84
-
| Option |Result|
84
+
| Option |Description|
85
85
| --- | --- |
86
86
|`--help`| Shows help for the `mx set-app-version` command and exits. |
87
87
@@ -97,12 +97,12 @@ Here is an example:
97
97
98
98
### Return Codes
99
99
100
-
This command uses the common format exit codes described above for all app-version related commands.
100
+
This command uses the common exit code format described above all app-version related commands.
101
101
102
-
This table shows the return codes and their description:
102
+
This table shows the return codes and their descriptions:
103
103
104
104
| Return Code | Description |
105
105
| --- | --- |
106
106
|`0`| No errors. |
107
-
|`124`| The version is not in the SemVer format. |
107
+
|`124`| The version is not in SemVer format. |
108
108
|`313`| Distribution as a solution is not enabled for the app. |
Copy file name to clipboardExpand all lines: content/en/docs/refguide/general/mx-command-line-tool/analyze-mpr.md
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,45 +2,45 @@
2
2
title: "MPR Analyze Command"
3
3
url: /refguide/mx-command-line-tool/analyze-mpr/
4
4
weight: 60
5
-
description: "Describes MPR analyze command, which shows the contents of the MPR file and their contribution to file size."
5
+
description: "Describes the MPR analyze command, which shows the contents of the MPR file and their contribution to file size."
6
6
---
7
7
8
8
## Introduction
9
9
10
-
The `mx analyze-mpr` command enables you to show information about the MPR file in the form of plaintext.
10
+
The `mx analyze-mpr` command shows information about the MPR file in plaintext format.
11
11
12
12
{{% alert color="warning" %}}
13
-
We do not recommend building custom tooling on top of this outpur, as the output and the format may change over time.
13
+
Mendix does not recommend building custom tooling on top of this output, as the output and format may change over time.
14
14
{{% /alert %}}
15
15
16
16
## Usage
17
17
18
18
Use the following command pattern: `mx analyze-mpr TARGET-FILE [OPTIONS]`
19
19
20
-
The `TARGET-FILE` points to the location of the project file (this file has the extension *.mpr*).
20
+
The `TARGET-FILE` points to the location of the project file with the *.mpr* extension.
21
21
22
22
The `OPTIONS` are described in the table below:
23
23
24
24
| Option | Result |
25
25
| --- | --- |
26
-
|`--big-string-threshold`|(Default: 1000) The number of bytes from which to consider a String value 'big' (for `Content categories` section) |
27
-
|`--big-blob-threshold`|(Default: 1000) The number of bytes from which to consider a BLOB value 'big' (for `Content categories` section) |
28
-
|`--help`| Displays the help screen.|
26
+
|`--big-string-threshold`| The number of bytes from which to consider a String value `big` (for the `Content categories` section). Default: *1000*|
27
+
|`--big-blob-threshold`| The number of bytes from which to consider a BLOB value `big` (for the `Content categories` section). Default: *1000*|
28
+
|`--help`| Displays the help screen |
29
29
30
30
### Analysis
31
31
32
-
To identify which types of documents (pages, microflows, etc.) have the largest contribution to the MPR file size, you can focus on the **Size by unit type** section, where the number of occurrences and file size contribution are displayed in percentage.
32
+
To identify which types of documents (pages, microflows, etc.) contribute most to the MPR file size, focus on the **Size by unit type** section. This section displays the number of occurrences and file size contribution as a percentage.
33
33
34
-
You can use the MPR Tool to get more details. You can find it at *C:\Program Files\Mendix\<version>\modeler\MprTool.exe* (where <version> should be replaced with your installed Mendix version). After opening the *.mpr* file for your app, use **Search** > **Find unit by ID** to find the name and module for a particular unit.
34
+
To get more details, use the MPR Tool located at *C:\Program Files\Mendix\<version>\modeler\MprTool.exe* (replace <version> with your installed Mendix version). After opening the *.mpr* file for your app, use **Search** > **Find unit by ID** to find the name and module for a unit.
35
35
36
36
### Examples
37
37
38
-
Valid examples are given below:
38
+
The following examples show valid usage:
39
39
40
40
*`mx analyze-mpr temp.mpr`
41
-
*`mx analyze-mpr temp.mpr > analysis.txt`, to output to a text file
41
+
*`mx analyze-mpr temp.mpr > analysis.txt` to output to a text file
0 commit comments