ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject AW: Deleting multiple directories
Date Fri, 20 Jun 2003 07:03:26 GMT
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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message