File tree Expand file tree Collapse file tree
content/en/docs/refguide/general/mx-command-line-tool Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -308,3 +308,43 @@ These are the return codes:
308308| ` 0 ` | No issues found. |
309309| ` 100 ` | Validation error on the input. |
310310| ` 300 ` | Exception, something went wrong. |
311+
312+ ## mx sync-java-dependencies Command {#java-dependencies}
313+
314+ {{% alert color="info" %}}
315+ This command is available as of [ Studio Pro 10.20] ( /releasenotes/studio-pro/10.20/ ) .
316+ {{% /alert %}}
317+
318+ The ` mx sync-java-dependencies ` command synchronizes the managed Java dependencies that are configured in the modules of the project.
319+ This results in the corresponding .* jar* files being added to the ` vendorlib ` directory in the project root.
320+
321+ The input is a single .* mpr* file.
322+
323+ {{% alert color="info" %}}
324+ The .* mpr* file must be the same version as mx.
325+ {{% /alert %}}
326+
327+ ### Usage
328+
329+ Use the following command pattern for ` mx sync-java-dependencies ` :
330+
331+ ` mx sync-java-dependencies INPUT `
332+
333+ For ` INPUT ` , enter an * .mpr* file.
334+
335+ ### Examples
336+
337+ These are example commands:
338+
339+ | Example | Result |
340+ | --- | --- |
341+ | ` mx sync-java-dependencies C:\Mendix\App1\App1.mpr ` | Synchronizes the managed Java dependencies of the project. |
342+
343+ ### Return Codes
344+
345+ These are the return codes:
346+
347+ | Return Code | Description |
348+ | --- | --- |
349+ | 0 | The command ran successfully. |
350+ | 1 | The command failed. For example, because the * .mpr* file could not be found. |
You can’t perform that action at this time.
0 commit comments