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 17:21:20 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 j_a_fernandez@yahoo.com  2004-02-17 17:21 -------
I really think that we are solving here the wrong problem.
IMHO, the bug here is not with subant, which as a task to execute <targets>
should decide what to do based on BuildException.

To me the problem here is that the core code that executes <tasks>
ANY tasks, should catch any unhandle exception, e, and throw a corresponding
BuildException(e) in its place.

The point is that the invariant of the execution engine should be either to 
finish succesfully, or to throw a BuildException, anything else is a bug in 
CORE.

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


Mime
View raw message