summaryrefslogtreecommitdiffstats
path: root/sca-java-1.x/trunk/modules/node-launcher
diff options
context:
space:
mode:
authornash <nash@13f79535-47bb-0310-9956-ffa450edef68>2010-10-26 16:22:49 +0000
committernash <nash@13f79535-47bb-0310-9956-ffa450edef68>2010-10-26 16:22:49 +0000
commit5ba881277a04bc8d2751b5e5f6634ba29ac3c073 (patch)
tree396b8390133d16ff7ae91c83548a4a317c466806 /sca-java-1.x/trunk/modules/node-launcher
parentc341752f38460da03db6ad875ef2955c4eb9cb07 (diff)
Merge r1023825 TUSCANY-3726: Update jar filtering to exclude the *-dojo jars
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1027629 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-1.x/trunk/modules/node-launcher')
-rw-r--r--sca-java-1.x/trunk/modules/node-launcher/src/main/java/org/apache/tuscany/sca/node/launcher/NodeLauncherUtil.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/sca-java-1.x/trunk/modules/node-launcher/src/main/java/org/apache/tuscany/sca/node/launcher/NodeLauncherUtil.java b/sca-java-1.x/trunk/modules/node-launcher/src/main/java/org/apache/tuscany/sca/node/launcher/NodeLauncherUtil.java
index 59d050734c..bc16e822f0 100644
--- a/sca-java-1.x/trunk/modules/node-launcher/src/main/java/org/apache/tuscany/sca/node/launcher/NodeLauncherUtil.java
+++ b/sca-java-1.x/trunk/modules/node-launcher/src/main/java/org/apache/tuscany/sca/node/launcher/NodeLauncherUtil.java
@@ -267,6 +267,15 @@ final class NodeLauncherUtil {
return false;
}
+ // Filter out the "-dojo" runtime jars
+ if (name.startsWith("tuscany-binding-atom-js-dojo") ||
+ name.startsWith("tuscany-binding-jsonrpc-js-dojo") ||
+ name.startsWith("tuscany-implementation-widget-runtime-dojo") ||
+ name.startsWith("tuscany-web-javascript-dojo")) {
+ //FIXME This is temporary
+ return false;
+ }
+
// Include JAR and MAR files
if (name.endsWith(".jar")) {
return true;