John Radley created NETBEANS-1925:
-------------------------------------
Summary: Netbeans 10, JavaFX 11 and missing ant-javafx.jar
Key: NETBEANS-1925
URL: https://issues.apache.org/jira/browse/NETBEANS-1925
Project: NetBeans
Issue Type: Bug
Components: javafx - Deployment, javafx - Project, projects - Ant,
projects - Ant Project
Reporter: John Radley
I create a Java Application, and use HelloFX example to successfully build and
run it.
On Project Properties > Build ** > Deployment it is possible to press the
"Switch Project to JavaFX Deployment Model" button.
This change works, but the Build fails with message about JavaFX Deployment
files missing.
If I copy "ant-javafx.jar" from
"/home/<user>/.sdkman/candidates/java/8.0.191-oracle/lib"
TO "/home/<user>/.sdkman/candidates/java/tools"
The build completes, and the JavaFX HelloFX runs successfully.
(I happen to use SDKMAN - you can convert paths if you don't use)
I know many are moving to Maven and Gradle to build JavaFX applications, but I
was just interested as to why the Ant method failed. I used Ant Verbose to find
the reason.
Do you intend to fix the create JavaFX Application wizard? And continue to off
the Ant build method?
Is there a better way of achieving the same fix as I have found?
*Product Version:* Apache NetBeans IDE 10.0 (Build
incubator-netbeans-release-380-on-20181217)
*Java:* 11.0.1; OpenJDK 64-Bit Server VM 11.0.1+13
*Runtime:* OpenJDK Runtime Environment 11.0.1+13
*System:* Linux version 4.18.0-13-generic running on amd64; UTF-8; en_GB (nb)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists