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 33049] - zip (and jar) produces broken archives when duplicated file is taken from two places.
Date Tue, 11 Jan 2005 19:25:30 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=33049>.
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=33049





------- Additional Comments From ant@kruithof.xs4all.nl  2005-01-11 20:25 -------
The fault is reproducible as long as two files have the same name in the archive.
The two files need not be the same, the two files need not be 16 bytes long.

For instance the file 

<?xml version="1.0" encoding="iso-8859-1"?>
<project name="test" default="j">
  <target name="j">
    <delete file="aaa.zip"/>
    <copy file="aaa" tofile="bbb"/>
    <zip zipfile="aaa.zip">
      <zipfileset file="aaa" fullpath="path/to/file"/>
      <zipfileset file="build.xml" fullpath="path/to/file"/>
    </zip>
  </target>
</project>

gives similar errors (but more).

-- 
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