I need to replace a token with a property. That property has a path location set. I am not getting it as it is just replacing it with the $
<replace file="${APACHE_HOME}/conf/wc_server1.conf" >
<replacetoken>@Install_Base_Directory@</replacetoken>
<replacevalue>$InstallerBase</replacevalue>
You basically have two options:
or since it's only a single line replace, use:
When using Ant properties you must enclose the property name in curlies
{...}
to get at the value: