summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/modules/node-launcher-equinox/src
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-06-25 12:43:54 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-06-25 12:43:54 +0000
commit6f20e2184aa9a068b9e7bbd9e258365730476eef (patch)
tree1ddf900f1bdd137b2d77d464a75757418de748ea /sca-java-2.x/trunk/modules/node-launcher-equinox/src
parent37ed91ecb4bbeb1430e80532aaef529829b75b13 (diff)
Don't try to use any sources jars
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@957923 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/node-launcher-equinox/src')
-rw-r--r--sca-java-2.x/trunk/modules/node-launcher-equinox/src/main/java/org/apache/tuscany/sca/node/equinox/launcher/NodeLauncherUtil.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/modules/node-launcher-equinox/src/main/java/org/apache/tuscany/sca/node/equinox/launcher/NodeLauncherUtil.java b/sca-java-2.x/trunk/modules/node-launcher-equinox/src/main/java/org/apache/tuscany/sca/node/equinox/launcher/NodeLauncherUtil.java
index 851df85d35..cae4b6728e 100644
--- a/sca-java-2.x/trunk/modules/node-launcher-equinox/src/main/java/org/apache/tuscany/sca/node/equinox/launcher/NodeLauncherUtil.java
+++ b/sca-java-2.x/trunk/modules/node-launcher-equinox/src/main/java/org/apache/tuscany/sca/node/equinox/launcher/NodeLauncherUtil.java
@@ -1117,6 +1117,11 @@ final class NodeLauncherUtil {
return false;
}
+ // Don't include the sources jar files
+ if (name.endsWith("-sources.jar")) {
+ return false;
+ }
+
// Include JAR and MAR files
if (name.endsWith(".jar")) {
return true;