summaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2009-07-31 05:51:00 +0000
committerrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2009-07-31 05:51:00 +0000
commit60085afd992888b260161504993ab39ff8392fab (patch)
treebef51f024c54c5435cc0141c46b4eb2c1d327ae6 /java
parentf938b85193af9a74611109ffaea335f372252ada (diff)
Don't generate Import-Package header for the 3rd party jars so that either local package is used if there are split packages
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@799522 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java')
-rw-r--r--java/sca/modules/node-launcher-equinox/src/main/java/org/apache/tuscany/sca/node/equinox/launcher/NodeLauncherUtil.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/java/sca/modules/node-launcher-equinox/src/main/java/org/apache/tuscany/sca/node/equinox/launcher/NodeLauncherUtil.java b/java/sca/modules/node-launcher-equinox/src/main/java/org/apache/tuscany/sca/node/equinox/launcher/NodeLauncherUtil.java
index 47480635f0..c059811e3b 100644
--- a/java/sca/modules/node-launcher-equinox/src/main/java/org/apache/tuscany/sca/node/equinox/launcher/NodeLauncherUtil.java
+++ b/java/sca/modules/node-launcher-equinox/src/main/java/org/apache/tuscany/sca/node/equinox/launcher/NodeLauncherUtil.java
@@ -29,7 +29,6 @@ import static org.osgi.framework.Constants.BUNDLE_VENDOR;
import static org.osgi.framework.Constants.BUNDLE_VERSION;
import static org.osgi.framework.Constants.DYNAMICIMPORT_PACKAGE;
import static org.osgi.framework.Constants.EXPORT_PACKAGE;
-import static org.osgi.framework.Constants.IMPORT_PACKAGE;
import static org.osgi.framework.Constants.REQUIRE_BUNDLE;
import static org.osgi.framework.Constants.RESOLUTION_DIRECTIVE;
import static org.osgi.framework.Constants.RESOLUTION_OPTIONAL;
@@ -503,9 +502,11 @@ final class NodeLauncherUtil {
if (exports.length() > 0) {
attributes.putValue(EXPORT_PACKAGE, exports.substring(0, exports.length() - 1));
}
+ /*
if (imports.length() > 0) {
attributes.putValue(IMPORT_PACKAGE, imports.substring(0, imports.length() - 1));
}
+ */
if (classpath.length() > 0) {
attributes.putValue(BUNDLE_CLASSPATH, classpath.substring(0, classpath.length() - 1));
}