ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: trying to commit not up-to-date files doesn't make the build fail
Date Fri, 06 Apr 2012 05:01:43 GMT
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-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message