ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <DDevie...@lgc.com>
Subject RE: How to avoid multiple <target unless= >
Date Tue, 03 Jun 2003 14:00:07 GMT
Best way to do this kind of thing is with <outofdate> from Ant-Contrib (on
SF.net). Trust me, if you make the effort of using it, you won't go back ;-)

--DD

> -----Original Message-----
> From: Thai Thanh Ha [mailto:thaiha@psv.com.vn]
> Sent: Friday, May 30, 2003 3:53 AM
> To: 'user@ant.apache.org'
> Subject: How to avoid multiple <target unless= >
> 
> 
>  Hi all,
> 
>  In my build file, I want to call <java> tasks only when some files are
> not
> uptodate. I know that I can call <uptodate> tasks to check  and define
> multiple targets (using <target unless="condition">). Is there any other
> way
> to avoid define multiple <target>s?
> 
>  Thanks,
>  Thai

Mime
View raw message