ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peter reilly <peter.rei...@corvil.com>
Subject Re: failonerror; general solution
Date Fri, 03 Oct 2003 15:00:02 GMT
On Friday 03 October 2003 15:54, Dominique Devienne wrote:
> > -----Original Message-----
> > From: Jan Schroeder [mailto:jan-schroeder@gmx.net]
> >
> > 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.
>
> Not a bad idea! I would just make that:
>
> <sequential failonerror="false" failureproperty="pea.failed">
>   <patch ... />
>   <echo ... />
>   <antcall ... />
> </sequential>
>
> No new task, but simply a very useful extension to an existing task
> container. --DD

This whould make the seqential task actually useful..

Peter


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


Mime
View raw message