Re: trying to commit not up-to-date files doesn't make the build fail

2012-04-06 Thread Maxime CARPENTIER
Yes the exit code is != 0, so the command should fail. I'm sure i'm doing something wrong here, i'll keep looking for my mistake thanxs for your help, Max On 2012-04-05, Maxime CARPENTIER wrote: > yes sorry i forgot to mention the failonerror attribute is set to true but > it still doesn't fai

Re: trying to commit not up-to-date files doesn't make the build fail

2012-04-05 Thread Stefan Bodewig
On 2012-04-05, Maxime CARPENTIER wrote: > yes sorry i forgot to mention the failonerror attribute is set to true but > it still doesn't fail Well, it's been quite some time since I last used CVS, so I'm not sure about the details and don't have any CVS repo around to test. Ant will fail if "cvs

Re: trying to commit not up-to-date files doesn't make the build fail

2012-04-05 Thread Maxime CARPENTIER
Hi Stefan, yes sorry i forgot to mention the failonerror attribute is set to true but it still doesn't fail Max On 2012-04-05, Maxime CARPENTIER wrote: > this command works well except for one thing : it doesn't fail if someone > else changes and commit files i want to commit just before th

Re: trying to commit not up-to-date files doesn't make the build fail

2012-04-05 Thread Stefan Bodewig
On 2012-04-05, Maxime CARPENTIER wrote: > this command works well except for one thing : it doesn't fail if someone > else changes and commit files i want to commit just before the command > commit : [snip] > Only a "commit aborted" message shows off, but the build stays > successful... Does it

trying to commit not up-to-date files doesn't make the build fail

2012-04-05 Thread Maxime CARPENTIER
Hello list, i'm having trouble using the cvs commit command via ant : this command works well except for one thing : it doesn't fail if someone else changes and commit files i want to commit just before the command commit : [cvs] cvs commit: Examining . [cvs] cvs commit: Up-to-d