Wen using the current phing cruisecontrol builder plugin, the cvstimestamp property is incorrectly escaped for commandline usage with phing. I have looked into the sourcecode and it seems to be a problem, concerning phing only... I wrote a little patch here, it simply formats the cvstimestamp property just before it is handed over to the createArgument function in the function build from PhingScript.
Some extra information:
Product versions
- cruisecontrol 2.6.1
- phing 2.3.0beta1
phing -listener phing.listener.XmlLogger -DXmlLogger.file=log.xml -Dcclastbuildtimestamp=20070416000000 -Dlabel=build.1 -Dcclastgoodbuildtimestamp=20070416000000 -Dlastbuildsuccessful=true "-Dcvstimestamp=2007-04-16 09:27:04 GMT" -Dcctimestamp=20070416102704 -buildfile build.xml init
[cc]Apr-16 10:27:04 ScriptRunner - Buildfile: /home/pvree/projects/atos-origin/ictu/continuous_builds/trunk/build.xml
[cc]Apr-16 10:27:05 ScriptRunner -
[cc]Apr-16 10:27:05 ScriptRunner - BUILD FAILED
[cc]Apr-16 10:27:05 ScriptRunner - Target '09:27:04' does not exist in this project.
[cc]Apr-16 10:27:05 ScriptRunner - Total time: 0.4189 seconds
[cc]Apr-16 10:27:05 ScriptRunner -