ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 7231] - If <filtersfile>'s file is changed the <copy> tag does not copy files again with the new filter
Date Tue, 19 Mar 2002 20:26:18 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7231>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7231

If <filtersfile>'s file is changed the <copy> tag does not copy files again with
the new filter





------- Additional Comments From holtdl@yahoo.com  2002-03-19 20:26 -------
Couldn't you just use <uptodate> to check the filters file against the copied 
files, in combination with <copy>'s overwrite attribute?  Eg, something like:
<target name="copyfiles">
  <uptodate property="copy.overwrite"
            targetfile="${env.root}/ttr/src/confReplacement.properties">
    <srcfiles dir="${copy.dest.dir}" ... />
  </uptodate>
  <property name="copy.overwrite" value="false"/>
  <copy todir="${copy.dest.dir}" overwrite="${copy.overwrite}">
   ...
  </copy>
</target>

If you agree that's a reasonable solution, please close this bug. Thanks.

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


Mime
View raw message