ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Feller" <Emmanuel.Fel...@free.fr>
Subject Re: failonerror; general solution
Date Fri, 03 Oct 2003 14:43:59 GMT
I agree, it is a good option in my mind.

+1 :)

Emmanuel
----- Message d'origine ----- 
De : "Jan Schroeder" <jan-schroeder@gmx.net>
À : <dev@ant.apache.org>
Envoyé : vendredi 3 octobre 2003 16:38
Objet : failonerror; general solution


> 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
>
>



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


Mime
View raw message