geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xuhaih...@apache.org
Subject svn commit: r1002508 - /geronimo/server/trunk/plugins/openejb/geronimo-openejb-builder/src/main/java/org/apache/geronimo/openejb/deployment/EjbModuleBuilder.java
Date Wed, 29 Sep 2010 08:08:24 GMT
Author: xuhaihong
Date: Wed Sep 29 08:08:24 2010
New Revision: 1002508

URL: http://svn.apache.org/viewvc?rev=1002508&view=rev
Log:
GERONIMO-5603 Use a wrapped JarFile for extracting use, as the initial one in the deployment
context needs to keep open

Modified:
    geronimo/server/trunk/plugins/openejb/geronimo-openejb-builder/src/main/java/org/apache/geronimo/openejb/deployment/EjbModuleBuilder.java

Modified: geronimo/server/trunk/plugins/openejb/geronimo-openejb-builder/src/main/java/org/apache/geronimo/openejb/deployment/EjbModuleBuilder.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/openejb/geronimo-openejb-builder/src/main/java/org/apache/geronimo/openejb/deployment/EjbModuleBuilder.java?rev=1002508&r1=1002507&r2=1002508&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/openejb/geronimo-openejb-builder/src/main/java/org/apache/geronimo/openejb/deployment/EjbModuleBuilder.java
(original)
+++ geronimo/server/trunk/plugins/openejb/geronimo-openejb-builder/src/main/java/org/apache/geronimo/openejb/deployment/EjbModuleBuilder.java
Wed Sep 29 08:08:24 2010
@@ -564,7 +564,7 @@ public class EjbModuleBuilder implements
         JarFile moduleFile = module.getModuleFile();
         try {
             if (module.isStandAlone()) {
-                JarUtils.unzipToDirectory(moduleFile, earContext.getBaseDir());
+                JarUtils.unzipToDirectory(new JarFile(moduleFile.getName()), earContext.getBaseDir());
             } else {
                 // extract the ejbJar file into a standalone packed jar file and add the
contents to the output
                 earContext.addIncludeAsPackedJar(URI.create(module.getTargetPath()), moduleFile);



Mime
View raw message