ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject Re: check for empty directory
Date Mon, 29 Mar 2004 15:34:27 GMT
--- T E Schmitz <mailing@numerixtechnology.de> wrote:
> Hello,
> 
> How can I check whether a directory is empty and set
> a property accordingly?
> 

As noted in an ongoing thread entitled something like
"how to set a property is source files exist", you can
use <pathconvert property="x" pathsep=" "
setonempty="false"><path><fileset dir="somedir"
/></path></pathconvert>.

-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