Re: Only deleting an empty directory (-tree)

2005-05-30 Thread Antoine Levy-Lambert
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

Re: Only deleting an empty directory (-tree)

2005-05-30 Thread Antoine Levy-Lambert
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

Only deleting an empty directory (-tree)

2005-05-30 Thread Juergen Damke
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

Re: Only deleting an empty directory (-tree)

2005-05-26 Thread Dominique Devienne
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

Only deleting an empty directory (-tree)

2005-05-25 Thread Juergen Damke
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