--- Dominique Devienne <[EMAIL PROTECTED]> wrote: > > <delete includeemptydirs="true"> > > <fileset dir="test"> > > <or> > > <filename name="**/*.ini" /> > > <type type="dir" /> > > </or> > > </fileset> > > </delete> > > That's a good solution Matt. Gets rid of test3.
If I was understanding the test2 scenario correctly, i.e. test2 doesn't get deleted because it's not empty until test3 is deleted for being empty, I *think* this will work as expected in HEAD. I did some things in there specifically to sort directories such that children would be encountered before their parents IIRC. And I seem to remember thinking that something related to this would delete more than the current release. -Matt > > FTR, I'm a strong proponent of generating all build > output into a > single dir (I use the build/ dir myself), and never > anywhere in the > source tree or any dir under SCM, so I never have to > pick and choose > what to delete and how. I just nuke that one dir to > remove all > generated build products (clean target), with no > fear to delete by > mistake other files. --DD > > --------------------------------------------------------------------- > 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]