You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by jb...@apache.org on 2005/03/21 04:08:08 UTC

svn commit: r158399 - geronimo/trunk/modules/deployment/src/java/org/apache/geronimo/deployment/Deployer.java

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);