Hi all, I've come across this frustrating little problem in Ant1.5b1 and was wondering if it could and/or should be fixed in the next release of Ant.
I have a number of temporary directories the following directory structure: topdir/dirA/tmpdir topdir/dirB/tmpdir topdir/dirC/tmpdir I thought I could delete all the tmpdirs with this Ant task: <delete includeEmptyDirs="true"> <fileset dir="topdir" includes="**/tmpdir"/> </delete> but this does nothing. Then I tried this (notice the additional /* in the includes attribute): <delete includeEmptyDirs="true"> <fileset dir="topdir" includes="**/tmpdir/*"/> </delete> and finally this (removed the * from the above task): <delete includeEmptyDirs="true"> <fileset dir="topdir" includes="**/tmpdir/"/> </delete> This last one did what I wanted, which was to delete the tmpdirs and all their contents from each of dirA, dirB and dirC. Is it just me, or should the first of these three examples done the same thing? Thanks, Mark. --- Mark Reid Proxima Technology, Inc. http://www.proxima-tech.com