Hi,
I have a property file with an entries like:
atk-1.26.0.exported.base.dir=/path/to/atk/1.26.0
atk-1.27.0.exported.base.dir=/path/to/atk/1.27.0
In my build file I want to be able to refer to this property with a version-independent name like "atk.base.dir"
I load the property file, to get the properties "atk-1.2x.0.exported.base.dir"
I set another property "atk.version" to a value of "1.26.0"
How do I combine these to get the new property "atk.base.dir".
E.g. I want to double dereference a property:
atk-1.26.0.exported.base.dir
atk-1.27.0.exported.base.dir
I tried to do it with
But that doesn't work because the loaded property does not have an id, only a name, so the refid lookup fails.
I just want to set my external dependency versions in one place!
It cannot be that hard!
All help gratefully received!
TOM DALTON
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org