Hi Benoit,

This kind of question are obviouslly related to CruiseControl. You will have
a better chance if posting
to the mailing list [EMAIL PROTECTED]

FYI You must give the path to your file that does email mapping and do a
<tstamp/> in ant.

Cheers,

-- 
 Stéphane Bailliez 
 Software Engineer, Paris - France 
 iMediation - http://www.imediation.com 
 Disclaimer: All the opinions expressed above are mine and not those from my
company. 



> -----Original Message-----
> From: LE-RUBRUS,BENOIT (Non-HP-France,ex1)
> [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 25, 2001 3:23 PM
> To: [EMAIL PROTECTED]
> Subject: cruise control and ant
> 
> 
> hi all
> 
> on monday, I posted a request to ant-user mailing list about how to
> configure cruise control with ant. thanks for Steve's answer 
> that really
> helped me. 
> I couldn't perform yet my whole cruise control process...
> my new question is about configuration and the java command line.
> I tried to launch:
> 
> java CruiseControl -lastbuild 20010424000000 -label 0.1 -properties
> cruisecontrol.properties
> 
> here is the result:
> ###################################################################
> [masterbuild] ***** Starting automated build process *****
>  [masterbuild] ***** Starting Build Cycle [masterbuild] ***** 
> Label: 0.1
>  [masterbuild] ***** Last Good Build: 20010424000000
>  [masterbuild] 
> 
>  -- listing properties -- 
> buildinterval=1200 
> debug=true 
> cleantarget=clean
>  auxlogfiles=modificationset.file, cruisecontrol.p... 
> servletURL= cleanBuildEvery=1 
> currentBuildStatusFile=g:\bw\protoCruise\build\buildStatus.htm 
> verbose=true 
> antfile=g:\bw\protoCruise\build\build.xml 
> emailmap= 
> target=masterbuild 
> returnAddress=
>  mailhost=dfhsggh.hp.com
>  [EMAIL PROTECTED]
>  notifyOnFailure=
> 
>  Ant version 1.3 compiled on March 2 2001 
>  Ant version 1.3 compiled on March 2 2001
>   Buildfile: g:\bw\protoCruise\build\build.xml 
> Detected Java Version: 1.3
>  Detected OS: Windows 2000 
> parsing buildfile g:\bw\protoCruise\build\build.xml with URI =
> file:g:/bw/protoCruise/build/build.xml Project base dir set to:
> G:\BW\protoCruise\build 
>  [property] Loading G:\BW\protoCruise\build\protocruise.properties
>   [property] Override ignored for lastGoodBuildTime Build sequence for
> target `clean' is [clean] Complete build sequence is [clean, 
> war, jar, dev,
> modificationset, test, prepare, setdeploy, compile, runtests, all,
> masterbuild, compiletests]
> 
>   clean:  BUILD SUCCESSFUL  Total time: 3 seconds
> 
>  [masterbuild] List of emails is: null 
> Datestamp and timestamp are not set. The ANT tstamp task must 
> be called
> before MasterBuild will work.
> 
>  java.lang.NullPointerException       at
> net.sourceforge.cruisecontrol.MasterBuild.emailReport(MasterBu
> ild.java:519)
> at 
> net.sourceforge.cruisecontrol.MasterBuild.execute(MasterBuild.
> java:266)
> at 
> net.sourceforge.cruisecontrol.MasterBuild.main(MasterBuild.java:117)
> at CruiseControl.main(CruiseControl.java:13)
> ###################################################################
>  
> I don't know (if I must or not) where to set $lastGoodBuildTime.
> I 'm not sure of the -properties argument on the java command line...
> 
> perhaps someone could send me a link to a whole configuration 
> and process
> example, or to explain me his.
> 
> thanks
> 
> benoit
> [EMAIL PROTECTED]
> 

Reply via email to