ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <DDevie...@lgc.com>
Subject RE: failonerror; general solution
Date Fri, 03 Oct 2003 14:54:00 GMT
> -----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

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


Mime
View raw message