ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geoff Meakin" <geo...@isocra.com>
Subject ANT hanging
Date Wed, 22 May 2002 14:21:44 GMT
Hi,

Im trying to replace text in files as they are copied using <filtersets>-
however for good reasons, the text I
am trying to replace is not surrounded by markers such as "@" so I'm using
begintoken="" endtoken=""
This is causing ANT to hang and not complete the task.. (this might be a
known bug?)
Am I doing this the correct way? Is there a better way to do it (within the
copy task, not using replace)? I am unable to use ANT1.5b1 at the moment due
to build file incompatability problems.

Code Extract:

<copy todir="${release}/build/xml">
  <fileset dir="${home}/build/xml">
    <patternset id="release-2.1">
       ..various includes
    </patternset>
  </fileset>
  <filterset begintoken="" endtoken="">
    <filter token="from1" value="to1"/>
    <filter token="from2" value="to2"/>
    <filter token="from3" value="to3"/>
    <filter token="from4" value="to4"/>
  </filterset>
</copy>

Acting on xml files which contain strings such as:
fjalsfkjfas-from1.xml
fajksfeirui.from1new-sh

etc..

Thanks in advance
-Geoff



--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message