ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nissea <nils....@ngai.se>
Subject Check if a directory is empty
Date Tue, 09 Oct 2007 16:15:13 GMT

Hi

I would like to check if a directory is empty and not include any files, and
if it is empty I would like to do something and if it's not I would like to
do another thing, quite like an If-statement? Does anyone know how to do
this?

regards
Nils
-- 
View this message in context: http://www.nabble.com/Check-if-a-directory-is-empty-tf4595246.html#a13118887
Sent from the Ant - Users mailing list archive at Nabble.com.


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


Mime
View raw message