You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by ga...@apache.org on 2008/07/01 17:09:03 UTC
svn commit: r673095 -
/geronimo/server/branches/2.1/plugins/hotdeploy/geronimo-hot-deploy/src/main/java/org/apache/geronimo/deployment/hot/DirectoryMonitor.java
Author: gawor
Date: Tue Jul 1 08:09:03 2008
New Revision: 673095
URL: http://svn.apache.org/viewvc?rev=673095&view=rev
Log:
no need to undeploy if deployment failed (GERONIMO-4110)
Modified:
geronimo/server/branches/2.1/plugins/hotdeploy/geronimo-hot-deploy/src/main/java/org/apache/geronimo/deployment/hot/DirectoryMonitor.java
Modified: geronimo/server/branches/2.1/plugins/hotdeploy/geronimo-hot-deploy/src/main/java/org/apache/geronimo/deployment/hot/DirectoryMonitor.java
URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.1/plugins/hotdeploy/geronimo-hot-deploy/src/main/java/org/apache/geronimo/deployment/hot/DirectoryMonitor.java?rev=673095&r1=673094&r2=673095&view=diff
==============================================================================
--- geronimo/server/branches/2.1/plugins/hotdeploy/geronimo-hot-deploy/src/main/java/org/apache/geronimo/deployment/hot/DirectoryMonitor.java (original)
+++ geronimo/server/branches/2.1/plugins/hotdeploy/geronimo-hot-deploy/src/main/java/org/apache/geronimo/deployment/hot/DirectoryMonitor.java Tue Jul 1 08:09:03 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;