ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 27007] - subant task fails even if failonerror="false"
Date Tue, 17 Feb 2004 14:36:11 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27007>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27007

subant task fails even if failonerror="false"





------- Additional Comments From antoine@apache.org  2004-02-17 14:36 -------
The subant documentation says this : failonerror   	 Sets whether to fail with a
build exception on error, or go on.

Setting failonerrror to false in practice 
 * catches instances of org.apache.tools.ant.BuildException 
 * does not make the build fail if there is/are build file(s) missing in the
build path
  * does not catch RuntimeException(s)
The keepgoing (ant -k) feature allows you to go on in case of RuntimeExceptions.

I would go for updating the doc and leaving the code alone.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message