ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John McCormick" <john.mccorm...@wavebend.com>
Subject Does ant <filter> work?
Date Thu, 14 Dec 2000 18:43:01 GMT
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 <mailto:john.mccormick@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.



Mime
View raw message