Bug 45429 - the zip package should support "more modern" zip features
Summary: the zip package should support "more modern" zip features
Status: RESOLVED FIXED
Alias: None
Product: Ant
Classification: Unclassified
Component: Compress Antlib (show other bugs)
Version: 1.0
Hardware: All All
: P2 enhancement (vote)
Target Milestone: 1.1
Assignee: Ant Notifications List
URL: http://www.info-zip.org/doc/appnote-i...
Keywords:
: 45548 (view as bug list)
Depends on:
Blocks: 42940
  Show dependency tree
 
Reported: 2008-07-18 01:34 UTC by Stefan Bodewig
Modified: 2012-04-22 16:30 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Bodewig 2008-07-18 01:34:27 UTC
Ant's code has been written against the 970311 spec with an eye on InfoZIP's C implementation for zip 2.x.  The latest version is 20040528 with six or seven revisions between the two.

zip 3.x introduces a different support mechanism for UTF-8 encoded filenames that probably should be detected by Ant and taken as a hint to not use native encoding.  It also has support for files bigger than 2 GByte and some other stuff.

Since an archive using that features will require a recent client to extract, we should probably only create archives using them when specifically asked for it - but the archive reading code should detect and support them.
Comment 1 Stefan Bodewig 2008-08-06 06:25:39 UTC
*** Bug 45548 has been marked as a duplicate of this bug. ***
Comment 2 Stefan Bodewig 2008-08-06 06:27:01 UTC
bug 45548 contains an (not yet reviewed) patch for the UTF-8 flag
Comment 3 Stefan Bodewig 2009-02-10 08:43:50 UTC
https://issues.apache.org/jira/browse/SANDBOX-176 is commons-compress' part of this issue
Comment 4 Stefan Bodewig 2011-08-04 16:11:50 UTC
ZIP64 is slowly but steadily coming to Commons Compress https://issues.apache.org/jira/browse/COMPRESS-36

Once that is released the Compress Antlib will work for big archives (the encoding stuff has been covered already anyway).  I don't expect the changes required to get ported back to Ant.

I'm re-routing this issue to the Compress Antlib since it may need a new option to enable ZIP64 support in special cases.
Comment 5 Stefan Bodewig 2011-11-05 11:32:23 UTC
The just release Compress Antlib 1.1 supports Zip64 extensions.