DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39934>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39934

           Summary: Ant copy with filters is not regenerating new target
                    files
           Product: Ant
           Version: 1.6.5
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]
                CC: [EMAIL PROTECTED]


If the <filtersfile file="" /> is changed, ant should regenerate new copies.

My copy filter target below:

<!-- Copy config files to the temp directory, replacing tokens as required -->
<copy todir="${pkg.config.dir}">
  <fileset dir="${pkg.source.dir}" />
  <filterset>
    <filtersfile file="${env.props.dir}/${target.env}.properties"/>
  </filterset>
</copy>

Only with the overwrite="true" on the <copy /> task will force a regeneration of
the files.  I am not sure this is the intention of the overwrite attribute.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to