ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Schroeder <jan-schroe...@gmx.net>
Subject failonerror; general solution
Date Fri, 03 Oct 2003 14:38:27 GMT
There are a few new entries in bugzilla regarding handling of 
BuildExceptions.
    http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23540
    http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23581

Also, some tasks already implement some "failonerror" attribute (e.g. 
<java>).

What about creating a container task instead.
Like:

<nofail failureproperty="part.failed">
    <patch .../>
    <echo ../>
    <antcall />
</nofail>

That way all tasks automatically have something like "failonerror" + you 
actually know if the part failed and can take an appropriate build path 
from here on.


Jan


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


Mime
View raw message