Buildfile: C:\a556429\ccsnapshot_views\a556429_cmn_fundmsg_01.01.00\cmn01\cmn_fundmsg\src\cmn_sync\build.xml
BUILD FAILED
C:\a556429\ccsnapshot_views\a556429_cmn_fundmsg_01.01.00\cmn01\cmn_fundmsg\src\cmn_sync\build.xml:3: The following error occurred while executing this line:
jar:file:/C:/Documents%20and%20Settings/a556429/.ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml:37: Problem: failed to create task or type componentdef
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.
Total time: 163 milliseconds
经排查,是在ant_home中多了一个ant.jar,因为已经有了ant-contrib-1.0b3.jar,里面有一个antlib.xml。而ant.jar也有antlib.xml.会有问题