ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r900064 - /ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Zip.java
Date Sun, 17 Jan 2010 06:45:32 GMT
Author: bodewig
Date: Sun Jan 17 06:45:31 2010
New Revision: 900064

URL: http://svn.apache.org/viewvc?rev=900064&view=rev
Log:
really preserve extra fields

Modified:
    ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Zip.java

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Zip.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Zip.java?rev=900064&r1=900063&r2=900064&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Zip.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Zip.java Sun Jan 17 06:45:31 2010
@@ -1784,12 +1784,12 @@
             }
 
             ze.setUnixMode(mode);
-            zOut.putNextEntry(ze);
-
             if (extra != null) {
                 ze.setExtraFields(extra);
             }
 
+            zOut.putNextEntry(ze);
+
             byte[] buffer = new byte[BUFFER_SIZE];
             int count = 0;
             do {



Mime
View raw message