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: how to create directories from a list?
Date Fri, 24 Sep 2004 06:14:02 GMT
See also http://www.jguru.com/forums/view.jsp?EID=1023167 .

Jan

> -----Urspr√ľngliche Nachricht-----
> Von: Simon Weatherill [mailto:simon@weatherill.org]
> Gesendet am: Donnerstag, 23. September 2004 20:23
> An: Ant Users List
> Betreff: Re: how to create directories from a list?
> 
> According to the Ant manual, mkdir *only* takes "dir". I'm 
> using Ant 1.5 
> and it complains if I don't include the "dir" directive.
> 
> Simon
> 
> jfuller@ruminate.co.uk wrote:
> 
> >"Dick, Brian E." <Brian.Dick@FMR.com> wrote ..
> >  
> >
> >>Check out the <for> task in ant-contrib.
> >>
> >>-----Original Message-----
> >>From: Simon Weatherill [mailto:simon@weatherill.org] 
> >>Sent: Thursday, September 23, 2004 1:45 PM
> >>To: user@ant.apache.org
> >>Subject: how to create directories from a list?
> >>
> >>
> >>I have a property set to a list of directories that I need 
> to create. 
> >>However, mkdir only supports a single directory and there 
> is no looping
> >>(I would rather use the stock Ant). Is there a way to do this?
> >>    
> >>
> >
> >doesnt mkdir support dirsets? hmmm not quite sure but this 
> might be a way to happiness.
> >
> >--Jim Fuller
> >
> >
> >  
> >
> >>Instead of:
> >>
> >>    <mkdir dir="${deploy}/pdf" />
> >>    <mkdir dir="${deploy}/tmp" />
> >>
> >>I would like to use (something like):
> >>
> >>    <property name="extra.dirs" value="pdf tmp" />
> >>    <mkdirs dirs="${extra.dirs}" root="${deploy}" />
> >>
> >>Any ideas?
> >>
> >>Thanks,
> >>Simon
> >>
> >>------------------------------------------------------------
> ---------
> >>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> >>For additional commands, e-mail: user-help@ant.apache.org
> >>
> >>------------------------------------------------------------
> ---------
> >>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> >>For additional commands, e-mail: user-help@ant.apache.org
> >>    
> >>
> >
> >  
> >
> >-------------------------------------------------------------
> -----------
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> >For additional commands, e-mail: user-help@ant.apache.org
> >
> 
> -- 
> Simon Weatherill
> home phone: 603-863-5015
> cell phone: 603-359-1071
> 
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message