diff options
author | nash <nash@13f79535-47bb-0310-9956-ffa450edef68> | 2010-10-18 14:51:17 +0000 |
---|---|---|
committer | nash <nash@13f79535-47bb-0310-9956-ffa450edef68> | 2010-10-18 14:51:17 +0000 |
commit | 380a7c07ff488a612159b050de184d434fb190c8 (patch) | |
tree | a8614afccd267153dd7a91cdf961937dc2a7b6d2 /sca-java-1.x/branches/sca-java-1.6.1/modules/node-launcher/src/main/java | |
parent | 87efe13243ae8bf93d57522757f34a775d27fee8 (diff) |
TUSCANY-3726: Update jar filtering to exclude the *-dojo jars
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1023825 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-1.x/branches/sca-java-1.6.1/modules/node-launcher/src/main/java')
-rw-r--r-- | sca-java-1.x/branches/sca-java-1.6.1/modules/node-launcher/src/main/java/org/apache/tuscany/sca/node/launcher/NodeLauncherUtil.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sca-java-1.x/branches/sca-java-1.6.1/modules/node-launcher/src/main/java/org/apache/tuscany/sca/node/launcher/NodeLauncherUtil.java b/sca-java-1.x/branches/sca-java-1.6.1/modules/node-launcher/src/main/java/org/apache/tuscany/sca/node/launcher/NodeLauncherUtil.java index 59d050734c..bc16e822f0 100644 --- a/sca-java-1.x/branches/sca-java-1.6.1/modules/node-launcher/src/main/java/org/apache/tuscany/sca/node/launcher/NodeLauncherUtil.java +++ b/sca-java-1.x/branches/sca-java-1.6.1/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; |