It might be easiest to write a custom File or Resource selector. Ant probably should ship with some way to accomplish this however. :|
-Matt --- [EMAIL PROTECTED] 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: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]