Example input:
SERVER_NAME=server1
PROFILE_NAME=profile1
...
Example output:
SERVER_NAME=server3
PROFILE_NAME=profile3
...
This file will use in applicationContext.xml
. I've tried
<copy file="${web.dir}/jexamples.css_tpl"
tofile="${web.dir}/jexamples.css" >
<filterchain>
<replacetokens>
<token key="SERVER_NAME" value="server2"/>
<token key="PROFILE_NAME" value="profi"/>
</replacetokens>
</filterchain>
</copy>
but it doesn't work.