ector",
EmptyDirSelector.class);
bonjour
> --- Ursprüngliche Nachricht ---
> Von: Juergen Damke <[EMAIL PROTECTED]>
> An: "Ant Users List"
> Betreff: Only deleting an empty directory (-tree)
> Datum: Mon, 30 May 2005 09:16:29
t;[EMAIL PROTECTED]>
> An: "Ant Users List"
> Betreff: Only deleting an empty directory (-tree)
> Datum: Mon, 30 May 2005 09:16:29 +0200
>
> I'm searching for a task which traverses a directorytree and removes
> all empty directories, but leaves those which h
I'm searching for a task which traverses a directorytree and removes
all empty directories, but leaves those which have any contents.
Should work unter *NIX and Windows, so a java Task is preferred.
Mit freundlichen Grüßen / With best regards
Jürgen Damke
Portal Automated Function Verification T
Do you know about selectors? with a fileset with appropriate
selectors should be able to do the job. Note though that it probably
does do a depth-first recursion, so won't remove dirs who become empty
because the empty dirs they contained were removed. contains
code to do just that, but it's not
I'm searching for a task which traverses a directorytree and removes
all empty directories, but leaves those which have any contents.
Should work unter *NIX and Windows, so a java Task is preferred.
Mit freundlichen Grüßen / With best regards
Jürgen Damke
Portal Automated Function Verification T