-
Notifications
You must be signed in to change notification settings - Fork 6
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
Multiple Paths in --module-path not supported #1
Comments
thank you very much for your report, I will investigate the first issue and what about the second one - try to split it as two option items <options>
<option>--launcher</option>
<option>bootstrap=com.dow.aws.lambda/com.dow.aws.lambda.Bootstrap</option>
</options> |
That fixes the second issue. I thought Maven had an issue with spaces. Fixing the first should be relatively straight-forward (just need to split on the |
I made changes and have replaced single string <modulePaths>
<path>JDK.PROVIDER.JMODS</path>
<path>target/</path>
</modulePaths> path to the provider's jmods folder can be marked through pseudo-path |
Thanks very much for your quick work on this. Is the snapshot available in a public repository? |
I don't public snapshots in any repository, just clone project and build it locally, snapshot will be represented in your local maven repository |
Okay. For some reason it is stripping the module path:
Result:
Trying |
yes, sorry there was some bug, try now |
It works :). Thanks a lot. |
One thing to note is that using |
JDK.PROVIDER.JMODS uses path to jdk provider defined for |
Hello,
I have two issues, actually.
1.) It seems that specifying more than one directory for --module-path is not supported. For example:
<modulePath>${jlink.jdk.path}${file.separator}jmods;target/</modulePath>
This is because in:
It does not split the path on either
:
or;
(depending on if it's *nix or Windows) and check each element of the module path individually.It would be nice if the plugin provided some property that is either
;
or:
depending on the OS running Maven (so that the POM is cross-platform) that could be used inside the module-path, but that's a secondary concern.2.) Not sure if this is an issue with the plugin, but when trying to add the following option:
<option>--launcher bootstrap=com.dow.aws.lambda/com.dow.aws.lambda.Bootstrap</option>
I get the following error from jlink:
It maybe could be because of the space?
Thanks very much for your useful plugin!
The text was updated successfully, but these errors were encountered: