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/dump-mpr.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
1
---
2
2
title: "MPR Dump"
3
-
url: /refguide/mx-command-line-tool/dump-mpr
3
+
url: /refguide/mx-command-line-tool/dump-mpr/
4
4
weight: 60
5
-
description: "Describes the command used to create a JSON description of the model of a Mendix App."
5
+
description: "Describes the command used to create a JSON description of the model of a Mendix app."
6
6
---
7
7
8
8
## Introduction
@@ -19,7 +19,7 @@ These are the `OPTIONS`:
19
19
20
20
| Option | Value | Result |
21
21
| --- | --- | --- |
22
-
|`--unit-type`| A single unit type, or a comma-separated list of unit types. To find a specific unit type, refer to the [Model SDK API documentation](https://apidocs.rnd.mendix.com/modelsdk/latest/index.html). Each unit includes a `structureTypeName`property that identifies its type. For example, the unit type for a [Page document](https://apidocs.rnd.mendix.com/modelsdk/latest/classes/pages.Page.html#structureTypeName-1) is `Pages$Page`, as indicated in the documentation. Additionally, the unit type is included in the output JSON in the `$Type` field. You can use the command without this argument to list the unit types in your project. | Filters the results on the supplied unit types and limits the JSON export. |
22
+
|`--unit-type`| A single unit type, or a comma-separated list of unit types. To find a specific unit type, refer to the [Model SDK API documentation](https://apidocs.rnd.mendix.com/modelsdk/latest/index.html). Each unit includes a `structureTypeName` property that identifies its type. For example, the unit type for a [Page document](https://apidocs.rnd.mendix.com/modelsdk/latest/classes/pages.Page.html#structureTypeName-1) is `Pages$Page`, as indicated in the documentation. Additionally, the unit type is included in the output JSON in the `$Type` field. You can use the command without this argument to list the unit types in your project. | Filters the results on the supplied unit types and limits the JSON export. |
23
23
|`--exclude-system-module`|| Exclude the system module from the JSON export. |
24
24
|`--exclude-protected-modules`|| Exclude protected modules from the JSON export. |
25
25
|`--module-names`| A single module name, or a comma-separated list of module names. | Filters the results on the supplied modules and limits the JSON export. |
@@ -21,24 +21,22 @@ Use the following command pattern:
21
21
22
22
These are the `OPTIONS`:
23
23
24
-
| Option |Result|
24
+
| Option |Description|
25
25
| --- | --- |
26
26
|`-s, --include-snapshot`| Includes a snapshot in the app package. |
27
27
|`-d, --package-dir`| Exports the package to the directory. |
28
-
|`-k, --skip-managed-dependency-sync`|Do not synchronize managed dependencies; use existing files in `vendorlib` instead. |
28
+
|`-k, --skip-managed-dependency-sync`|Does not synchronize managed dependencies; uses existing files in `vendorlib` instead. |
29
29
|`--help`| Displays the help screen. |
30
30
31
31
For `TARGET-FILE`, specify the *.mpr* app you want to export.
32
32
33
-
### Examples
34
-
35
-
Here is an example:
33
+
### Example
36
34
37
35
`mx create-project-package c:\MyApps\MyApp.mpr`
38
36
39
37
### Return Codes
40
38
41
-
This table shows the return codes and their description:
39
+
This table shows the return codes and their descriptions:
42
40
43
41
| Return Code | Description |
44
42
| --- | --- |
@@ -61,25 +59,23 @@ These are the `OPTIONS`:
61
59
62
60
| Option | Description |
63
61
| --- | --- |
64
-
|`-l, --filter-required-libs`| Includes all the files except the userlibs that do not have an accompanying `[ModuleName].RequiredLib` file. |
65
-
|`-e, --exclude-files`| Excludes all the files that match the given regular expression. |
62
+
|`-l, --filter-required-libs`| Includes all files except the userlibs that do not have an accompanying `[ModuleName].RequiredLib` file. |
63
+
|`-e, --exclude-files`| Excludes all files that match the given regular expression. |
66
64
|`-d, --package-dir`| Exports the module package to the directory. |
67
-
|`-m, --exclude-managed-dependencies`| Excludes managed dependencies from synchronization and the exported module package. Note that this will prevent the module from being used if Gradle synchronization is disabled in Studio Pro. |
65
+
|`-m, --exclude-managed-dependencies`| Excludes managed dependencies from synchronization and the exported module package. This prevents the module from being used if Gradle synchronization is disabled in Studio Pro. |
68
66
|`--help`| Displays the help screen. |
69
67
70
68
For `TARGET-FILE`, specify the *.mpr* app you want to export.
71
69
72
70
For `MODULE-NAME`, specify the name of the module you want to export.
0 commit comments