Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8038495

[Bundlers]: CLI behavior differs from Java API

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P2 P2
    • None
    • 8u20
    • deploy
    • generic
    • generic

      CLI behavior differs from Java API

      outfile is not necessary to set in Java API
      But CLI fails with error:
      Exception in thread "main" com.sun.javafx.tools.packager.PackagerException: Error: Missing argument: -outfile
      at com.sun.javafx.tools.packager.DeployParams.validate(DeployParams.java:383)
      at com.sun.javafx.tools.packager.Main.main(Main.java:427)

      To reproduce, try something like this.
      javafxpackager -deploy -verbose -outdir /tmp/testFxAppWithUtil/bundles -native deb -srcdir jars -srcfiles testFxAppWithUtil.jar Util.jar

            aeremeev Andrei Eremeev
            aeremeev Andrei Eremeev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: