-
Notifications
You must be signed in to change notification settings - Fork 0
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
made --add-options and --vendor-* jlink plugins persistent #3
base: master
Are you sure you want to change the base?
Conversation
At a high-level, having the --add-options and --vendor-XXX options persistent seems okay. A few things (like the protected fields) could be cleaned up but I think the main thing that will be important to include is tests to ensure that options persistent and are combined correctly. |
Thanks for the feedback. I can now proceed with adding tests given that you don't see any major issue with the solution. |
Making |
As for |
Does this capture your suggestion @mlchung ?
If not, could you please modify this help text to accurately capture your suggestion. |
Having more thought, a simpler solution may be to add i.e. you can put
|
Are you suggesting that the contents of |
Yes. jlink currently supports |
The argfile support is in the java launcher so jlink doesn't know anything about the argfiles, e.g. |
@dougxc not sure if you are waiting for me. Two ideas to support this:
|
The |
yes and only if |
So this captures it?
|
Yes. Minor tweak.
|
Changes in this PR:
--add-options
option value is persistent: A--add-options
value specified when creating image1 is prepended to the--add-options
value specified when runningimage1/bin/jlink
.--vendor-*
option values are persistent.