|
From: Luke T. <ne...@fr...> - 2003-12-23 23:47:18
|
Thanks Alef. I'll try that out. Looking at the code for the CC scheduler, though, I think you have to put the multiple="1" builder last or it'll be used each time (because 1 divides any number) and any additional builders will be ignored. I've also hacked the xsl to remove most of the output apart from build errors. I'll leave it running over the holiday period and if it seems happy enough I'll get it to mail failures to the list. cheers, Luke. Alef Arendsen wrote: > > No problem. You can have multiple AntBuilder elements in your config > file. For instance like this: > > <antbuilder target="clean build" mulitple="5"/> > <antbuilder target="build"/> > > Then it'll do a clean build every five builds (the other builds are > normal ones). > > When using the MavenBuilder, you can do the same thing. OF course if > you're builing hourly, the clean-build should have a multiple attribute > of 24 (or 23, I never know ;-): > > <mavenbuilder goal="maven:distribute" multiple="1"/> <!-- multiple = 1 > by default --> > <mavenbuilder goal="clean maven:distribute" multiple="5"/> > > Should do the trick... > > Alef > -- Luke Taylor. Monkey Machine Ltd. PGP Key ID: 0x57E9523C http://www.monkeymachine.ltd.uk |