ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject Re: Set a property is source files exist.
Date Mon, 29 Mar 2004 15:23:23 GMT
--- Peter Reilly <peter.reilly@corvil.com> wrote:
> You can use a mixture of pathconvert and condition:
> 
>     <mkdir dir="nofiles"/>
>     <fileset id="empty" dir="nofiles"
> includes="**/*.java"/>
>     <pathconvert property="nofiles.files"
> refid="empty" targetos="unix"/>

Or, use setonempty="false" with <pathconvert> and skip
the <condition>... ;)

-Matt

__________________________________
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html

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


Mime
View raw message