Skip to content

JavaPackager fails when I update javafx-gradle-plugin from 0.0.10 to 0.0.13 #291

Description

@Borewit

I'm not sure what I am submitting, maybe just a question...

  • bug report
  • feature request
  • other

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:

Caused by: java.lang.UnsupportedOperationException
	at io.github.fvarrui.javapackager.packagers.BundleJre.getRequiredModules(BundleJre.java:258)
	at io.github.fvarrui.javapackager.packagers.BundleJre.doApply(BundleJre.java:114)
	at io.github.fvarrui.javapackager.packagers.ArtifactGenerator.apply(ArtifactGenerator.java:44)
	at io.github.fvarrui.javapackager.packagers.Packager.createApp(Packager.java:411)
	at io.github.fvarrui.javapackager.gradle.AbstractPackageTask.doPackage(AbstractPackageTask.java:45)

Which is thrown here:
https://github.com/fvarrui/JavaPackager/blob/a462e537004a2f685c3df67bc7e0c59fc8e41c94/src/main/java/io/github/fvarrui/javapackager/packagers/BundleJre.java#L258

Do you have outputs, screenshots, demos or samples which demonstrate the problem or enhancement?
Please see the PR isolating the issue

To Reproduce

gradlew :packageMyApp

Please tell us about your environment:

  • JavaPackager version: 1.6.7
  • OS version: Windows
  • JDK version:
  • Build tool:
    • Maven
    • Gradle

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfixedIssue fixed and release pending

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions