我有我的生成的XML文件下面的代码错误Ant文件
<"/fail unless="java.home1_6" message="Property java.home1_6 must be set to a JDK of version 1.6"/>
<"/echo message="Java home used for building JavaUtilities:${java.home1_6}"/>
<"/property name="javac.executable" location="${java.home1_6}/../bin/javac.exe"/>
<"/available file="${javac.executable}" property="javac.found"/>
<"/fail unless="javac.found" message="javac.exe was not found"/>
,但是当我运行该文件,它显示了以下错误
BUILD FAILED
D:\Mand\javautilities\build.xml:4: Property java.home1_6 must be set to a JDK of version 1.6
您的代码缺失。 –