servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r609596 - /servicemix/smx4/runtime/trunk/filemonitor/src/main/java/org/apache/servicemix/runtime/filemonitor/FileMonitor.java
Date Mon, 07 Jan 2008 13:16:28 GMT
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);
                     }



Mime
View raw message