diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2008-11-28 10:39:49 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2008-11-28 10:39:49 +0000 |
commit | 2dc8930c63368076d695c3f050fcd8815e7d0c2a (patch) | |
tree | f42e0a87595c96e37b28d5a0c6712ecb9236747d /java/sca/modules/node-launcher/src/main | |
parent | cdf9b141765f5397bfd8927c8c8454fa8157ad65 (diff) |
Ensure that all of the jars are located correctly when the node launcher is run from the command line.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@721420 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/modules/node-launcher/src/main')
-rw-r--r-- | java/sca/modules/node-launcher/src/main/java/org/apache/tuscany/sca/node/launcher/NodeLauncherUtil.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/sca/modules/node-launcher/src/main/java/org/apache/tuscany/sca/node/launcher/NodeLauncherUtil.java b/java/sca/modules/node-launcher/src/main/java/org/apache/tuscany/sca/node/launcher/NodeLauncherUtil.java index 10d3e14838..6b9ed5eae0 100644 --- a/java/sca/modules/node-launcher/src/main/java/org/apache/tuscany/sca/node/launcher/NodeLauncherUtil.java +++ b/java/sca/modules/node-launcher/src/main/java/org/apache/tuscany/sca/node/launcher/NodeLauncherUtil.java @@ -115,7 +115,7 @@ final class NodeLauncherUtil { if (jarDirectory != null && jarDirectory.exists()) { File homeDirectory = jarDirectory.getParentFile(); if (homeDirectory != null && homeDirectory.exists()) { - collectJARFiles(jarDirectory.getPath(), jarDirectoryURLs, jarURLs, filter); + collectJARFiles(homeDirectory.getPath(), jarDirectoryURLs, jarURLs, filter); } } } @@ -185,7 +185,7 @@ final class NodeLauncherUtil { if (!jarDirectoryURLs.contains(modulesDirectoryURL) && modulesDirectory.exists()) { jarDirectoryURLs.add(modulesDirectoryURL); collectJARFiles(modulesDirectory, jarURLs, filter, true); - } + } // Collect files under $TUSCANY_HOME/lib File libDirectory = new File(directoryFile, "lib"); |