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 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 foo" returns a failure (an exit code != 0 on Unix
or Windows), so most likely "cvs commit" doesn't do that in your case.
Can you run the commit command on the command line and verify the exit
code?

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org


Reply via email to