ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@apache.org>
Subject Re: How to move invalid XML files to another folder
Date Tue, 09 Oct 2007 15:19:48 GMT
Mario Madunic wrote:
> Steve,
> 
> Thanks for insight.
> 
> That is too bad. Writing a new resource is beyond my talents at the moment (I'm
> a taker not a giver at the moment).
> 
> Just a thought. Would it be easier to change the fail task to allow more than a
> message (don't really know if it does more than this) and then allow fail to be
> a child of all tasks (where warranted)?
> 

<fail> is conditional; you can stick some condition inside it, and you 
can use the return value from a property as part of a test.  Do you need 
more than that?

-- 
Steve Loughran                  http://www.1060.org/blogxter/publish/5
Author: Ant in Action           http://antbook.org/

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


Mime
View raw message