tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From antel...@apache.org
Subject svn commit: r719011 - /tuscany/java/sca/modules/node-launcher-equinox/src/main/java/org/apache/tuscany/sca/node/equinox/launcher/NodeLauncherUtil.java
Date Wed, 19 Nov 2008 16:53:38 GMT
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



Mime
View raw message