made --add-options and --vendor-* jlink plugins persistent#3
made --add-options and --vendor-* jlink plugins persistent#3
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-optionsoption value is persistent: A--add-optionsvalue specified when creating image1 is prepended to the--add-optionsvalue specified when runningimage1/bin/jlink.--vendor-*option values are persistent.