geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xuhaih...@apache.org
Subject svn commit: r1156981 - /geronimo/server/trunk/plugins/j2ee/geronimo-j2ee-builder/src/main/java/org/apache/geronimo/j2ee/deployment/EARConfigBuilder.java
Date Fri, 12 Aug 2011 06:42:31 GMT
Author: xuhaihong
Date: Fri Aug 12 06:42:31 2011
New Revision: 1156981

URL: http://svn.apache.org/viewvc?rev=1156981&view=rev
Log:
Only ear package will be extracted to temp files

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

Modified: geronimo/server/trunk/plugins/j2ee/geronimo-j2ee-builder/src/main/java/org/apache/geronimo/j2ee/deployment/EARConfigBuilder.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/j2ee/geronimo-j2ee-builder/src/main/java/org/apache/geronimo/j2ee/deployment/EARConfigBuilder.java?rev=1156981&r1=1156980&r2=1156981&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/j2ee/geronimo-j2ee-builder/src/main/java/org/apache/geronimo/j2ee/deployment/EARConfigBuilder.java
(original)
+++ geronimo/server/trunk/plugins/j2ee/geronimo-j2ee-builder/src/main/java/org/apache/geronimo/j2ee/deployment/EARConfigBuilder.java
Fri Aug 12 06:42:31 2011
@@ -800,7 +800,7 @@ public class EARConfigBuilder implements
             for (Module<?, ?> module : applicationInfo.getModules()) {
                 module.close();
                 //In the non in-place deployment, a temporary file for each module in the
ear will be created
-                if (!inPlaceDeployment) {
+                if (!inPlaceDeployment && ConfigurationModuleType.EAR == applicationType)
{
                     try {
                         FileUtils.recursiveDelete(new File(module.getModuleFile().getName()));
                     } catch (Exception e) {



Mime
View raw message