diff options
Diffstat (limited to 'java/sca/modules/node-launcher/src')
-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"); |