On Tue, Jan 25, 2011 at 3:32 PM,  <[email protected]> wrote:
> Then I pass in this command line argument to my script "-Denv=...".  So, in 
> my ant script, how do I dynamically access a property using the ${env} param? 
>  For example, if "-Denv=dev" is passed in to the command line, what is a 
> generic way of accessing the property, "dev.baseurl"?

See http://ant.apache.org/faq.html#propertyvalue-as-name-for-property

Thanks, --DD

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to