ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ken Gentle <>
Subject Filter files "in place"?
Date Wed, 21 May 2003 15:49:27 GMT
OK folks, I RTFM'd and searched the archives, but don't have an answer.

How do I Filter a file "in place"?  In other words, the input file and the 
output file are the same.

When I use the following:

     <copy todir="${release.notify.dir}" filtering="true" overwrite="true">
       <fileset dir="${release.notify.dir}">
         <include name="Notify-Request-Submissions.txt" />
         <filter token="release-build-time" value="${release.buildtime}" />
         <filter token="release-submission-deadline" 

I get the following message:

      [copy] Copying 1 file to S:\shared\2003-TEST\QA\TEST-01\notifications
      [copy] Skipping self-copy of 

So the filtering I really want doesn't happen.

Am I going to have to resort to two files?



View raw message