|
From: Alef A. <al...@jt...> - 2003-12-23 14:51:53
|
> I've got it on hourly builds at the moment while I'm > tinkering with it. > It's also just doing an update but I'd like to do a clean > build at least > once a day. Perhaps Alef can help with that as he said he's pretty > familiar with CC. 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 |