ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@bost.de>
Subject Re: failonerror attribute for javac?
Date Mon, 30 Oct 2000 10:03:23 GMT
>>>>> "JM" == James Manning <jmm@computer.org> writes:

 JM> I was going to do an "ant && java ..." but there doesn't appear
 JM> to be a failonerror attribute for javac.

I'm not sure I understand what you are talking about.

If <javac> fails, Ant will throw a BuildException internally and exit
with exit code 1. If there is no build exception, it will exit with
exit code 0. At least this is true for Ant 1.2 and it works on Linux.

Stefan

Mime
View raw message