summaryrefslogtreecommitdiffstats
path: root/java/sca/modules/node-launcher-equinox/src/main
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2008-11-19 16:53:38 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2008-11-19 16:53:38 +0000
commit875fbfdf7d26715494d508455f449fd846b44180 (patch)
treef17b403c1083b2d264123e2f307e7b13444f596b /java/sca/modules/node-launcher-equinox/src/main
parentb4f5015ea43e8a042ba56cad56f5636f94f87081 (diff)
Hack to get this working, need to revisit this whole launcher class as debugging through it shows its not working as expected
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@719011 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/modules/node-launcher-equinox/src/main')
-rw-r--r--java/sca/modules/node-launcher-equinox/src/main/java/org/apache/tuscany/sca/node/equinox/launcher/NodeLauncherUtil.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/java/sca/modules/node-launcher-equinox/src/main/java/org/apache/tuscany/sca/node/equinox/launcher/NodeLauncherUtil.java b/java/sca/modules/node-launcher-equinox/src/main/java/org/apache/tuscany/sca/node/equinox/launcher/NodeLauncherUtil.java
index 93f1b01206..95d733aba2 100644
--- a/java/sca/modules/node-launcher-equinox/src/main/java/org/apache/tuscany/sca/node/equinox/launcher/NodeLauncherUtil.java
+++ b/java/sca/modules/node-launcher-equinox/src/main/java/org/apache/tuscany/sca/node/equinox/launcher/NodeLauncherUtil.java
@@ -626,7 +626,13 @@ final class NodeLauncherUtil {
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