ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Donie <sdo...@zycor.lgc.com>
Subject RE: cruise control and ant
Date Mon, 23 Apr 2001 20:01:39 GMT
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:renobuild@boson.lgc.com:/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:benoit_le_rubrus@non.hp.com]
Sent: Monday, April 23, 2001 9:48 AM
To: ant-user@jakarta.apache.org
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

Mime
View raw message