ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mariano Kamp <>
Subject Filter
Date Fri, 12 Jan 2001 15:21:13 GMT
Hi there,

  sorry for bothering you guys, but I am stuck with the filter and don't know
here to look at. The documentation was very helpful here..

  Anyway ... I am trying to use a filter like this:

  <target name="filter_web.xml">
    <filter token="dburl" value="xx"/>
    <filter token="dbdriver" value="${}"/>
    <filter token="dbuid" value="${}"/>
    <filter token="dbpw" value="${}"/>
    <filter token="zz" value="xx"/>
    <copy file="${sourceConfig}/web.xml" tofile="${tmpDir}/web.xml" />

  As you can see with variables and constant values ...

  A portion of the file to be expanded looks like this:


  The tokens aren't expanded in the target file and I don't have a clue why?!

  There is another thing I was wondering ... What is the scope of a filter?

Any help will be apreciated ...



View raw message