Stefan Bodewig wrote:

> Glenn McAllister <[EMAIL PROTECTED]> 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.

Reply via email to