geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r915082 - /geronimo/server/trunk/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/kernel/util/JarUtils.java
Date Mon, 22 Feb 2010 21:53:50 GMT
Author: gawor
Date: Mon Feb 22 21:53:50 2010
New Revision: 915082

URL: http://svn.apache.org/viewvc?rev=915082&view=rev
Log:
make sure directory entries end with /

Modified:
    geronimo/server/trunk/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/kernel/util/JarUtils.java

Modified: geronimo/server/trunk/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/kernel/util/JarUtils.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/kernel/util/JarUtils.java?rev=915082&r1=915081&r2=915082&view=diff
==============================================================================
--- geronimo/server/trunk/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/kernel/util/JarUtils.java
(original)
+++ geronimo/server/trunk/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/kernel/util/JarUtils.java
Mon Feb 22 21:53:50 2010
@@ -275,7 +275,7 @@
             }
             String name = baseName + file.getName();
             if (file.isDirectory()) {
-                out.putNextEntry(new ZipEntry(name));
+                out.putNextEntry(new ZipEntry(name + "/"));
                 out.closeEntry();            
                 jarDirectory(file, name + "/", destinationFile, out);
             } else if (file.isFile()) {



Mime
View raw message