You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Upayavira <uv...@upaya.co.uk> on 2003/11/17 11:12:27 UTC
Property resolution in a task
In Cocoon we have an Ant task for patching our config files.
I'd like to extend this to be able to expand properties found in the
patch files.
How can I, in a Task, expand properties within a String?
For example, if I have a string that says "${local.mounttable}", I want
to replace it with the value of local.mounttable that has been taken
from our property file.
Thanks for any help.
Regards, Upayavira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org