Add support for specifying additional JVM arguments #690
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request adds a new launcher argument,
--launcher.additionalVmargs
, that is supposed to be followed by a list of locations of files containing extra JVM arguments. Locations can potentially contain environment-variable strings in the form of%VariableName%
regardless of the platform:The launcher will attempt to read a file for every location in the declaration order until it succeeds. JVM arguments specified in such a file have higher priority than the ones defined in the launcher arguments or the configuration file.
A file containing extra JVM arguments follows the same structure as any other configuration file: every new argument is placed on its own line:
The argument is intended to be used by developers of Eclipse RCP applications. It can be defined as
<programArgs>
in the.product
file to allow end-users to specify JVM arguments if they can't do that otherwise by modifying the configuration file.Additionally, 7e684f2 brings configuration file resolution for the console launcher with the
-cli
postfix in addition to the existingc
postfix on Windows.