-
Notifications
You must be signed in to change notification settings - Fork 132
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
JavaPackager fails when I update javafx-gradle-plugin from 0.0.10 to 0.0.13 #291
Comments
I've tried to package your app using the next environment:
and managed to reproduce your error. Then, tried to downgrade // https://github.com/openjfx/javafx-gradle-plugin
id 'org.openjfx.javafxplugin' version '0.0.10' but the error persists 😞
|
Later, after doing some research, I realized that the problem is because of the additional modules: additionalModules = ['jdk.incubator.foreign', 'jdk.incubator.jpackage'] but ... why? Because I made the mistake of trying to add those additional modules to a fixed-size list returned by
Another example: as you can see public static void main(String[] args) {
List<Integer> number = Arrays.asList(1, 2, 3);
number.add(4);
} this code throws an
Sorry for the inconveniences 😢 ... I'm going to fix it right now, and then you can package your app using 1.7.0-SNAPSHOT. |
I've just fixed this issue. You have to build and install 1.7.0-SNAPSHOT to your local Maven repo: git clone https://github.com/fvarrui/JavaPackager --branch devel
cd JavaPackager
gradlew publishToMavenLocal Then update your
And finally Please, try it and give some feedback please. |
JavaPackager 1.7.0 released to Maven Central |
Looks like io.github.fvarrui:javapackager 1.7.0 is working just fine, muchas gracias señor! |
Great news!! De nada 😅 |
Don't forget to push your v1.7.0 tag! |
I'm not sure what I am submitting, maybe just a question...
Short description of the issue/suggestion:
When I javafx-gradle-plugin 0.0.10 to 0.0.13 I can not longer pack the Windows installer.
I get the following exception:
Which is thrown here:
JavaPackager/src/main/java/io/github/fvarrui/javapackager/packagers/BundleJre.java
Line 258 in a462e53
Do you have outputs, screenshots, demos or samples which demonstrate the problem or enhancement?
Please see the PR isolating the issue
To Reproduce
Please tell us about your environment:
The text was updated successfully, but these errors were encountered: