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 25581] New: - "file" attribute in "fileset" leads to lost dir tree
Date Wed, 17 Dec 2003 08:01:44 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=25581>.
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=25581

"file" attribute in "fileset" leads to lost dir tree

           Summary: "file" attribute in "fileset" leads to lost dir tree
           Product: Ant
           Version: 1.6Beta
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: vladzotov@nm.ru


Hi!

Ant 1.6 beta3 is used.

Suppose we have such a task:

<jar destfile="c:\temp\apm.jar">
  <fileset file="dir\dir2\file.ext"/>
  <fileset dir="Same as at the project level">
    <include name="dir\dir2\file2.ext"/>
  </fileset>
<jar>

After work is done we have "file.ext" in the root of the jar-file
and "file2.ext" in "dir/dir2" subdir.


Maybe I misunderstood the meaning of the "file" attrribute, but I expected they
are both in "dir/dir2" subdir. 

The same in <copy> task. 

P.S. Having a chance, I'd like to thank the developers for the great work. Ant
is a Very Big Thing!!! :)

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


Mime
View raw message