我有一个项目运行 CruiseControl 来构建我们的东西。
在我的 config.main 我有<onsuccess>
一个<antpublisher>
但是当 ANT 中发生一些错误时,我收到了一个异常:
exception publishing results with net.sourceforge.cruisecontrol.publishers.OnSuccessPublisher for project usforce net.sourceforge.cruisecontrol.CruiseControlException: ant logfile /home/usforce/cruisecontrol-bin-2.7.3/log.xml does not exist.
at net.sourceforge.cruisecontrol.builders.AntBuilder.getAntLogAsElement(AntBuilder.java:424)
at net.sourceforge.cruisecontrol.builders.AntBuilder.build(AntBuilder.java:213)
at net.sourceforge.cruisecontrol.publishers.AntPublisher.publish(AntPublisher.java:86)
at net.sourceforge.cruisecontrol.publishers.ConditionalPublisher.publish(ConditionalPublisher.java:61)
at net.sourceforge.cruisecontrol.Project.publish(Project.java:750)
at net.sourceforge.cruisecontrol.Project.build(Project.java:264)
at net.sourceforge.cruisecontrol.Project.execute(Project.java:149)
at net.sourceforge.cruisecontrol.ProjectConfig.execute(ProjectConfig.java:405)
at net.sourceforge.cruisecontrol.ProjectWrapper.run(ProjectWrapper.java:69)
at java.lang.Thread.run(Thread.java:595)
我真的没有这个 log.xml ......而且我不知道这个文件应该是什么,一个 log4j?公地?
我用谷歌搜索并找不到这个文件的用途..
那么任何提示都会有所帮助!
提前致谢