1. 先定位错误出现的位置,简化cc的build.xml,如先删除
<bootstrappers>
<currentbuildstatusbootstrapper file="logs/${project.name}/status.txt"/>
<antbootstrapper antscript="F:/cruisecontrol-bin-2.7.1/apache-ant-1.7.0/bin/ant.bat"
antworkingdir="f:/projects"
buildfile="build-wrapper.xml"
uselogger="true"
usedebug="false"
target="update"/>
</bootstrappers>
2. build文件是否编写正确: buildfile="f:\projects\build-wrapper.xml,直接ant执行是否正常?
3. ant路径是否设置正确? ant anthome="apache-ant-1.7.0"