http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1313
*** shadow/1313 Wed May 2 14:34:07 2001 --- shadow/1313.tmp.15347 Thu May 3 01:59:55 2001 *************** *** 2,9 **** | ZIP task in ant | +----------------------------------------------------------------------------+ | Bug #: 1313 Product: Ant | ! | Status: NEW Version: 1.3 | ! | Resolution: Platform: PC | | Severity: Normal OS/Version: Linux | | Priority: High Component: Core tasks | +----------------------------------------------------------------------------+ --- 2,9 ---- | ZIP task in ant | +----------------------------------------------------------------------------+ | Bug #: 1313 Product: Ant | ! | Status: RESOLVED Version: 1.3 | ! | Resolution: FIXED Platform: PC | | Severity: Normal OS/Version: Linux | | Priority: High Component: Core tasks | +----------------------------------------------------------------------------+ *************** *** 27,30 **** with the JDK itself, not Ant. Any changes made to JDK could cause Ant's implementation to need reworked. See Java bug ID 4097578 in for a more descriptive example of this problem and a ! workaround of setting the umask before extracting the jar file. --- 27,42 ---- with the JDK itself, not Ant. Any changes made to JDK could cause Ant's implementation to need reworked. See Java bug ID 4097578 in for a more descriptive example of this problem and a ! workaround of setting the umask before extracting the jar file. ! ! ------- Additional Comments From [EMAIL PROTECTED] 2001-05-03 01:59 ------- ! This is a known shortcoming in the JDK's version of ZipOutputStream. (Technical ! detail: ZipOutputStream will always set the field named external attributes to 0 ! instead of meaningful values - and there is no way to change this). ! ! The current CVS version of Ant includes a (clean room, I may add) ! reimplementation of ZipOutputStream, that does handle external attributes and ! Ant's zip task makes use of this feature. ! ! Future changes to the JDK should not affect Ant's tasks, except that it may ! render the org.apache.tools.zip package obsolete.
