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 4633] - Global filtering via "filtering" attribute does not work with copy task
Date Mon, 05 Nov 2001 03:28:56 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=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

conor@cortexebusiness.com.au changed:

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



------- Additional Comments From conor@cortexebusiness.com.au  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:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message