summaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2009-11-20 00:46:15 +0000
committerrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2009-11-20 00:46:15 +0000
commit8e81fc8ed79b2961c840f276b443581c445bc3a2 (patch)
treeea53e74643e11163aebed5463dc529392ba7b080 /java
parentcf4ada1bfbabf75af8ef3fa0f40d037a553c70a6 (diff)
Fix MF and compilatio errors
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@882366 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java')
-rw-r--r--java/sca/modules/sca-client-javascript/META-INF/MANIFEST.MF1
-rw-r--r--java/sca/modules/sca-client-javascript/src/main/java/org/apache/tuscany/sca/client/javascript/ScriptEngine.java2
-rw-r--r--java/sca/modules/sca-client-rmi/META-INF/MANIFEST.MF1
3 files changed, 3 insertions, 1 deletions
diff --git a/java/sca/modules/sca-client-javascript/META-INF/MANIFEST.MF b/java/sca/modules/sca-client-javascript/META-INF/MANIFEST.MF
index db748f5b37..11afd93e5e 100644
--- a/java/sca/modules/sca-client-javascript/META-INF/MANIFEST.MF
+++ b/java/sca/modules/sca-client-javascript/META-INF/MANIFEST.MF
@@ -11,6 +11,7 @@ Bundle-Description: Apache Tuscany SCA Client JavaScript
Import-Package: org.apache.tuscany.sca.assembly;version="2.0.0",
org.apache.tuscany.sca.client.rmi;version="2.0.0",
org.apache.tuscany.sca.core;version="2.0.0",
+ org.apache.tuscany.sca.interfacedef;version="2.0.0",
org.apache.tuscany.sca.interfacedef.java;version="2.0.0",
org.apache.tuscany.sca.runtime;version="2.0.0",
org.oasisopen.sca;version="2.0.0",
diff --git a/java/sca/modules/sca-client-javascript/src/main/java/org/apache/tuscany/sca/client/javascript/ScriptEngine.java b/java/sca/modules/sca-client-javascript/src/main/java/org/apache/tuscany/sca/client/javascript/ScriptEngine.java
index 3db6a6d08c..92b2d13420 100644
--- a/java/sca/modules/sca-client-javascript/src/main/java/org/apache/tuscany/sca/client/javascript/ScriptEngine.java
+++ b/java/sca/modules/sca-client-javascript/src/main/java/org/apache/tuscany/sca/client/javascript/ScriptEngine.java
@@ -309,7 +309,7 @@ public class ScriptEngine extends ScriptableObject implements Runnable{
err.println("service not found " + serviceName);
return null;
}
- JavaInterface ifac = ((JavaInterface)er.get(0).getInterfaceContract().getInterface());
+ JavaInterface ifac = (JavaInterface)er.get(0).getComponentServiceInterfaceContract().getInterface();
return getService(serviceName, ifac.getName());
}
diff --git a/java/sca/modules/sca-client-rmi/META-INF/MANIFEST.MF b/java/sca/modules/sca-client-rmi/META-INF/MANIFEST.MF
index 550473452d..3db8def7f5 100644
--- a/java/sca/modules/sca-client-rmi/META-INF/MANIFEST.MF
+++ b/java/sca/modules/sca-client-rmi/META-INF/MANIFEST.MF
@@ -15,6 +15,7 @@ Import-Package: org.apache.tuscany.sca.assembly;version="2.0.0",
org.apache.tuscany.sca.node;version="2.0.0",
org.apache.tuscany.sca.runtime;version="2.0.0",
org.oasisopen.sca;version="2.0.0",
+ org.oasisopen.sca.annotation;version="2.0.0";resolution:=optional,
org.oasisopen.sca.client;version="2.0.0"
Bundle-SymbolicName: org.apache.tuscany.sca.client.rmi
Bundle-DocURL: http://www.apache.org/