summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2010-10-04 10:23:51 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2010-10-04 10:23:51 +0000
commit593f4975e1da0ad700dd6f05c3e51e0e5c40fbff (patch)
tree3f751139b0374d7c4a626f88d5cd302719ce241b /sca-java-2.x/trunk
parent674fdffad3b949ba94a8dc72d7b73cc41d8174d4 (diff)
Further corrects to OSGi imports. The python impl depends on some impl exports.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1004189 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk')
-rw-r--r--sca-java-2.x/trunk/modules/implementation-python/META-INF/MANIFEST.MF3
-rw-r--r--sca-java-2.x/trunk/modules/implementation-python/src/test/java/org/apache/tuscany/sca/implementation/python/ReadWriteTestCase.java4
2 files changed, 6 insertions, 1 deletions
diff --git a/sca-java-2.x/trunk/modules/implementation-python/META-INF/MANIFEST.MF b/sca-java-2.x/trunk/modules/implementation-python/META-INF/MANIFEST.MF
index 8cb99e2a4b..f4f0238dc3 100644
--- a/sca-java-2.x/trunk/modules/implementation-python/META-INF/MANIFEST.MF
+++ b/sca-java-2.x/trunk/modules/implementation-python/META-INF/MANIFEST.MF
@@ -20,7 +20,10 @@ Import-Package: org.apache.tuscany.sca.assembly;version="2.0.0",
org.apache.tuscany.sca.core;version="2.0.0",
org.apache.tuscany.sca.implementation.jaxrs;version="2.0.0",
org.apache.tuscany.sca.interfacedef;version="2.0.0",
+ org.apache.tuscany.sca.interfacedef.impl;version="2.0.0",
org.apache.tuscany.sca.interfacedef.java;version="2.0.0",
+ org.apache.tuscany.sca.interfacedef.java.impl;version="2.0.0",
+ org.apache.tuscany.sca.interfacedef.util;version="2.0.0",
org.apache.tuscany.sca.monitor;version="2.0.0",
org.apache.tuscany.sca.policy;version="2.0.0",
org.apache.tuscany.sca.runtime;version="2.0.0",
diff --git a/sca-java-2.x/trunk/modules/implementation-python/src/test/java/org/apache/tuscany/sca/implementation/python/ReadWriteTestCase.java b/sca-java-2.x/trunk/modules/implementation-python/src/test/java/org/apache/tuscany/sca/implementation/python/ReadWriteTestCase.java
index 388df1d210..6e5a70f734 100644
--- a/sca-java-2.x/trunk/modules/implementation-python/src/test/java/org/apache/tuscany/sca/implementation/python/ReadWriteTestCase.java
+++ b/sca-java-2.x/trunk/modules/implementation-python/src/test/java/org/apache/tuscany/sca/implementation/python/ReadWriteTestCase.java
@@ -31,6 +31,7 @@ import javax.xml.stream.XMLOutputFactory;
import org.apache.tuscany.sca.assembly.Composite;
import org.apache.tuscany.sca.contribution.Contribution;
+import org.apache.tuscany.sca.contribution.ContributionFactory;
import org.apache.tuscany.sca.contribution.DefaultContributionFactory;
import org.apache.tuscany.sca.contribution.processor.DefaultStAXArtifactProcessorExtensionPoint;
import org.apache.tuscany.sca.contribution.processor.ExtensibleStAXArtifactProcessor;
@@ -57,7 +58,8 @@ public class ReadWriteTestCase {
@BeforeClass
public static void setUp() throws Exception {
final DefaultExtensionPointRegistry ep = new DefaultExtensionPointRegistry();
- final Contribution contrib = new DefaultContributionFactory().createContribution();
+ final ContributionFactory contribFactory = new DefaultContributionFactory();
+ final Contribution contrib = contribFactory.createContribution();
contrib.setLocation(ReadWriteTestCase.class.getProtectionDomain().getCodeSource().getLocation().toString());
final Monitor mon = new DefaultMonitorFactory().createMonitor();
ctx = new ProcessorContext(contrib, mon);