Author: gnodet
Date: Mon Jan  7 05:16:27 2008
New Revision: 609596

URL: http://svn.apache.org/viewvc?rev=609596&view=rev
Log:
Allow zip and wars to trigger deployment (we may want to use a property instead)

Modified:
    
servicemix/smx4/runtime/trunk/filemonitor/src/main/java/org/apache/servicemix/runtime/filemonitor/FileMonitor.java

Modified: 
servicemix/smx4/runtime/trunk/filemonitor/src/main/java/org/apache/servicemix/runtime/filemonitor/FileMonitor.java
URL: 
http://svn.apache.org/viewvc/servicemix/smx4/runtime/trunk/filemonitor/src/main/java/org/apache/servicemix/runtime/filemonitor/FileMonitor.java?rev=609596&r1=609595&r2=609596&view=diff
==============================================================================
--- 
servicemix/smx4/runtime/trunk/filemonitor/src/main/java/org/apache/servicemix/runtime/filemonitor/FileMonitor.java
 (original)
+++ 
servicemix/smx4/runtime/trunk/filemonitor/src/main/java/org/apache/servicemix/runtime/filemonitor/FileMonitor.java
 Mon Jan  7 05:16:27 2008
@@ -232,7 +232,9 @@
                         deployBundle(newBundle);
                     }
                 }
-                else if (file.getName().endsWith(".jar")) {
+                else if (file.getName().endsWith(".jar")
+                            || file.getName().endsWith(".zip")
+                            || file.getName().endsWith(".war")) {
                     if (added) {
                         deployBundle(file);
                     }


Reply via email to