geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r673093 - /geronimo/server/trunk/plugins/hotdeploy/geronimo-hot-deploy/src/main/java/org/apache/geronimo/deployment/hot/DirectoryMonitor.java
Date Tue, 01 Jul 2008 15:08:51 GMT
Author: gawor
Date: Tue Jul  1 08:08:51 2008
New Revision: 673093

URL: http://svn.apache.org/viewvc?rev=673093&view=rev
Log:
no need to undeploy if deployment failed (GERONIMO-4110)

Modified:
    geronimo/server/trunk/plugins/hotdeploy/geronimo-hot-deploy/src/main/java/org/apache/geronimo/deployment/hot/DirectoryMonitor.java

Modified: geronimo/server/trunk/plugins/hotdeploy/geronimo-hot-deploy/src/main/java/org/apache/geronimo/deployment/hot/DirectoryMonitor.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/hotdeploy/geronimo-hot-deploy/src/main/java/org/apache/geronimo/deployment/hot/DirectoryMonitor.java?rev=673093&r1=673092&r2=673093&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/hotdeploy/geronimo-hot-deploy/src/main/java/org/apache/geronimo/deployment/hot/DirectoryMonitor.java
(original)
+++ geronimo/server/trunk/plugins/hotdeploy/geronimo-hot-deploy/src/main/java/org/apache/geronimo/deployment/hot/DirectoryMonitor.java
Tue Jul  1 08:08:51 2008
@@ -322,7 +322,7 @@
                     try {
                         if (action.action == FileAction.REMOVED_FILE) {
                             workingOnConfigId = action.info.getConfigId();
-                            if (listener.fileRemoved(action.child, action.info.getConfigId()))
{
+                            if (action.info.getConfigId() == null || listener.fileRemoved(action.child,
action.info.getConfigId())) {
                                 files.remove(action.child.getPath());
                             }
                             workingOnConfigId = null;



Mime
View raw message