CruiseControlException "log.xml does not exist" help

Posted by Castanho on Stack Overflow See other posts from Stack Overflow or by Castanho
Published on 2010-04-05T21:22:22Z Indexed on 2010/05/17 20:10 UTC
Read the original article Hit count: 379

Filed under:
|
|
|

Hi all....

I have a project that have cruiseControl running to build our things.

In my config.main I have a <onsuccess> with a <antpublisher>

But when some error occur in the ANT I'm receiving a exception:

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)

I really dont have this log.xml... And I don'k know how this file should be, a log4j? Commons?

I google it and could not found what this file for..

Well any tips could help!

Thanks in advance

© Stack Overflow or respective owner

Related posts about cruisecontrol

Related posts about logging