From: Narayana <nar...@gm...> - 2008-02-12 09:45:18
|
i am new to cruise control and trying to configure a SVN project with cruise control. i have my directory structure like this ... d:\work\cruise\checkout d:\work\cruise\logs d:\work\cruise\artifacts d:\work\cruise\config.xml i have set my path to path=%path%;d:\cruisecontrol-2.7.1\main\bin and when i gave the cruisecontrol command in cruise directory, it is showing error( log messages are as follows). i am including log messages and config.xml file entries log entries ------------------ ERROR SVN - Error executing svn log command svn log --non-interactive --xml -v -r '"{2008-02-12T08:58:44Z}":"{2008-02-12T09:15:33Z}"' java.io.IOException: Cannot run program "svn" (in directory "checkout\PropelJ"): CreateProcess error=2, The system cannot find the file specified at java.lang.ProcessBuilder.start(ProcessBuilder.java:459) at java.lang.Runtime.exec(Runtime.java:593) at net.sourceforge.cruisecontrol.util.CruiseRuntime.exec( CruiseRuntime.java:22) at net.sourceforge.cruisecontrol.util.Commandline.execute( Commandline.java:598) at net.sourceforge.cruisecontrol.sourcecontrols.SVN.execHistoryCommand( SVN.java:422) at net.sourceforge.cruisecontrol.sourcecontrols.SVN.getModifications( SVN.java:253) at net.sourceforge.cruisecontrol.ModificationSet.getModifications( ModificationSet.java:199) at net.sourceforge.cruisecontrol.Project.getModifications(Project.java :415) at net.sourceforge.cruisecontrol.Project.build(Project.java:200) at net.sourceforge.cruisecontrol.Project.execute(Project.java:149) at net.sourceforge.cruisecontrol.ProjectConfig.execute( ProjectConfig.java:369) at net.sourceforge.cruisecontrol.ProjectWrapper.run(ProjectWrapper.java :69) at java.lang.Thread.run(Thread.java:619) Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified at java.lang.ProcessImpl.create(Native Method) at java.lang.ProcessImpl.<init>(ProcessImpl.java:81) at java.lang.ProcessImpl.start(ProcessImpl.java:30) at java.lang.ProcessBuilder.start(ProcessBuilder.java:452) ... 12 more config.xml entries are -------------------------------- <cruisecontrol> <project name="PropelJ"> <plugin name="svn" classname=" net.sourceforge.cruisecontrol.sourcecontrols.SVN"/> <plugin name="svnbootstrapper" classname=" net.sourceforge.cruisecontrol.bootstrappers.SVNBootstrapper"/> <modificationset quietperiod="180"> <svn localWorkingCopy="checkout/PropelJ" repositoryLocation="svn://aspire03/ATG/propel/trunk" username=" venkat.sadasivam" password="ks34cvnd"/> </modificationset> <!-- Configures the actual build loop, how often and which build file/target --> <schedule interval="60"> <ant antscript="C:\apache-ant-1.6.5\bin\ant.bat" buildfile="checkout/PropelJ/build.xml" target="build" uselogger="true" usedebug="false"/> </schedule> <!-- directory to write build logs to --> <!-- Publishers are run *after* a build completes --> <publishers> <currentbuildstatuspublisher file="logs/PropelJ/buildstatus.txt"/> </publishers> </project> </cruisecontrol> can any one check this and give me solution. -- Thanks & Regards, NarayanA |