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 33151] - fileset with attributes does not the same as fileset with nested elements
Date Tue, 18 Jan 2005 14:53:53 GMT
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=33151>.
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=33151





------- Additional Comments From peterreilly@apache.org  2005-01-18 15:53 -------
I do not see this behaviour on linux.
Try the build script:
<project default="bug">
  <target name="bug">
    <delete quiet="yes" dir="lib"/>
    <delete quiet="yes" file="includes.txt"/>
    <mkdir dir="lib"/>
    <echo file="includes.txt">
lib\component.tar
lib\component.jar
</echo>      
    <touch file="lib/component.jar"/>
    <touch file="lib/component.tar"/>
    <delete quiet="yes" dir="target"/>
    <copy todir="target">
      <fileset includesfile="includes.txt" dir="." excludes="**/*.jar"/>
    </copy>
    <delete quiet="yes" dir="target"/>
    <copy todir="target">
      <fileset includesfile="includes.txt" dir=".">
        <exclude name="**/*.jar"/>
      </fileset>
    </copy>
    
  </target>
</project>

In both cases only one file is copied to the target directory.

-- 
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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message