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=4633>.
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=4633

Global filtering via "filtering" attribute does not work with copy task

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From [EMAIL PROTECTED]  2001-11-04 19:28 -------
> allow <filterset idref="filterconf"/> in copy..
> would that be too much bloat?


I believe that should work already. I added that when I committed it. Checkout 
Ant's own build file - here is a snippet.

    <copy todir="${build.classes}" 
          overwrite="true">
      <fileset dir="${java.dir}">
        <include name="**/version.txt" />
        <include name="**/defaultManifest.mf" />
      </fileset>
      <filterset refid="ant.filters"/>
    </copy>

To the original poster - if you want global filters, use the <filter> task and 
not filtersets. You get less "bloat" but less control over which filters are 
applied to which copy operations. Also, can you let me know where the 
documentation describes this and I'll double check it.

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

Reply via email to