Myeclipse中生成class文件,出现问题
build.xml文件部分:
<target name="compile" depends="init">
<echo message="compile sources"/>
<jocky name="jocky" jar="E:\MyWork\server\sso_server\packs\lib\jocky.jar" enable="true" level="private"/>
<javac target="1.7" source="1.7" srcdir="../src/main/java" destdir="${dest.home}/build">
<classpath refid="classpath.run" />
<compilerarg line="-encoding UTF-8 "/>
</javac>
<copy todir="${dest.home}/build">
<fileset dir="../src/main/java">
<include name="*.xml"/>
<include name="sqlmap/**"/>
</fileset>
</copy>
</target>
报错:
BUILD FAILED
E:\MyWork\server\sso_server\packs\build.xml:49: Problem: failed to create task or type jocky
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.
请看一下是哪有问题。