ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject RE: Indirect referencing a property by the value of another prope rty
Date Tue, 09 Dec 2003 16:53:42 GMT
Good idea.
Done in CVS_HEAD and ANT_16_BRANCH.


Jan

> -----Original Message-----
> From: Shatzer, Larry [mailto:Larry.Shatzer@Spirent.com]
> Sent: Tuesday, December 09, 2003 5:16 PM
> To: 'Ant Users List'
> Subject: RE: Indirect referencing a property by the value of another
> prope rty
> 
> 
> With as often as this comes up, should we put this in the FAQ's?
> 
> -- Larry
> 
> > -----Original Message-----
> > From: Jan.Materne@rzf.fin-nrw.de [mailto:Jan.Materne@rzf.fin-nrw.de]
> > Sent: Tuesday, December 09, 2003 7:08 AM
> > To: user@ant.apache.org
> > Subject: RE: Indirect referencing a property by the value of another
> > prope rty
> > 
> > 
> > a) without any external
> > You canĀ“t
> > 
> > b) with <script> (needs libraries)
> >    propnameValue = project.getProperty("prop-name");
> >    project.setNewProperty("prop", propnameValue);
> > 
> > c) with AntContrib (external task library)
> >    <propertycopy name="prop" from="${prop-name}"/>
> > 
> > 
> > Jan
> >    
> > 
> 
> ---------------------------------------------------------------------
> 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