Better to post this to the cruise control list, perhaps.
But, here's an example:
in my .properties file, I have
target=masterbuild
in my build.xml, I have this:
<target name="masterbuild" depends="modificationset,cleanclasses,all"
description="Build used for masterbuild." />
And then I have these targets:
<target name="modificationset">
<property name="modificationset.file"
value="${masterbuild.logdir}/modificationset.xml" />
<modificationset lastbuild="${lastGoodBuildTime}"
quietperiod="300"
dateformat="yy-MM-dd hh:mm:ss a z"
emailsuffix="@lgc.com">
<cvselement localworkingcopy="."
cvsroot=":pserver:[EMAIL PROTECTED]:/net/houfiler02/vol/vol2/cvs/tahoe
" />
</modificationset>
</target>
<target name="cleanclasses" description="Removes classes directory.">
<!-- Delete the ${classes} directory tree -->
<delete dir="${classes}" quiet="true"/>
</target>
<target name="all" depends="init,version,junit,dist" description="Builds
everything, not clean"/>
-----Original Message-----
From: LE-RUBRUS,BENOIT (Non-HP-France,ex1)
[mailto:[EMAIL PROTECTED]]
Sent: Monday, April 23, 2001 9:48 AM
To: [EMAIL PROTECTED]
Subject: cruise control and ant
hi all
has anybody integrated cruise control for a continuous integration ?
you have to edit a cruise.properties file in which you set the target you
wish to execute...has anybody got a simple example ? I don't understand yet
which task cruise control expects.
thanks
benoit