servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r606024 - /servicemix/smx4/runtime/trunk/filemonitor/src/main/java/org/apache/servicemix/runtime/filemonitor/FileMonitor.java
Date Thu, 20 Dec 2007 20:52:50 GMT
Author: gnodet
Date: Thu Dec 20 12:52:50 2007
New Revision: 606024

URL: http://svn.apache.org/viewvc?rev=606024&view=rev
Log:
Fix bundle url to avoid exceptions when restarting with jars in the deploy directory

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=606024&r1=606023&r2=606024&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
Thu Dec 20 12:52:50 2007
@@ -258,7 +258,7 @@
                 bundlesToUpdate.add(bundle);
             }
             else {
-                bundle = getContext().installBundle(file.getCanonicalPath(), in);
+                bundle = getContext().installBundle(file.getCanonicalFile().toURI().toString(),
in);
                 if (!isBundleFragment(bundle)) {
                     bundlesToStart.add(bundle);
                 }



Mime
View raw message