geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jboy...@apache.org
Subject svn commit: r158399 - geronimo/trunk/modules/deployment/src/java/org/apache/geronimo/deployment/Deployer.java
Date Mon, 21 Mar 2005 03:08:08 GMT
Author: jboynes
Date: Sun Mar 20 19:08:07 2005
New Revision: 158399

URL: http://svn.apache.org/viewcvs?view=rev&rev=158399
Log:
remove working dir when a config is not installed

Modified:
    geronimo/trunk/modules/deployment/src/java/org/apache/geronimo/deployment/Deployer.java

Modified: geronimo/trunk/modules/deployment/src/java/org/apache/geronimo/deployment/Deployer.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/modules/deployment/src/java/org/apache/geronimo/deployment/Deployer.java?view=diff&r1=158398&r2=158399
==============================================================================
--- geronimo/trunk/modules/deployment/src/java/org/apache/geronimo/deployment/Deployer.java
(original)
+++ geronimo/trunk/modules/deployment/src/java/org/apache/geronimo/deployment/Deployer.java
Sun Mar 20 19:08:07 2005
@@ -191,8 +191,10 @@
                     deployedURIs.add(uri.toString());
                     deployedURIs.addAll(childURIs);
                     return deployedURIs;
+                } else {
+                    DeploymentUtil.recursiveDelete(configurationDir);
+                    return Collections.EMPTY_LIST;
                 }
-                return Collections.EMPTY_LIST;
             } catch (InvalidConfigException e) {
                 // unlikely as we just built this
                 throw new DeploymentException(e);



Mime
View raw message