[Bundlers]: CLI behavior differs from Java API

XMLWordPrintable

    • Type: Bug
    • Resolution: Not an Issue
    • Priority: P2
    • None
    • Affects Version/s: 8u20
    • Component/s: 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

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

              Created:
              Updated:
              Resolved: