You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by John McCormick <jo...@wavebend.com> on 2000/12/14 19:43:01 UTC
Does ant work?
Does anyone know how to use the <filter> token?
It seems very simple in the documentation, but it doesn't seem to work for me.
Below is some code taken from my ant build.xml file:
===================================
<filter token="DB_NAME" value="dev" />
<copy file="${project_home}/weblogic.properties.tmpl" tofile="${project_home}/weblogic.properties" filtering="yes">
</copy>
====================================
I thought it would replace every occurance of "@DB_NAME@" and replace it with "dev" in the target file being copied.
Do you know what I am doing wrong?
Thanks,
John McCormick
john.mccormick@wavebend.com <ma...@wavebend.com>
John Marc McCormick
Manager, Midwest Region
Wavebend Solutions
233 N. Michigan Ave., Suite 2500
Chicago, IL 60601
T: 312-233-1881
F: 312.856-1314
Dynamic Solutions. Sustainable Results.