我在 ant bulider 中有这行代码:
<taskdef id="acceleoCompiler" name="acceleoCompiler" classname="org.eclipse.acceleo.parser.compiler.AcceleoCompiler" classpathref="Framework.libraryclasspath" >
</taskdef>
它抱怨以下内容:
taskdef class org.eclipse.acceleo.parser.compiler.AcceleoCompiler cannot be found using the classloader
当我尝试运行 ant 构建时,它也表示与错误相同的内容。有什么问题,我该如何解决?
我的 ant builder 中有以下内容:
<path id="Framework.classpath">
<path refid="Framework.libraryclasspath" />
</path>
<path id="Framework.libraryclasspath">
<pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.parser_3.2.0.v20111027-0537.jar"/>
</path>
它仍然无法正常工作。与以前相同的错误。
谢谢!