ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject Re: selecting empty directories
Date Wed, 20 Dec 2006 16:39:42 GMT
It might be easiest to write a custom File or Resource
selector.  Ant probably should ship with some way to
accomplish this however.  :|

-Matt

--- paul.arzul@sadalbari.com wrote:

> hi all,
> 
> how do you select empty directories/folders? (a
> directory which has no files or
> folders in it?)
> 
> i don't want to exclude them, i want to list and
> warn about them (so <copy
> includeEmptyDirs="no"> is no help).
> 
> i've tried dozens of options, faq, etc. and many
> convoluted attempts later, i'm
> left looking at what seems the most logical answer,
> but doesn't work:
> 
> <dirset dir="." id="empty.dirs">
>   <size value="0" when="equal" />
> </dirset>
> 
> since the size selector only applies to files. any
> advice?
> thanks,
> 
> - p
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> user-unsubscribe@ant.apache.org
> For additional commands, e-mail:
> user-help@ant.apache.org
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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


Mime
View raw message