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
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