|
RE: AntBuilder fails with error reading log file: msg#00018java.cruise-control.user
The key is that it is caused any time that ant doesn't generate an .xml file. Various causes include: -- ant jar conflict -- typo in config.xml -- conflicts w/xalan | xerces -- other abnormal termination of ant One suggestion to track down the problem is to set useLogger="false" and debug="true" on the ant element and watch the output. Another is to use the antscript attribute to isolate your CC classpath/vm from the ant classpath/vm. Jtf -----Original Message----- From: cruisecontrol-user-admin@xxxxxxxxxxxxxxxxxxxxx [mailto:cruisecontrol-user-admin@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of Tauzell, Dave Sent: Thursday, December 04, 2003 6:33 AM To: Srinivasan Ranganathan; CruiseControl User List Subject: RE: [Cruisecontrol-user] AntBuilder fails with error reading log file I had this problem and it turned out that I had mis-typed the ant script to run. That caused ant to fail immediately and not create a log file. CruiseControl didn't catch this. Double check your config.xml. -Dave -----Original Message----- From: Srinivasan Ranganathan [mailto:srirang@xxxxxxxxxxxxx] Sent: Thursday, December 04, 2003 12:06 AM To: CruiseControl User List Subject: Re: [Cruisecontrol-user] AntBuilder fails with error reading log file After some searching on sf.net archives, found a suggestion to sync the ant jars that the build uses and the one that cc uses (in main/lib). This didn't seem to help. Or, maybe I did this wrong. On Wed, 03 Dec 2003 19:46:08 -0800, "Srinivasan Ranganathan" <srirang@xxxxxxxxxxxxx> said: > Hi > > I've just checked out cc from cvs and built it. I checked out all my > projects and started CC. CC starts up with a simple config file, > starts a build and the AntBuilder fails with this. Any help is > appreciated. > > [cc]Dec-04 15:49:18 Project - exception attempting build in project > OLASME-continuous > net.sourceforge.cruisecontrol.CruiseControlException: Error reading : > D:\cc\build\log.xml. Saved as : D:\cc\build\1070506158844log.xml : > log.xml (The system cannot find the file specified) > at > net.sourceforge.cruisecontrol.builders.AntBuilder.getAntLogAsElement(Ant Builder.java:350) > at > net.sourceforge.cruisecontrol.builders.AntBuilder.build(AntBuilder.java: 162) > at > net.sourceforge.cruisecontrol.Schedule.build(Schedule.java:140) > at net.sourceforge.cruisecontrol.Project.build(Project.java:166) > at > net.sourceforge.cruisecontrol.Project.execute(Project.java:117) > at > net.sourceforge.cruisecontrol.BuildQueue.serviceQueue(BuildQueue.java:75 ) > at > net.sourceforge.cruisecontrol.BuildQueue.run(BuildQueue.java:91) > at java.lang.Thread.run(Thread.java:513) > [cc]Dec-04 15:49:18 Project - Project OLASME-continuous: next > build in 10 seconds > > Thanks Srini -- http://www.fastmail.fm - Access all of your messages and folders wherever you are ------------------------------------------------------- This SF.net email is sponsored by OSDN's Audience Survey. Help shape OSDN's sites and tell us what you think. Take this five minute survey and you could win a $250 Gift Certificate. http://www.wrgsurveys.com/2003/osdntech03.php?site=8 _______________________________________________ Cruisecontrol-user mailing list Cruisecontrol-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user ------------------------------------------------------- This SF.net email is sponsored by OSDN's Audience Survey. Help shape OSDN's sites and tell us what you think. Take this five minute survey and you could win a $250 Gift Certificate. http://www.wrgsurveys.com/2003/osdntech03.php?site= _______________________________________________ Cruisecontrol-user mailing list Cruisecontrol-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: AntBuilder fails with error reading log file, Tauzell, Dave |
|---|---|
| Next by Date: | Cruisecontrol locks up, Aaron Kelley |
| Previous by Thread: | RE: AntBuilder fails with error reading log file, Tauzell, Dave |
| Next by Thread: | Cruisecontrol locks up, Aaron Kelley |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |