From 5ba881277a04bc8d2751b5e5f6634ba29ac3c073 Mon Sep 17 00:00:00 2001 From: nash Date: Tue, 26 Oct 2010 16:22:49 +0000 Subject: 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 --- .../org/apache/tuscany/sca/node/launcher/NodeLauncherUtil.java | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'sca-java-1.x/trunk/modules/node-launcher') 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; -- cgit v1.2.3