-
Notifications
You must be signed in to change notification settings - Fork 136
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
system jar not added to classpath #393
Comments
Can you share a stripped down version of your |
this is the plugin setting where I use and tools.jar is under src/main/additionalFiles/lib
|
the main tag I use are additionalAppResources and useLibFolderContentForManifestClasspath |
Just to make sure, you are running |
I runing this via IntelliJ IDEA,when I run jfx:native first time,I found tools.jar under target\jfx\app\lib,but MANIFEST.MF in xxx-jfx.jar shows lib/tools.jar not in Class-Path tag, but when I run jfx:native once more, lib/tools.jar appears in the MANIFEST.MF |
When before I run once more, I did not clean files generated by previous operation. |
Just to make sure: what JDK are you using? |
I use jdk1.8.0_311 |
So just to make sure this is some IDE-related bug, can you check running |
I run mvn jfx:native in cmd when IDE is closed showing the same issue. |
The code in JarMojo shows that useLibFolderContentForManifestClasspath is running before additionalAppResources in execute method, is it the reason for the first time jar was not added to classpath but works on the second time? |
I am back from holiday family stuff 😺 Ah I see, yes, indeed, and initially there was reasoning behind it. I suspected such a thing. I will report back when I have some solution. |
I want to add tools.jar in my project, so I use tag to make sure tools.jar can be added to app/lib, and also set to be true, when I run jfx:native first time, I found that lib/tools.jar not in manifest classpath, but when run jfx:native second time, it works.
The text was updated successfully, but these errors were encountered: