-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Class-Path in jna-platform's manifest cause exception #776
Comments
The netbeans copylibs task copies the dependend libraries and modifies the jar MANIFEST.MF to reference the copied libs. The task is reimplemented in the build.xml to override the base definition in build-impl.xml, as build-impl.xml comes from the netbeans project template, future updates could destroy the change if it is not done in build.xml, which is considered project depended. Closes: java-native-access#776
The netbeans copylibs task copies the dependend libraries and modifies the jar MANIFEST.MF to reference the copied libs. The task is reimplemented in the build.xml to override the base definition in build-impl.xml, as build-impl.xml comes from the netbeans project template, future updates could destroy the change if it is not done in build.xml, which is considered project depended. Closes: java-native-access#776
@zhanhb thank you for your finding. Could you please have a look at this changeset: https://github.com/matthiasblaesing/jna/tree/remove_classpath And the test build: jna.zip Please check if that fixes the problem for you. |
Yeah, it's ok now with these 2 jars |
Thanks for checking. Will be part of next release. |
@matthiasblaesing When is this release planned? |
@igreenfield I'm a bit occupied currently. As 4.5 will also contain changes to the MANIFEST required to be compatible with java 9, Java 9 GA will be my final dead line. If you need a nearer date, please speak up and give me some reasons. |
I can wait.
|
There is a line
Class-Path: lib/jna.jar lib/test-classes/
in jna-platform.jar/META-INF/MANIFEST.MF which may raise an exception as the following when deploy to a tomcat server since jna 4.3.0.The text was updated successfully, but these errors were encountered: