我已经安装了Apache Ant并正确设置了Path,CLASS_PATH和ANT_PATH变量.当我在build.xml文件所在的项目文件夹中的命令行中运行jar任务时,出现以下错误:
BUILD FAILED
C:\Documents and Settings\TonyS\My Documents\My Workspace\code\build.xml: 32:
The following error occurred while executing this line:
jar:file:/C:/Documents%20and%20Settings/TonyS/My%20Documents/Ant/apache-ant-1.8.1/lib/ant.jar!org/apache/tools/ant/antlib.xml:37: Could not create task or type: componentdef.
Ant could not find the task or a class this task relies upon.
....
可以请有人给我一个帮助,因为这让我发疯...
谢谢!