How to compile a Java FX project [message #1835195] |
Thu, 26 November 2020 12:50  |
Eclipse User |
|
|
|
Hi All,
I have create a JavaFX project that works fine. Now I would like to compile it and use it in others systems.
I'm following the steps:
1) open the build.fxbuild file
2) fill in the nessecary information
3) select application main file.
4) press ant build.xml and run
An error occures. That is below
Does anybody know how to fix this?
BUILD FAILED
C:\eclipse\eclipse-workspace\HelloFX\build\build.xml:144: Problem: failed to create task or type javafx:com.sun.javafx.tools.ant:resources
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
No types or tasks have been defined in this namespace yet
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03497 seconds