Hi,
I need to read the value of a property from a file in an Ant script and strip off the first few characters. The property in question is
path=file:C:/tmp/templates
This property is store in a file that I can access within the ant script via
<property file="${web.inf.dir}/config.properties"/>
I have two questions:
- How do I read the single 'path' property from the loaded property file?
- How do I remove the leading 'file:' from the property value?
Ultimately, I'd like to have access to the following name-value pair within the Ant script:
path=C:/tmp/templates
Cheers, Don