So I have something like code below
<target name="testIt">
<property name="appname" value="ApplicationOne"/>
<property name="ApplicationOne-serveraddress" value="http://ApplicationOne.com"></property>
<property name="ApplicationTwo-serveraddress" value="http://ApplicationTwo.com"></property>
<echo message="${${appname}-serveraddress}"></echo>
</target>
Is there a way to do it? obviously, this doesn’t work
This blog post about using antlib props in ant helped me with Nesting of Braces basically you have to download the jar and include
Dont forget the xmlns. I downloaded the jar here