ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peter reilly <peter.rei...@corvil.com>
Subject Re: AW: Deleting multiple directories
Date Fri, 20 Jun 2003 08:29:52 GMT
Here is an initial patch for a path element to delete.

I am not sure what to do with the "includeemptydirs" attribute.

Peter

On Fri, 2003-06-20 at 08:03, Jan.Materne@rzf.fin-nrw.de wrote:
> The only way I know is using AntContrib´s <foreach>.
> Not fine - but works.
> 
> I had the same problem and so it´s on my todo list: adding a nested <path>
> to <delete> (like
> <foreach> does). But I hadn´t a look into the sources so far ...
> 
> 
> Jan
> 
> 
> 
> > -----Ursprüngliche Nachricht-----
> > Von: Neil Walsh [mailto:marvin@Redbrick.DCU.IE]
> > Gesendet am: Mittwoch, 18. Juni 2003 17:48
> > An: user@ant.apache.org
> > Betreff: Deleting multiple directories
> > 
> > 
> > Hi,
> > 
> > I have a list of directories that I want to delete. I figured 
> > the easiest way
> > to do this would be to use the dirset element and nest that 
> > within the delete
> > task. However I get an error saying that delete doesn't 
> > support the nested
> > dirset element. I've since tried various methods with delete 
> > but with no joy.
> > 
> > These are specific directory names ie I'm not using pattern 
> > sets to specify
> > them. I know I could go <delete dir="name">, but I was hoping 
> > to automate the
> > task somewhat so that it could do it with a list of comma seperated
> > directories read in off a file.
> > 
> > Any ideas?
> > 
> > Thanks,
> > Neil
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> > For additional commands, e-mail: user-help@ant.apache.org
> > 

Mime
View raw message