我以前在Netbeans 8.2中使用过它,但是在Apache Netbeans 9.0中它不起作用,并在完成时显示:
ant -f“ C:\ Users \ So Work \ Documents \ NetBeansProjects \ semestre” -Djar.archive.disabled = true -Dnative.bundling.type = installer build-native
检测到JavaFX Ant API版本1.0
结果:1
初始化:
清洁部门:
更新属性文件:C:\ Users \ So Work \ Documents \ NetBeansProjects \ semestre \ build \ built-clean.properties
删除目录C:\ Users \ So Work \ Documents \ NetBeansProjects \ semestre \ build
清洁:
deps-jar:
创建的目录:C:\ Users \ So Work \ Documents \ NetBeansProjects \ semestre \ build
更新属性文件:C:\ Users \ So Work \ Documents \ NetBeansProjects \ semestre \ build \ built-jar.properties
创建的目录:C:\ Users \ So Work \ Documents \ NetBeansProjects \ semestre \ build \ classes
创建的目录:C:\ Users \ So Work \ Documents \ NetBeansProjects \ semestre \ build \ empty
创建的目录:C:\ Users \ So Work \ Documents \ NetBeansProjects \ semestre \ build \ Generated-sources \ ap-source-output
将1个源文件编译到C:\ Users \ So Work \ Documents \ NetBeansProjects \ semestre \ build \ classes
编译:
创建的目录:C:\ Users \ So Work \ Documents \ NetBeansProjects \ semestre \ dist
警告:Nashorn引擎计划从将来的JDK版本中删除
警告:Nashorn引擎计划从将来的JDK版本中删除
C:\ Users \ So Work \ Documents \ NetBeansProjects \ semestre \ nbproject \ build-native.xml:519:找不到typedef类com.sun.javafx.tools.ant.FXJar
使用类加载器AntClassLoader []
失败(总时间:6秒)
我知道如何从here