Author: antelder
Date: Wed Nov 19 08:53:38 2008
New Revision: 719011

URL: http://svn.apache.org/viewvc?rev=719011&view=rev
Log:
Hack to get this working, need to revisit this whole launcher class as 
debugging through it shows its not working as expected

Modified:
    
tuscany/java/sca/modules/node-launcher-equinox/src/main/java/org/apache/tuscany/sca/node/equinox/launcher/NodeLauncherUtil.java

Modified: 
tuscany/java/sca/modules/node-launcher-equinox/src/main/java/org/apache/tuscany/sca/node/equinox/launcher/NodeLauncherUtil.java
URL: 
http://svn.apache.org/viewvc/tuscany/java/sca/modules/node-launcher-equinox/src/main/java/org/apache/tuscany/sca/node/equinox/launcher/NodeLauncherUtil.java?rev=719011&r1=719010&r2=719011&view=diff
==============================================================================
--- 
tuscany/java/sca/modules/node-launcher-equinox/src/main/java/org/apache/tuscany/sca/node/equinox/launcher/NodeLauncherUtil.java
 (original)
+++ 
tuscany/java/sca/modules/node-launcher-equinox/src/main/java/org/apache/tuscany/sca/node/equinox/launcher/NodeLauncherUtil.java
 Wed Nov 19 08:53:38 2008
@@ -626,7 +626,13 @@
         Set<URL> jarURLs = new HashSet<URL>();
     
         // Determine the path to the launcher class
-        URI uri = URI.create(codeLocation(NodeLauncherUtil.class));
+        URI uri;
+        try {
+               uri = URI.create(codeLocation(NodeLauncherUtil.class));
+        } catch (Exception e) {
+               // FIXME
+               uri = URI.create("");
+        }
     
         // If the launcher class is in a JAR, add all runtime JARs from 
directory containing
         // that JAR (e.g. the Tuscany modules directory) as well as the 
../modules and


Reply via email to