ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glenn McAllister <gl...@somanetworks.com>
Subject Re: [Fwd: Bug with <delete includeEmptyDirs> ?]
Date Wed, 14 Mar 2001 13:51:49 GMT
Stefan Bodewig wrote:

> Glenn McAllister <glenn@somanetworks.com> wrote:
>
> > When I'm chosing what directories to delete, I'm using the
> > DirectoryScanner.getIncludedDirs method.  The assumption is that
> > since we are using a fileset, we should only try to delete matching
> > empty directories.  The funny thing is, if the match pattern is
> > "**" (which seems to be a pretty common case), only leaf
> > directories are returned as a match.
>
> Looked into it. DirectoryScanner is right 8-) you just get the
> directories in an order you didn't expect.

Ah, that would explain it.

> I've reversed the order in which Delete tries to remove the
> directories - and it works now.

Thanks for fixing this.

Mime
View raw message