> -----Original Message----- > From: berndq [mailto:[EMAIL PROTECTED] > Sent: lundi 15 août 2005 21:43 > To: Maven Users List > Subject: cruisecontrol's config.xml at default location gets deleted by > build loop > > > All, > > according to > http://maven.apache.org/reference/plugins/cruisecontrol/properties.html > the default filename for CC config file is > ${maven.build.dir}/cruisecontrol/config.xml. > > IMHO this is a bit problematic as during the build loop the build.dir > is deleted: > clean:clean: [delete] Deleting directory /XXXXX/target > and the config file is lost, resulting in errors from CC. > > Is this a bug or is the user supposed the change the default value?
The default value was set on purpose. That's the only temporary place we can assume (we could use some user temp location but that would be too much magic I think). If you want to keep the config file, change the default value. In any case you need to install the generated config file in your runtime location (which could possible be on a different machine). There's a cc:install-local goal to install the config file to a location on your disk. -Vincent --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
