Loading...

user@ant.apache.org

[Prev] Thread [Next]  |  [Prev] Date [Next]

Re: trying to commit not up-to-date files doesn't make the build fail Stefan Bodewig Thu Apr 05 22:00:48 2012

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]