|
Sunday, 18 May 2008
|
|
I project that runs under CruiseControl and my update does not work is my config.xml: Code: <cruisecontrol> <project name="FOSP" requireModification="false"> <property name="java.home.dir" value="E:\j2sdk1.4.2_10"/> <property name="repository.dir" value="E:\repository"/> <listeners> <currentbuildstatuslistener file="logs/FOSP/status.txt" /> </ Listeners> <bootstrappers> <svnbootstrapper LocalWorkingCopy="E:/FOSP" /> </ Bootstrappers> <modificationset> <= svn repositoryLocation "svn: / / srv-svn/svn/FOSP.svn/trunk/FOSP" LocalWorkingCopy = "E: / FOSP" /> </ Modificationset> <schedule> <= Ant anthome "E: / apache-ant-1.7.0" Buildfile = "E: / FOSP / build / build.xml" Target = "execute-cruise-control" Time = "1510"> <jvmarg Arg="-Xmx1024m"/> </ Ant> </ Schedule> <publishers>
<Artifactspublisher Dir = "E: / FOSP / test / cobertura_report /" Subdirectory = "cobertura" Dest = "artifacts / FOSP" /> <Artifactspublisher Dir = "E: / FOSP / test / reports-test /" Subdirectory = "junit" Dest = "artifacts / FOSP" /> </ Publishers> </ Project> </ cruisecontrol> and I created a spot for ant updater from svn. So my task ant execute-cruise-control patch called svn-update which is supposed to update the local directory, then calls other tasks ant. The problem is that my svn-update does not work, I always "No modifications found". The install SVN is installed on the machine svn 1.4.5.exe. Code: <target name="svn-update" description="Update local project directory"> <exec Executable="svn"> <arg Line="up"/> </ Exec> </ Target> <target name="execute-cruise-control" description="Generate from scratch the installers and copy them in dist and generate the cobertura report" depends="svn-update,deploy-installers, execute-cobertura" />
|