http://ant.apache.org/projects.html#antcontrib


> -----Original Message-----
> From: Mattos, John [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 09, 2004 4:32 PM
> To: Ant Users List
> Subject: RE: Nested Variables in ANT?
> 
> 
> What are the external libraries needed and where might I find them?
> 
> Thanks for the help!
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, June 09, 2004 10:31 AM
> To: [EMAIL PROTECTED]
> Subject: RE: Nested Variables in ANT?
> 
> See FAQ
> http://ant.apache.org/faq.html#propertyvalue-as-name-for-property
> 
> Jan
> 
> > -----Original Message-----
> > From: Mattos, John [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, June 09, 2004 4:26 PM
> > To: ANT User List ([EMAIL PROTECTED])
> > Subject: Nested Variables in ANT?
> > 
> > 
> > Hi All
> > 
> >  
> > 
> > I'd like to use properties in a target that vary depending on 
> > a parameter
> > sent in... for example instead of
> > 
> >  
> > 
> > <target name="dev-target">
> > 
> >       <echo massage = "${location.dev}>
> > 
> > </target>
> > 
> > <target name="qa-target">
> > 
> >       <echo massage = "${location.qa}>
> > 
> > </target>
> > 
> >  
> > 
> > I have a variable called ${envir} and I'd like to do something like
> > 
> > <target name="general-target">
> > 
> >       <echo massage = "${location.${envir}}>
> > 
> > </target>
> > 
> >  
> > 
> > Can I do anything like this? It doesn't seem to like the 
> nested ${} 's
> > 
> >  
> > 
> > John 
> > 
> >  
> > 
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

Reply via email to