I have a properties file that is created at runtime of my ant script. And I want to access the property value from this generated property file.
For example,
Generated Property File:
first.prop=abcd second.prop=pqrs
and in the script, I try to access it like this,
I have a property name (which I want to get in the file of the generated property) from another property. This is the name.prop property. so,
<echo message="${name.prop}"/> <echo message="${${name.prop}}"/>
gives
first.prop ${${name.prop}}
as a conclusion, respectively. What could be the solution to this?
toshish
source share