-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature to add VM options in addition to VM properties #40
base: master
Are you sure you want to change the base?
Feature to add VM options in addition to VM properties #40
Conversation
The argument index for `String.format` starts from `1`. In Java 11, index `0` defaulted to the first argument provided in the order. However, in Java 17, this throws `IllegalFormatArgumentIndexException`
anishthecoder-feature-1 Conflicts: maven-osgi-package-plugin/src/main/java/at/bestsolution/maven/osgi/pack/ProductPackagePlugin.java
product.launcherArgs.vmOptions.stream().collect(Collectors.joining(" ")) | ||
+ product.launcherArgs.vmProperties.entrySet().stream() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you need to add a forced space between those entries if vmOptions is not empty
product.launcherArgsWin.vmOptions.stream().collect(Collectors.joining(" ")) | ||
+ product.launcherArgsWin.vmProperties.entrySet().stream() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you need to add a forced space between those entries if vmOptions is not empty
product.launcherArgsOSX.vmOptions.stream().collect(Collectors.joining(" ")) | ||
+ product.launcherArgsOSX.vmProperties.entrySet().stream() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you need to add a forced space between those entries if vmOptions is not empty
product.launcherArgsLinux.vmOptions.stream().collect(Collectors.joining(" ")) | ||
+ product.launcherArgsLinux.vmProperties.entrySet().stream() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you need to add a forced space between those entries if vmOptions is not empty
For Java 17, sometimes the launch configuration needs to add VM options such as
--add-opens
. Currently, there is no method to specify such options that get passed on directly to the launcher. This is a proposal for such an addition.