summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/testing
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2011-04-27 09:33:58 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2011-04-27 09:33:58 +0000
commit00cba79dc0fcd05f63490428a8b8ab8e91025a58 (patch)
tree9110a4ce1265b678494694e2ecbd534ea6ab3062 /sca-java-2.x/trunk/testing
parentd53ad4d8ba58749dc588781093a9e23ff66f2e6c (diff)
Add appropriate exports/imports for sharing of interface between contributions
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1097053 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/testing')
-rw-r--r--sca-java-2.x/trunk/testing/itest/nodes/helloworld-client/src/main/resources/META-INF/sca-contribution.xml1
-rw-r--r--sca-java-2.x/trunk/testing/itest/nodes/helloworld-iface/src/main/resources/META-INF/sca-contribution.xml23
-rw-r--r--sca-java-2.x/trunk/testing/itest/nodes/helloworld-service/src/main/resources/META-INF/sca-contribution.xml3
3 files changed, 26 insertions, 1 deletions
diff --git a/sca-java-2.x/trunk/testing/itest/nodes/helloworld-client/src/main/resources/META-INF/sca-contribution.xml b/sca-java-2.x/trunk/testing/itest/nodes/helloworld-client/src/main/resources/META-INF/sca-contribution.xml
index 7e062cc14e..e295015a40 100644
--- a/sca-java-2.x/trunk/testing/itest/nodes/helloworld-client/src/main/resources/META-INF/sca-contribution.xml
+++ b/sca-java-2.x/trunk/testing/itest/nodes/helloworld-client/src/main/resources/META-INF/sca-contribution.xml
@@ -20,4 +20,5 @@
<contribution xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912"
xmlns:itest="http://itest">
<deployable composite="itest:HelloworldClient"/>
+ <import.java package="itest.nodes"/>
</contribution> \ No newline at end of file
diff --git a/sca-java-2.x/trunk/testing/itest/nodes/helloworld-iface/src/main/resources/META-INF/sca-contribution.xml b/sca-java-2.x/trunk/testing/itest/nodes/helloworld-iface/src/main/resources/META-INF/sca-contribution.xml
new file mode 100644
index 0000000000..2205b4e8fe
--- /dev/null
+++ b/sca-java-2.x/trunk/testing/itest/nodes/helloworld-iface/src/main/resources/META-INF/sca-contribution.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+<contribution xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912"
+ xmlns:itest="http://itest">
+ <export.java package="itest.nodes"/>
+</contribution>
diff --git a/sca-java-2.x/trunk/testing/itest/nodes/helloworld-service/src/main/resources/META-INF/sca-contribution.xml b/sca-java-2.x/trunk/testing/itest/nodes/helloworld-service/src/main/resources/META-INF/sca-contribution.xml
index 829ece9f7c..b02141ef26 100644
--- a/sca-java-2.x/trunk/testing/itest/nodes/helloworld-service/src/main/resources/META-INF/sca-contribution.xml
+++ b/sca-java-2.x/trunk/testing/itest/nodes/helloworld-service/src/main/resources/META-INF/sca-contribution.xml
@@ -19,5 +19,6 @@
-->
<contribution xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912"
xmlns:itest="http://itest">
- <deployable composite="itest:HelloworldService"/>
+ <deployable composite="itest:HelloworldService"/>
+ <import.java package="itest.nodes"/>
</contribution> \ No newline at end of file