summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/tags/2.0-Beta3-RC1/samples
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/README4
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/README28
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/build.xml82
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/pom.xml115
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/src/main/java/launch/Launch.java39
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/src/main/java/services/Cart.java28
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/src/main/java/services/Catalog.java27
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/src/main/java/services/CurrencyConverter.java29
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/src/main/java/services/CurrencyConverterImpl.java38
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/src/main/java/services/FruitsCatalogImpl.java52
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/src/main/java/services/Item.java54
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/src/main/java/services/ShoppingCartImpl.java112
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/src/main/java/services/Total.java29
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/src/main/resources/store.composite58
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/src/main/resources/uiservices/store.html162
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/src/test/java/client/Shopper.java29
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/src/test/java/client/ShopperImpl.java64
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/src/test/java/store/StoreTestCase.java121
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/src/test/resources/store-client.composite38
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/store.pngbin15670 -> 0 bytes
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/store.svg304
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/getting-started.odtbin11166 -> 0 bytes
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/getting-started.pdfbin28006 -> 0 bytes
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-ant/README43
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-ant/build.xml41
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-ant/maven-build.properties28
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-ant/maven-build.xml366
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-ant/pom.xml93
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-ant/src/main/java/sample/Helloworld.java28
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-ant/src/main/java/sample/HelloworldImpl.java27
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-ant/src/main/resources/META-INF/sca-contribution.xml25
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-ant/src/main/resources/helloworld.composite29
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-ant/src/test/java/sample/HelloworldTestCase.java48
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-ant/src/test/java/sample/Main.java44
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-jaxrs/README22
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-jaxrs/pom.xml120
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-jaxrs/src/main/java/sample/Helloworld.java28
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-jaxrs/src/main/java/sample/HelloworldImpl.java27
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-jaxrs/src/main/java/sample/JaxrsHelloworld.java34
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-jaxrs/src/main/resources/META-INF/sca-contribution.xml25
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-jaxrs/src/main/resources/helloworld.composite33
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-jaxrs/src/test/java/sample/HelloworldTestCase.java71
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-jsonrpc/README27
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-jsonrpc/pom.xml113
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-jsonrpc/src/main/java/sample/Helloworld.java28
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-jsonrpc/src/main/java/sample/HelloworldImpl.java27
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-jsonrpc/src/main/resources/META-INF/sca-contribution.xml25
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-jsonrpc/src/main/resources/helloworld.composite32
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-jsonrpc/src/test/java/sample/HelloworldTestCase.java48
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-scaclient/README30
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-scaclient/pom.xml121
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-scaclient/src/main/java/sample/Helloworld.java28
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-scaclient/src/main/java/sample/HelloworldSCAClient.java45
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-scaclient/src/test/java/sample/HelloworldTestCase.java56
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-spring/README18
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-spring/pom.xml106
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-spring/src/main/java/sample/Helloworld.java28
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-spring/src/main/java/sample/HelloworldImpl.java27
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-spring/src/main/resources/META-INF/sca-contribution.xml25
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-spring/src/main/resources/helloworld-context.xml27
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-spring/src/main/resources/helloworld.composite29
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-spring/src/test/java/sample/HelloworldTestCase.java48
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-webapp/README32
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-webapp/pom.xml181
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-webapp/src/main/java/sample/Helloworld.java28
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-webapp/src/main/webapp/WEB-INF/web.composite30
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-webapp/src/main/webapp/WEB-INF/web.xml41
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-webapp/src/main/webapp/hello.jsp37
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-webapp/src/test/java/itest/HelloworldTestCase.java53
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-webapp/src/test/resources/test-web.xml30
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-webservice/README43
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-webservice/pom.xml113
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-webservice/src/main/java/sample/Helloworld.java28
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-webservice/src/main/java/sample/HelloworldImpl.java27
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-webservice/src/main/resources/META-INF/sca-contribution.xml25
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-webservice/src/main/resources/helloworld.composite32
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-webservice/src/test/java/sample/HelloworldTestCase.java48
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld/README43
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld/pom.xml92
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld/src/main/java/sample/Helloworld.java28
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld/src/main/java/sample/HelloworldImpl.java27
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld/src/main/resources/META-INF/sca-contribution.xml25
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld/src/main/resources/helloworld.composite29
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld/src/test/java/sample/HelloworldTestCase.java48
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/pom.xml39
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/pom.xml39
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/ant/README.html47
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/ant/README.odtbin16886 -> 0 bytes
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/ant/build.xml83
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/calculator-contribution.jarbin11442 -> 0 bytes
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/command-line/README.html41
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/command-line/README.odtbin15949 -> 0 bytes
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/eclipse/README.html38
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/eclipse/README.odtbin13875 -> 0 bytes
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/jse/README.html41
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/jse/README.odtbin17390 -> 0 bytes
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/jse/pom.xml50
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/jse/run-sample.bat18
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/jse/run-sample.sh19
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/jse/src/main/java/calculator/CalculatorService.java38
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/jse/src/main/java/launcher/LaunchCalculatorContribution.java60
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/jse/src/test/java/launcher/LauncherTestCase.java33
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/junit/README.html39
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/junit/README.odtbin12924 -> 0 bytes
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/junit/pom.xml50
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/junit/src/main/java/calculator/CalculatorService.java38
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/junit/src/test/java/launcher/LaunchCalculatorContributionTestCase.java51
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/pom.xml46
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/running-tuscany.html50
-rw-r--r--sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/running-tuscany.odtbin45492 -> 0 bytes
110 files changed, 0 insertions, 5293 deletions
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/README b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/README
deleted file mode 100644
index 49e0b2893f..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/README
+++ /dev/null
@@ -1,4 +0,0 @@
-Apache Tuscany Samples
-======================
-
-
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/README b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/README
deleted file mode 100644
index d31e4c59b7..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/README
+++ /dev/null
@@ -1,28 +0,0 @@
-Store Sample
-======================================
-
-This is a sample store scenario that is used as a getting started guide
-for Tuscany SCA. For detailed information, please see:
-
-http://tuscany.apache.org/getting-started-with-tuscany.html
-
-or
-
-http://tuscany.apache.org/getting-started-with-tuscany-using-tuscany-eclipse-plugin.html
-
-
-Building And Running The Sample Using Ant
------------------------------------------
-With the binary distribution the sample can be built using Ant as follows:
-
-cd store
-ant compile
-
-and then, to run:
-
-ant run
-
-Once the store application is running use your browser to visit the following
-URL:
-
-http://localhost:8080/store
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/build.xml b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/build.xml
deleted file mode 100644
index e28e7c87be..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/build.xml
+++ /dev/null
@@ -1,82 +0,0 @@
-<!--
- * 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.
--->
-<project name="store" default="compile">
- <property name="tuscany.home" value="../../.."/>
- <property name="test.class" value="launch.Launch" />
- <property name="test.jar" value="sample-store.jar" />
-
- <import file="${tuscany.home}/features/tuscany-base-runtime-pom/build-path.xml"/>
-
- <target name="init">
- <mkdir dir="target/classes"/>
- </target>
-
- <target name="compile" depends="init">
- <javac srcdir="src/main/java"
- destdir="target/classes"
- debug="on"
- source="1.5"
- target="1.5">
- <classpath>
- <fileset dir="${tuscany.home}/lib">
- <include name="tuscany-base-*.jar"/>
- </fileset>
- </classpath>
- </javac>
- <copy todir="target/classes">
- <fileset dir="src/main/resources"/>
- </copy>
- <jar destfile="target/${test.jar}" basedir="target/classes">
- <manifest>
- <attribute name="Main-Class" value="${test.class}" />
- </manifest>
- </jar>
- </target>
-
- <target name="run-classes">
- <java classname="${test.class}"
- fork="true">
- <classpath>
- <pathelement path="target/classes"/>
- <fileset dir="${tuscany.home}/features">
- <include name="tuscany-sca-manifest.jar"/>
- </fileset>
- </classpath>
- </java>
- </target>
-
- <target name="run">
- <java classname="${test.class}"
- fork="true">
- <classpath>
- <pathelement path="target/${test.jar}"/>
- <fileset dir="${tuscany.home}/features">
- <include name="tuscany-sca-manifest.jar"/>
- </fileset>
- </classpath>
- </java>
- </target>
-
- <target name="clean">
- <delete quiet="true" includeemptydirs="true">
- <fileset dir="target"/>
- </delete>
- </target>
-
-</project>
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/pom.xml b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/pom.xml
deleted file mode 100644
index 2bbfc5c2ca..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/pom.xml
+++ /dev/null
@@ -1,115 +0,0 @@
-<?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.
--->
-<project>
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-samples</artifactId>
- <version>2.0-Beta3</version>
- <relativePath>../../pom.xml</relativePath>
- </parent>
- <artifactId>sample-store</artifactId>
- <name>Apache Tuscany SCA Sample Getting Started Online Store</name>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-base-runtime-pom</artifactId>
- <version>2.0-Beta3</version>
- <type>pom</type>
- </dependency>
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-data-api</artifactId>
- <version>2.0-Beta3</version>
- </dependency>
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-binding-atom-runtime</artifactId>
- <version>2.0-Beta3</version>
- </dependency>
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-binding-http-runtime</artifactId>
- <version>2.0-Beta3</version>
- </dependency>
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-binding-jsonrpc-runtime</artifactId>
- <version>2.0-Beta3</version>
- </dependency>
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-implementation-widget-runtime</artifactId>
- <version>2.0-Beta3</version>
- </dependency>
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-implementation-widget-runtime-dojo</artifactId>
- <version>2.0-Beta3</version>
- </dependency>
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-web-javascript-dojo</artifactId>
- <version>2.0-Beta3</version>
- </dependency>
- <dependency>
- <groupId>org.mortbay.jetty</groupId>
- <artifactId>jetty</artifactId>
- <version>6.1.19</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>net.sourceforge.htmlunit</groupId>
- <artifactId>htmlunit</artifactId>
- <version>2.6</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.8.1</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
-
- <build>
- <finalName>${project.artifactId}</finalName>
- <plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>exec-maven-plugin</artifactId>
- <version>1.1.1</version>
- <executions>
- <execution>
- <goals>
- <goal>java</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <classpathScope>test</classpathScope>
- <mainClass>store.StoreTestCase</mainClass>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
-</project>
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/src/main/java/launch/Launch.java b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/src/main/java/launch/Launch.java
deleted file mode 100644
index 8e4b5839e4..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/src/main/java/launch/Launch.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * 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.
- */
-
-package launch;
-
-import org.apache.tuscany.sca.node.Contribution;
-import org.apache.tuscany.sca.node.ContributionLocationHelper;
-import org.apache.tuscany.sca.node.Node;
-import org.apache.tuscany.sca.node.NodeFactory;
-
-public class Launch {
- public static void main(String[] args) throws Exception {
- System.out.println("Starting ...");
- String contribution = ContributionLocationHelper.getContributionLocation(Launch.class);
- Node node = NodeFactory.newInstance().createNode("store.composite", new Contribution("test", contribution));
- node.start();
- System.out.println("store.composite ready for big business !!!");
- System.in.read();
- System.out.println("Stopping ...");
- node.stop();
- System.out.println();
- }
-}
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/src/main/java/services/Cart.java b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/src/main/java/services/Cart.java
deleted file mode 100644
index 3fb5439bc3..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/src/main/java/services/Cart.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * 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.
- */
-
-package services;
-
-import org.apache.tuscany.sca.data.collection.Collection;
-import org.oasisopen.sca.annotation.Remotable;
-
-@Remotable
-public interface Cart extends Collection<String, Item> {
-
-}
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/src/main/java/services/Catalog.java b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/src/main/java/services/Catalog.java
deleted file mode 100644
index b5e504fe11..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/src/main/java/services/Catalog.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * 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.
- */
-
-package services;
-
-import org.oasisopen.sca.annotation.Remotable;
-
-@Remotable
-public interface Catalog {
- Item[] get();
-}
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/src/main/java/services/CurrencyConverter.java b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/src/main/java/services/CurrencyConverter.java
deleted file mode 100644
index a064f3dd69..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/src/main/java/services/CurrencyConverter.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * 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.
- */
-
-package services;
-
-import org.oasisopen.sca.annotation.Remotable;
-
-@Remotable
-public interface CurrencyConverter {
- public double getConversion(String fromCurrenycCode, String toCurrencyCode, double amount);
-
- public String getCurrencySymbol(String currencyCode);
-}
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/src/main/java/services/CurrencyConverterImpl.java b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/src/main/java/services/CurrencyConverterImpl.java
deleted file mode 100644
index c354aed447..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/src/main/java/services/CurrencyConverterImpl.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * 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.
- */
-
-package services;
-
-public class CurrencyConverterImpl implements CurrencyConverter {
- public double getConversion(String fromCurrencyCode, String toCurrencyCode, double amount) {
- if (toCurrencyCode.equals("USD"))
- return amount;
- else if (toCurrencyCode.equals("EUR"))
- return ((double)Math.round(amount * 0.7256 * 100)) /100;
- return 0;
- }
-
- public String getCurrencySymbol(String currencyCode) {
- if (currencyCode.equals("USD"))
- return "$";
- else if (currencyCode.equals("EUR"))
- return "E"; //"€";
- return "?";
- }
-}
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/src/main/java/services/FruitsCatalogImpl.java b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/src/main/java/services/FruitsCatalogImpl.java
deleted file mode 100644
index d132a24b00..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/src/main/java/services/FruitsCatalogImpl.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
- * 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.
- */
-
-package services;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import org.oasisopen.sca.annotation.Init;
-import org.oasisopen.sca.annotation.Property;
-import org.oasisopen.sca.annotation.Reference;
-
-public class FruitsCatalogImpl implements Catalog {
-
- @Property
- public String currencyCode = "USD";
-
- @Reference
- public CurrencyConverter currencyConverter;
-
- private List<Item> catalog = new ArrayList<Item>();
-
- @Init
- public void init() {
- String currencySymbol = currencyConverter.getCurrencySymbol(currencyCode);
- catalog.add(new Item("Apple", currencySymbol + currencyConverter.getConversion("USD", currencyCode, 2.99)));
- catalog.add(new Item("Orange", currencySymbol + currencyConverter.getConversion("USD", currencyCode, 3.55)));
- catalog.add(new Item("Pear", currencySymbol + currencyConverter.getConversion("USD", currencyCode, 1.55)));
- }
-
- public Item[] get() {
- Item[] catalogArray = new Item[catalog.size()];
- catalog.toArray(catalogArray);
- return catalogArray;
- }
-}
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/src/main/java/services/Item.java b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/src/main/java/services/Item.java
deleted file mode 100644
index 0a9dcb2ffc..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/src/main/java/services/Item.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * 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.
- */
-
-package services;
-
-public class Item {
- private String name;
- private String price;
-
- public Item() {
- }
-
- public Item(String name, String price) {
- this.name = name;
- this.price = price;
- }
-
- public String getName() {
- return name;
- }
-
- public void setName(String name) {
- this.name = name;
- }
-
- public String getPrice() {
- return price;
- }
-
- public void setPrice(String price) {
- this.price = price;
- }
-
- public String toString() {
- return "Item name: " + name + ", price: " + price;
- }
-
-}
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/src/main/java/services/ShoppingCartImpl.java b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/src/main/java/services/ShoppingCartImpl.java
deleted file mode 100644
index 698614212d..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/src/main/java/services/ShoppingCartImpl.java
+++ /dev/null
@@ -1,112 +0,0 @@
-/*
- * 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.
- */
-
-package services;
-
-import java.util.ArrayList;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-import java.util.UUID;
-
-import org.apache.tuscany.sca.data.collection.Entry;
-import org.apache.tuscany.sca.data.collection.NotFoundException;
-import org.oasisopen.sca.annotation.Init;
-import org.oasisopen.sca.annotation.Scope;
-
-@Scope("COMPOSITE")
-public class ShoppingCartImpl implements Cart, Total {
-
- private Map<String, Item> cart;
-
- @Init
- public void init() {
- cart = new HashMap<String, Item>();
- }
-
- public Entry<String, Item>[] getAll() {
- Entry<String, Item>[] entries = new Entry[cart.size()];
- int i = 0;
- for (Map.Entry<String, Item> e: cart.entrySet()) {
- entries[i++] = new Entry<String, Item>(e.getKey(), e.getValue());
- }
- return entries;
- }
-
- public Item get(String key) throws NotFoundException {
- Item item = cart.get(key);
- if (item == null) {
- throw new NotFoundException(key);
- } else {
- return item;
- }
- }
-
- public String post(String key, Item item) {
- if (key == null) {
- key ="cart-" + UUID.randomUUID().toString();
- }
- cart.put(key, item);
- return key;
- }
-
- public void put(String key, Item item) throws NotFoundException {
- if (!cart.containsKey(key)) {
- throw new NotFoundException(key);
- }
- cart.put(key, item);
- }
-
- public void delete(String key) throws NotFoundException {
- if (key == null || key.equals("")) {
- cart.clear();
- } else {
- Item item = cart.remove(key);
- if (item == null)
- throw new NotFoundException(key);
- }
- }
-
- public Entry<String, Item>[] query(String queryString) {
- List<Entry<String, Item>> entries = new ArrayList<Entry<String,Item>>();
- if (queryString.startsWith("name=")) {
- String name = queryString.substring(5);
- for (Map.Entry<String, Item> e: cart.entrySet()) {
- Item item = e.getValue();
- if (item.getName().equals(name)) {
- entries.add(new Entry<String, Item>(e.getKey(), e.getValue()));
- }
- }
- }
- return entries.toArray(new Entry[entries.size()]);
- }
-
- public String getTotal() {
- double total = 0;
- String currencySymbol = "";
- if (!cart.isEmpty()) {
- Item item = cart.values().iterator().next();
- currencySymbol = item.getPrice().substring(0, 1);
- }
- for (Item item : cart.values()) {
- total += Double.valueOf(item.getPrice().substring(1));
- }
- return currencySymbol + String.valueOf(total);
- }
-}
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/src/main/java/services/Total.java b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/src/main/java/services/Total.java
deleted file mode 100644
index b77cc1c7ac..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/src/main/java/services/Total.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * 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.
- */
-
-package services;
-
-import org.oasisopen.sca.annotation.Remotable;
-
-@Remotable
-public interface Total {
-
- String getTotal();
-
-}
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/src/main/resources/store.composite b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/src/main/resources/store.composite
deleted file mode 100644
index 9c3b79c508..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/src/main/resources/store.composite
+++ /dev/null
@@ -1,58 +0,0 @@
-<?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.
--->
-<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912"
- xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.1"
- targetNamespace="http://store"
- name="store">
-
- <component name="Store">
- <tuscany:implementation.widget location="uiservices/store.html"/>
- <service name="Widget">
- <tuscany:binding.http uri="/store"/>
- </service>
- <reference name="catalog" target="Catalog"/>
- <reference name="shoppingCart" target="ShoppingCart/Cart"/>
- <reference name="shoppingTotal" target="ShoppingCart/Total"/>
- </component>
-
- <component name="Catalog">
- <implementation.java class="services.FruitsCatalogImpl"/>
- <property name="currencyCode">USD</property>
- <service name="Catalog">
- <tuscany:binding.jsonrpc uri="/Catalog"/>
- </service>
- <reference name="currencyConverter" target="CurrencyConverter"/>
- </component>
-
- <component name="ShoppingCart">
- <implementation.java class="services.ShoppingCartImpl"/>
- <service name="Cart">
- <tuscany:binding.atom uri="/ShoppingCart/Cart"/>
- </service>
- <service name="Total">
- <tuscany:binding.jsonrpc uri="/ShoppingCart/Total"/>
- </service>
- </component>
-
- <component name="CurrencyConverter">
- <implementation.java class="services.CurrencyConverterImpl"/>
- </component>
-
-</composite>
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/src/main/resources/uiservices/store.html b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/src/main/resources/uiservices/store.html
deleted file mode 100644
index be3efea327..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/src/main/resources/uiservices/store.html
+++ /dev/null
@@ -1,162 +0,0 @@
-<!--
- * 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.
--->
-<html>
-<head>
-<title>Store</title>
-
-<script type="text/javascript" src="../dojo/dojo.js"></script>
-<script type="text/javascript" src="store.js"></script>
-
-<script language="JavaScript">
-
- //@Reference
- var catalog = new tuscany.sca.Reference("catalog");
-
- //@Reference
- var shoppingCart = new tuscany.sca.Reference("shoppingCart");
-
- //@Reference
- var shoppingTotal = new tuscany.sca.Reference("shoppingTotal");
-
- var catalogItems;
-
- function catalog_getResponse(items,exception) {
- if(exception){
- alert(exception.message);
- return;
- }
- var catalog = "";
-
- for (var i=0; i<items.length; i++) {
- var item = items[i].name + ' - ' + items[i].price;
- catalog += '<input name="items" type="checkbox" value="' +
- item + '">' + item + ' <br>';
- }
- document.getElementById('catalog').innerHTML=catalog;
- catalogItems = items;
- }
-
- function shoppingCart_getResponse(feed) {
- if (feed != null) {
- var entries = feed.getElementsByTagName("entry");
- var list = "";
- for (var i=0; i<entries.length; i++) {
- var content = entries[i].getElementsByTagName("content")[0];
- var name = content.getElementsByTagName("name")[0].firstChild.nodeValue;
- var price = content.getElementsByTagName("price")[0].firstChild.nodeValue;
- list += name + ' - ' + price + ' <br>';
- }
- document.getElementById("shoppingCart").innerHTML = list;
-
- if (entries.length != 0) {
- try {
- shoppingTotal.getTotal().addCallback(shoppingTotal_getTotalResponse);
- }
- catch(e){
- alert(e);
- }
- }
- }
- }
-
- function shoppingTotal_getTotalResponse(total,exception) {
- if(exception) {
- alert(exception.message);
- return;
- }
- document.getElementById('total').innerHTML = total;
- }
-
- function shoppingCart_postResponse(entry) {
- shoppingCart.get("").addCallback(shoppingCart_getResponse);
- }
-
- function addToCart() {
- var items = document.catalogForm.items;
- var j = 0;
- for (var i=0; i<items.length; i++) {
- if (items[i].checked) {
- var entry = '<entry xmlns="http://www.w3.org/2005/Atom"><title>item</title><content type="text/xml">' +
- '<Item xmlns="http://services/">' +
- '<name xmlns="">' + catalogItems[i].name + '</name>' + '<price xmlns="">' + catalogItems[i].price + '</price>' +
- '</Item>' + '</content></entry>';
- shoppingCart.post(entry).addCallback(shoppingCart_postResponse);
- items[i].checked = false;
- }
- }
- }
- function checkoutCart() {
- document.getElementById('store').innerHTML='<h2>' +
- 'Thanks for Shopping With Us!</h2>'+
- '<h2>Your Order</h2>'+
- '<form name="orderForm">'+
- document.getElementById('shoppingCart').innerHTML+
- '<br>'+
- document.getElementById('total').innerHTML+
- '<br>'+
- '<br>'+
- '<input type="submit" value="Continue Shopping">'+
- '</form>';
- shoppingCart.del("");
- }
- function deleteCart() {
- shoppingCart.del("");
- document.getElementById('shoppingCart').innerHTML = "";
- document.getElementById('total').innerHTML = "";
- }
-
- function init() {
- try {
- catalog.get().addCallback(catalog_getResponse);
- shoppingCart.get("").addCallback(shoppingCart_getResponse);
- }
- catch(e){
- alert(e);
- }
- }
-
-</script>
-
-</head>
-
-<body onload="init()">
-<h1>Store</h1>
- <div id="store">
- <h2>Catalog</h2>
- <form name="catalogForm">
- <div id="catalog" ></div>
- <br>
- <input type="button" onClick="addToCart()" value="Add to Cart">
- </form>
-
- <br>
-
- <h2>Your Shopping Cart</h2>
- <form name="shoppingCartForm">
- <div id="shoppingCart"></div>
- <br>
- <div id="total"></div>
- <br>
- <input type="button" onClick="checkoutCart()" value="Checkout">
- <input type="button" onClick="deleteCart()" value="Empty">
- <a href="../ShoppingCart/Cart/">(feed)</a>
- </form>
- </div>
-</body>
-</html>
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/src/test/java/client/Shopper.java b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/src/test/java/client/Shopper.java
deleted file mode 100644
index 4e2fa63493..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/src/test/java/client/Shopper.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * 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.
- */
-
-package client;
-
-import org.oasisopen.sca.annotation.Remotable;
-
-@Remotable
-public interface Shopper {
-
- String shop(String itemName, int quantity);
-
-}
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/src/test/java/client/ShopperImpl.java b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/src/test/java/client/ShopperImpl.java
deleted file mode 100644
index 05b1800d4f..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/src/test/java/client/ShopperImpl.java
+++ /dev/null
@@ -1,64 +0,0 @@
-/*
- * 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.
- */
-
-package client;
-
-import org.apache.tuscany.sca.data.collection.NotFoundException;
-import org.oasisopen.sca.annotation.Reference;
-
-import services.Cart;
-import services.Catalog;
-import services.Item;
-import services.Total;
-
-public class ShopperImpl implements Shopper {
-
- @Reference
- public Catalog catalog;
-
- @Reference
- public Cart shoppingCart;
-
- @Reference
- public Total shoppingTotal;
-
- public String shop(String itemName, int quantity) {
-
- Item[] items = catalog.get();
- for (Item item: items) {
- if (item.getName().startsWith(itemName)) {
-
- try {
- shoppingCart.delete("");
- } catch (NotFoundException e) {
- // ignore
- }
-
- for (int i = 0; i < quantity; i++) {
- shoppingCart.post("item" + i, item);
- }
-
- return shoppingTotal.getTotal();
- }
- }
-
- return "";
- }
-
-}
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/src/test/java/store/StoreTestCase.java b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/src/test/java/store/StoreTestCase.java
deleted file mode 100644
index 7fa866d1c6..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/src/test/java/store/StoreTestCase.java
+++ /dev/null
@@ -1,121 +0,0 @@
-/*
- * 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.
- */
-
-package store;
-
-import java.io.IOException;
-import java.net.MalformedURLException;
-
-import junit.framework.Assert;
-
-import org.apache.tuscany.sca.node.Contribution;
-import org.apache.tuscany.sca.node.ContributionLocationHelper;
-import org.apache.tuscany.sca.node.Node;
-import org.apache.tuscany.sca.node.NodeFactory;
-import org.junit.AfterClass;
-import org.junit.BeforeClass;
-import org.junit.Ignore;
-import org.junit.Test;
-
-import client.Shopper;
-
-import com.gargoylesoftware.htmlunit.BrowserVersion;
-import com.gargoylesoftware.htmlunit.FailingHttpStatusCodeException;
-import com.gargoylesoftware.htmlunit.NicelyResynchronizingAjaxController;
-import com.gargoylesoftware.htmlunit.WebClient;
-import com.gargoylesoftware.htmlunit.html.HtmlCheckBoxInput;
-import com.gargoylesoftware.htmlunit.html.HtmlForm;
-import com.gargoylesoftware.htmlunit.html.HtmlPage;
-
-
-/**
- * Test the store-merger.
- *
- * @version $Rev$ $Date$
- */
-public class StoreTestCase {
- private static Node nodeStore;
-
- public static void main(String[] args) throws Exception {
- setUp();
- testWaitForInput();
- tearDown();
- }
-
- @BeforeClass
- public static void setUp() throws Exception {
- String storeLocation = ContributionLocationHelper.getContributionLocation("store.composite");
- String storeClientLocation = ContributionLocationHelper.getContributionLocation("store-client.composite");
-
- nodeStore = NodeFactory.newInstance().createNode(new Contribution("store", storeLocation), new Contribution("storeClient", storeClientLocation));
- nodeStore.start();
- }
-
- @AfterClass
- public static void tearDown() throws Exception {
- nodeStore.stop();
- }
-
- public static void testWaitForInput() {
- try {
- System.out.println("press enter to continue)");
- System.in.read();
- } catch (IOException e) {
- e.printStackTrace();
- }
- }
-
- @Test
- public void testShop() {
- Shopper shopper = nodeStore.getService(Shopper.class, "StoreClient");
-
- String total = shopper.shop("Orange", 5);
- System.out.println("Total: " + total);
-
- Assert.assertEquals("$17.75", total);
-
- }
-
- @Test
- public void testStoreWidget() throws FailingHttpStatusCodeException, MalformedURLException, IOException {
- WebClient webClient = new WebClient(BrowserVersion.FIREFOX_3);
- webClient.setRedirectEnabled(true);
- webClient.setThrowExceptionOnScriptError(false);
- //webClient.waitForBackgroundJavaScript(100000);
- //webClient.waitForBackgroundJavaScriptStartingBefore(100000);
- webClient.setAjaxController(new NicelyResynchronizingAjaxController());
-
- HtmlPage page = (HtmlPage) webClient.getPage("http://localhost:8080/store/store.html");
-
- HtmlForm form = (HtmlForm) page.getFormByName("catalogForm");
-
- try {
- Thread.sleep(1000);
- } catch (InterruptedException e) {
- }
-
- HtmlCheckBoxInput catalogItems = (HtmlCheckBoxInput) form.getInputByName("items");
-
- System.out.println(">>>" + catalogItems.getAttribute("value"));
- Assert.assertEquals("Apple - $2.99", catalogItems.getAttribute("value"));
-
- webClient.closeAllWindows();
- }
-
-}
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/src/test/resources/store-client.composite b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/src/test/resources/store-client.composite
deleted file mode 100644
index c9abe8e996..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/src/test/resources/store-client.composite
+++ /dev/null
@@ -1,38 +0,0 @@
-<?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.
--->
-<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912"
- xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.1"
- targetNamespace="http://store"
- name="store-client">
-
- <component name="StoreClient">
- <implementation.java class="client.ShopperImpl"/>
- <reference name="catalog">
- <tuscany:binding.jsonrpc uri="http://localhost:8080/Catalog"/>
- </reference>
- <reference name="shoppingCart">
- <tuscany:binding.atom uri="http://localhost:8080/ShoppingCart/Cart"/>
- </reference>
- <reference name="shoppingTotal">
- <tuscany:binding.jsonrpc uri="http://localhost:8080/ShoppingCart/Total"/>
- </reference>
- </component>
-
-</composite>
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/store.png b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/store.png
deleted file mode 100644
index da413edeee..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/store.png
+++ /dev/null
Binary files differ
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/store.svg b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/store.svg
deleted file mode 100644
index 74f8ecd36d..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/applications/store/store.svg
+++ /dev/null
@@ -1,304 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!--
- * 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.
--->
-<!-- Created with Inkscape (http://www.inkscape.org/) -->
-<svg
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:cc="http://web.resource.org/cc/"
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:svg="http://www.w3.org/2000/svg"
- xmlns="http://www.w3.org/2000/svg"
- xmlns:xlink="http://www.w3.org/1999/xlink"
- xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
- xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
- width="1052.3622"
- height="744.09448"
- id="svg2"
- sodipodi:version="0.32"
- inkscape:version="0.45.1"
- sodipodi:docbase="C:\simon\tuscany\java-head\sca\samples\store"
- sodipodi:docname="store.svg"
- version="1.0"
- inkscape:output_extension="org.inkscape.output.svg.inkscape"
- inkscape:export-filename="C:\simon\tuscany\java-head\sca\samples\store\store.png"
- inkscape:export-xdpi="52.84"
- inkscape:export-ydpi="52.84">
- <defs
- id="defs4" />
- <sodipodi:namedview
- id="base"
- pagecolor="#ffffff"
- bordercolor="#666666"
- borderopacity="1.0"
- gridtolerance="10000"
- guidetolerance="10"
- objecttolerance="10"
- inkscape:pageopacity="0.0"
- inkscape:pageshadow="2"
- inkscape:zoom="1.4"
- inkscape:cx="538.06165"
- inkscape:cy="341.69129"
- inkscape:document-units="px"
- inkscape:current-layer="g2997"
- inkscape:window-width="1466"
- inkscape:window-height="831"
- inkscape:window-x="117"
- inkscape:window-y="80" />
- <metadata
- id="metadata7">
- <rdf:RDF>
- <cc:Work
- rdf:about="">
- <dc:format>image/svg+xml</dc:format>
- <dc:type
- rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
- </cc:Work>
- </rdf:RDF>
- </metadata>
- <g
- inkscape:label="Layer 1"
- inkscape:groupmode="layer"
- id="layer1">
- <g
- id="g2997">
- <rect
- rx="14.335117"
- ry="17.743465"
- y="197.1973"
- x="447.35422"
- height="419.39099"
- width="464.23727"
- id="rect2067"
- style="opacity:1;fill:#90baf4;fill-opacity:1;stroke:#060000;stroke-width:2.28840661;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
- <flowRoot
- id="flowRoot2954"
- xml:space="preserve"
- transform="translate(189.90868,1.0101522)"><flowRegion
- id="flowRegion2956"><rect
- y="212.66591"
- x="281.42856"
- height="61.42857"
- width="170"
- id="rect2958" /></flowRegion><flowPara
- id="flowPara2171">store</flowPara></flowRoot> <rect
- style="fill:#317fed;fill-opacity:1;stroke:#060000;stroke-width:2.30182266;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
- id="rect2175"
- width="118.21779"
- height="111.27543"
- x="491.60019"
- y="247.75989"
- rx="7.1507306"
- ry="9.2311935" />
- <flowRoot
- xml:space="preserve"
- id="flowRoot2177"
- transform="translate(223.8585,41.670449)"><flowRegion
- id="flowRegion2179"><rect
- id="rect2181"
- width="170"
- height="61.42857"
- x="281.42856"
- y="212.66591" /></flowRegion><flowPara
- id="flowPara2183">ufs</flowPara></flowRoot> <path
- style="fill:#5b9d05;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
- d="M 474.29877,279.45598 L 507.63381,279.45598 L 513.69472,292.58796 L 506.62366,304.7098 L 474.29877,304.7098 L 481.87492,292.58796 L 474.29877,279.45598 z "
- id="path2187" />
- <rect
- style="fill:#317fed;fill-opacity:1;stroke:#060000;stroke-width:2;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
- id="rect2191"
- width="115.66247"
- height="85.862968"
- x="493.07068"
- y="503.27759"
- rx="6.9961648"
- ry="7.1230249" />
- <flowRoot
- xml:space="preserve"
- id="flowRoot2193"
- transform="translate(225.47992,297.33908)"><flowRegion
- id="flowRegion2195"><rect
- id="rect2197"
- width="170"
- height="61.42857"
- x="281.42856"
- y="212.66591" /></flowRegion><flowPara
- id="flowPara2199">ShoppingCart</flowPara></flowRoot> <path
- style="fill:#5b9d05;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
- d="M 475.92019,535.12461 L 509.25523,535.12461 L 515.31614,548.25659 L 508.24508,560.37843 L 475.92019,560.37843 L 483.49634,548.25659 L 475.92019,535.12461 z "
- id="path2203" />
- <rect
- style="fill:#317fed;fill-opacity:1;stroke:#060000;stroke-width:2;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
- id="rect2207"
- width="115.66247"
- height="85.862968"
- x="761.44415"
- y="391.31604"
- rx="6.9961648"
- ry="7.1230249" />
- <flowRoot
- xml:space="preserve"
- id="flowRoot2209"
- transform="translate(487.8534,185.37751)"><flowRegion
- id="flowRegion2211"><rect
- id="rect2213"
- width="170"
- height="61.42857"
- x="281.42856"
- y="212.66591" /></flowRegion><flowPara
- id="flowPara2215">CurrencyConverter</flowPara></flowRoot> <path
- style="fill:#5b9d05;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
- d="M 744.29367,423.16304 L 777.62871,423.16304 L 783.68962,436.29502 L 776.61856,448.41686 L 744.29367,448.41686 L 751.86982,436.29502 L 744.29367,423.16304 z "
- id="path2219" />
- <rect
- style="opacity:1;fill:#0064ff;fill-opacity:1;stroke:#000000;stroke-width:0.9612025;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
- id="rect2223"
- width="104.08451"
- height="113.17588"
- x="138.37151"
- y="350.1156"
- rx="0"
- ry="0.048917599" />
- <path
- style="fill:#1a73fe;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;fill-opacity:1"
- d="M 138.21429,462.66591 L 115.35714,479.80877 L 267.85714,479.80877 L 241.78571,463.02305 L 138.21429,462.66591 z "
- id="path3197" />
- <rect
- style="opacity:1;fill:#f1f4f8;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
- id="rect3199"
- width="92.5"
- height="97.14286"
- x="143.57143"
- y="358.38019"
- ry="3.6203461"
- rx="3.9285715" />
- <image
- y="366.6889"
- x="156.24066"
- id="image3323"
- height="78.571434"
- width="58.57143"
- sodipodi:absref="C:\simon\tuscany\evangelism\whitepapers\shoppingcart.png"
- xlink:href="C:\simon\tuscany\evangelism\whitepapers\shoppingcart.png" />
- <image
- y="270.52304"
- x="526.42859"
- id="image3342"
- height="78.571434"
- width="58.57143"
- sodipodi:absref="C:\simon\tuscany\evangelism\whitepapers\shoppingcart.png"
- xlink:href="C:\simon\tuscany\evangelism\whitepapers\shoppingcart.png" />
- <path
- style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
- d="M 242.85714,374.80877 C 245.71429,374.80877 345.71429,374.80877 345.71429,374.80877 L 345.71429,291.95162 L 481.42858,291.95162"
- id="path3348"
- sodipodi:nodetypes="cccc" />
- <path
- style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
- d="M 210.71429,406.95163 L 345,406.95163 L 345,437.66591 L 481.42857,437.66591"
- id="path3350"
- sodipodi:nodetypes="cccc" />
- <path
- style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
- d="M 210.71429,439.09448 L 325.71429,439.09448 L 325.71429,548.3802 L 482.85714,548.3802"
- id="path3352"
- sodipodi:nodetypes="cccc" />
- <path
- style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
- d="M 626.42857,436.23734 C 750,437.66591 752.14286,436.23734 752.14286,436.23734"
- id="path3354"
- sodipodi:nodetypes="cc" />
- <flowRoot
- xml:space="preserve"
- id="flowRoot3356"
- transform="translate(-94.285714,25)"><flowRegion
- id="flowRegion3358"><rect
- id="rect3360"
- width="142.14285"
- height="21.428572"
- x="655"
- y="349.80878" /></flowRegion><flowPara
- id="flowPara3362">CurrenyCode</flowPara></flowRoot> <flowRoot
- xml:space="preserve"
- id="flowRoot3364"
- transform="translate(-250.76562,-76.210859)"><flowRegion
- id="flowRegion3366"><rect
- id="rect3368"
- width="142.14285"
- height="21.428572"
- x="655"
- y="349.80878" /></flowRegion><flowPara
- id="flowPara3370">HTTP</flowPara></flowRoot> <flowRoot
- xml:space="preserve"
- id="flowRoot3372"
- transform="translate(-273.62277,70.931998)"><flowRegion
- id="flowRegion3374"><rect
- id="rect3376"
- width="142.14285"
- height="21.428572"
- x="655"
- y="349.80878" /></flowRegion><flowPara
- id="flowPara3378">JSONRPC</flowPara></flowRoot> <flowRoot
- xml:space="preserve"
- id="flowRoot3380"
- transform="translate(-243.62277,183.07485)"><flowRegion
- id="flowRegion3382"><rect
- id="rect3384"
- width="142.14285"
- height="21.428572"
- x="655"
- y="349.80878" /></flowRegion><flowPara
- id="flowPara3386">Atom</flowPara></flowRoot> </g>
- <rect
- style="fill:#317fed;fill-opacity:1;stroke:#060000;stroke-width:2;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
- id="rect2988"
- width="115.66247"
- height="85.862968"
- x="491.56897"
- y="392.70135"
- rx="6.9961648"
- ry="7.1230249" />
- <flowRoot
- xml:space="preserve"
- id="flowRoot2966"
- transform="translate(223.97819,186.76283)"><flowRegion
- id="flowRegion2968"><rect
- id="rect2970"
- width="170"
- height="61.42857"
- x="281.42856"
- y="212.66591" /></flowRegion><flowPara
- id="flowPara2972">Catalog</flowPara></flowRoot> <rect
- style="opacity:1;fill:#fff62c;fill-opacity:1;stroke:#060000;stroke-width:1;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
- id="rect3006"
- width="21.718224"
- height="20.708065"
- x="537.53094"
- y="377.04398"
- rx="10.859112"
- ry="0" />
- <path
- style="fill:#5b9d05;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
- d="M 474.41846,424.54836 L 507.7535,424.54836 L 513.81441,437.68034 L 506.74335,449.80218 L 474.41846,449.80218 L 481.99461,437.68034 L 474.41846,424.54836 z "
- id="path3017" />
- <path
- style="fill:#ae62bf;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
- d="M 587.6709,422.71008 L 621.00594,422.71008 L 627.06685,435.84206 L 619.99579,447.9639 L 587.6709,447.9639 L 595.24705,435.84206 L 587.6709,422.71008 z "
- id="path3019" />
- </g>
-</svg>
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/getting-started.odt b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/getting-started.odt
deleted file mode 100644
index 078cce7478..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/getting-started.odt
+++ /dev/null
Binary files differ
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/getting-started.pdf b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/getting-started.pdf
deleted file mode 100644
index 23f272d0c2..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/getting-started.pdf
+++ /dev/null
Binary files differ
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-ant/README b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-ant/README
deleted file mode 100644
index fc306caa34..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-ant/README
+++ /dev/null
@@ -1,43 +0,0 @@
-Tuscany - Getting Started - Helloworld Sample
----------------------------------------------
-
-This sample demonstrates a simple helloworld style SCA application and how to run that with Tuscany.
-
-See the README in the top-level samples folder for general information on the Tuscany samples.
-
-This project creates an SCA contribution with a deployable composite named helloworld.composite.
-The composite defines an SCA component, HelloworldComponent, which provides a Helloworld service,
-the component is implemented by a Java class.
-
-You can use the contribution by starting the composite in the Tuscany Shell. To do that run the
-following command in the helloworld folder:
-
- mvn tuscany:run
-
-Alternatively, the Tuscany Shell can be started with the scripts in the Tuscany binary distribution
-bin folder. To do that run the following command at the root of a Tuscany binary distribution:
-
- bin\tuscany.bat samples\getting-started\helloworld
-
-Once the Shell has been started with one of those methods you can use Shell commands to explore
-the SCA domain, for example, use the "installed" command to get the status of installed contributions,
-"services" to see the available component services, and you may test calling the helloworld service by
-using the "invoke" command:
-
- invoke HelloworldComponent sayHello yourName
-
----
-
-This sample was created by the Tuscany contribution-jar Maven archetype. You can use that archetype to
-create your own SCA contribution projects by running the following Maven command:
-
- mvn archetype:generate -DarchetypeCatalog=http://tuscany.apache.org
-
-then at the prompt select 1 to choose the contribution-jar archetype and then answer the questions.
-This project used the following answers:
-
- Define value for property 'groupId': : org.apache.tuscany.sca.samples
- Define value for property 'artifactId': : helloworld-contribution
- Define value for property 'version': 1.0-SNAPSHOT: 2.0-SNAPSHOT
- Define value for property 'package': org.apache.tuscany.sca.samples: sample
-
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-ant/build.xml b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-ant/build.xml
deleted file mode 100644
index d4f0d44c32..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-ant/build.xml
+++ /dev/null
@@ -1,41 +0,0 @@
-<?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.
--->
-
-<!-- ====================================================================== -->
-<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. -->
-<!-- ====================================================================== -->
-
-<project name="helloworld" default="package" basedir=".">
-
- <!-- ====================================================================== -->
- <!-- Import maven-build.xml into the current project -->
- <!-- ====================================================================== -->
-
- <import file="maven-build.xml"/>
-
- <!-- ====================================================================== -->
- <!-- Help target -->
- <!-- ====================================================================== -->
-
- <target name="help">
- <echo message="Please run: $ant -projecthelp"/>
- </target>
-
-</project>
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-ant/maven-build.properties b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-ant/maven-build.properties
deleted file mode 100644
index ed8ceeb73b..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-ant/maven-build.properties
+++ /dev/null
@@ -1,28 +0,0 @@
-#Generated by Maven Ant Plugin - DO NOT EDIT THIS FILE!
-#Sun Apr 10 08:39:39 BST 2011
-maven.settings.offline=true
-maven.build.finalName=helloworld-ant-2.0-SNAPSHOT
-maven.build.resourceDir.1=.
-maven.build.resourceDir.0=src/main/resources
-maven.build.testOutputDir=${maven.build.dir}/test-classes
-maven.build.testResourceDir.0=src/test/resources
-maven.reporting.outputDirectory=${maven.build.dir}/site
-project.build.sourceEncoding=UTF-8
-distMgmtSnapshotsUrl=https\://repository.apache.org/content/repositories/snapshots
-maven.build.srcDir.0=src/main/java
-project.build.directory=${maven.build.dir}
-dojo.version=1.5.0
-maven.test.reports=${maven.build.dir}/test-reports
-maven.build.dir=target
-tuscany.version=2.0-SNAPSHOT
-project.build.outputDirectory=${maven.build.outputDir}
-project.reporting.outputEncoding=UTF-8
-organization.logo=http\://www.apache.org/images/asf_logo_wide.gif
-maven.build.testDir.0=src/test/java
-maven.settings.interactiveMode=true
-tools.jar=C\:\\Java\\jdk1.6.0_21\\jre/../lib/tools.jar
-notice.dir=.
-sourceReleaseAssemblyDescriptor=source-release
-maven.repo.local=${user.home}/.m2/repository
-distMgmtSnapshotsName=Apache Development Snapshot Repository
-maven.build.outputDir=${maven.build.dir}/classes
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-ant/maven-build.xml b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-ant/maven-build.xml
deleted file mode 100644
index ea416dd750..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-ant/maven-build.xml
+++ /dev/null
@@ -1,366 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- ====================================================================== -->
-<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. -->
-<!-- ====================================================================== -->
-
-<!-- ====================================================================== -->
-<!-- ===================== - DO NOT EDIT THIS FILE! - ===================== -->
-<!-- ====================================================================== -->
-<!-- -->
-<!-- Any modifications will be overwritten. -->
-<!-- -->
-<!-- Generated by Maven Ant Plugin on 4/10/11 8:39 AM -->
-<!-- See: http://maven.apache.org/plugins/maven-ant-plugin/ -->
-<!-- -->
-<!-- ====================================================================== -->
-
-<project name="helloworld-ant-from-maven" default="package" basedir=".">
-
- <!-- ====================================================================== -->
- <!-- Build environment properties -->
- <!-- ====================================================================== -->
-
- <property file="${user.home}/.m2/maven.properties"/>
- <property file="maven-build.properties"/>
-
- <property name="maven.build.finalName" value="helloworld-ant-2.0-Beta3"/>
- <property name="maven.build.dir" value="target"/>
- <property name="maven.build.outputDir" value="${maven.build.dir}/classes"/>
- <property name="maven.build.srcDir.0" value="src/main/java"/>
- <property name="maven.build.resourceDir.0" value="src/main/resources"/>
- <property name="maven.build.resourceDir.1" value="."/>
- <property name="maven.build.testOutputDir" value="${maven.build.dir}/test-classes"/>
- <property name="maven.build.testDir.0" value="src/test/java"/>
- <property name="maven.build.testResourceDir.0" value="src/test/resources"/>
- <property name="maven.test.reports" value="${maven.build.dir}/test-reports"/>
- <property name="maven.reporting.outputDirectory" value="${maven.build.dir}/site"/>
-
- <property name="maven.repo.local" value="${user.home}/.m2/repository"/>
- <property name="maven.settings.offline" value="true"/>
- <property name="maven.settings.interactiveMode" value="true"/>
-
- <!-- ====================================================================== -->
- <!-- Defining classpaths -->
- <!-- ====================================================================== -->
-
- <path id="build.classpath">
- <pathelement location="${maven.repo.local}/org/apache/tuscany/sca/tuscany-sca-api/2.0-Beta3/tuscany-sca-api-2.0-Beta3.jar"/>
- </path>
- <path id="build.test.classpath">
- <pathelement location="${maven.repo.local}/org/apache/tuscany/sca/tuscany-sca-api/2.0-Beta3/tuscany-sca-api-2.0-Beta3.jar"/>
- <pathelement location="${maven.repo.local}/junit/junit/4.8.1/junit-4.8.1.jar"/>
- <pathelement location="${maven.repo.local}/org/apache/tuscany/sca/tuscany-base-runtime/2.0-Beta3/tuscany-base-runtime-2.0-Beta3.jar"/>
- <pathelement location="${maven.repo.local}/org/apache/ws/commons/schema/XmlSchema/1.4.3/XmlSchema-1.4.3.jar"/>
- <pathelement location="${maven.repo.local}/wsdl4j/wsdl4j/1.6.2/wsdl4j-1.6.2.jar"/>
- <pathelement location="${maven.repo.local}/cglib/cglib/2.2/cglib-2.2.jar"/>
- <pathelement location="${maven.repo.local}/asm/asm/3.1/asm-3.1.jar"/>
- </path>
-
- <!-- ====================================================================== -->
- <!-- Cleaning up target -->
- <!-- ====================================================================== -->
-
- <target name="clean" description="Clean the output directory">
- <delete dir="${maven.build.dir}"/>
- </target>
-
- <!-- ====================================================================== -->
- <!-- Compilation target -->
- <!-- ====================================================================== -->
-
- <target name="compile" depends="get-deps" description="Compile the code">
- <mkdir dir="${maven.build.outputDir}"/>
- <javac destdir="${maven.build.outputDir}"
- encoding="UTF-8"
- nowarn="false"
- debug="true"
- optimize="false"
- deprecation="true"
- target="1.6"
- verbose="false"
- fork="true"
- memoryMaximumSize="512m"
- memoryInitialSize="1024m"
- source="1.6">
- <src>
- <pathelement location="${maven.build.srcDir.0}"/>
- </src>
- <classpath refid="build.classpath"/>
- </javac>
- <copy todir="${maven.build.outputDir}">
- <fileset dir="${maven.build.resourceDir.0}"/>
- </copy>
- <copy todir="${maven.build.outputDir}">
- <fileset dir="${maven.build.resourceDir.1}">
- <include name="LICENSE"/>
- <include name="NOTICE"/>
- <include name="README"/>
- <include name="META-INF/**/*"/>
- <include name="OSGI-INF/**/*"/>
- </fileset>
- </copy>
- </target>
-
- <!-- ====================================================================== -->
- <!-- Test-compilation target -->
- <!-- ====================================================================== -->
-
- <target name="compile-tests"
- depends="compile"
- description="Compile the test code"
- unless="maven.test.skip">
- <mkdir dir="${maven.build.testOutputDir}"/>
- <javac destdir="${maven.build.testOutputDir}"
- encoding="UTF-8"
- nowarn="false"
- debug="true"
- optimize="false"
- deprecation="true"
- target="1.6"
- verbose="false"
- fork="true"
- memoryMaximumSize="512m"
- memoryInitialSize="1024m"
- source="1.6">
- <src>
- <pathelement location="${maven.build.testDir.0}"/>
- </src>
- <classpath>
- <path refid="build.test.classpath"/>
- <pathelement location="${maven.build.outputDir}"/>
- </classpath>
- </javac>
- </target>
-
- <!-- ====================================================================== -->
- <!-- Run all tests -->
- <!-- ====================================================================== -->
-
- <target name="test"
- depends="compile-tests, junit-missing"
- unless="junit.skipped"
- description="Run the test cases">
- <mkdir dir="${maven.test.reports}"/>
- <junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true" dir=".">
- <sysproperty key="basedir" value="."/>
- <formatter type="xml"/>
- <formatter type="plain" usefile="false"/>
- <classpath>
- <path refid="build.test.classpath"/>
- <pathelement location="${maven.build.outputDir}"/>
- <pathelement location="${maven.build.testOutputDir}"/>
- </classpath>
- <batchtest todir="${maven.test.reports}" unless="test">
- <fileset dir="${maven.build.testDir.0}">
- <include name="**/*TestCase.java"/>
- <exclude name="**/*Abstract*Test.java"/>
- </fileset>
- </batchtest>
- <batchtest todir="${maven.test.reports}" if="test">
- <fileset dir="${maven.build.testDir.0}">
- <include name="**/${test}.java"/>
- <exclude name="**/*Abstract*Test.java"/>
- </fileset>
- </batchtest>
- </junit>
- </target>
-
- <target name="test-junit-present">
- <available classname="junit.framework.Test" property="junit.present"/>
- </target>
-
- <target name="test-junit-status"
- depends="test-junit-present">
- <condition property="junit.missing">
- <and>
- <isfalse value="${junit.present}"/>
- <isfalse value="${maven.test.skip}"/>
- </and>
- </condition>
- <condition property="junit.skipped">
- <or>
- <isfalse value="${junit.present}"/>
- <istrue value="${maven.test.skip}"/>
- </or>
- </condition>
- </target>
-
- <target name="junit-missing"
- depends="test-junit-status"
- if="junit.missing">
- <echo>=================================== WARNING ===================================</echo>
- <echo> JUnit is not present in your $ANT_HOME/lib directory. Tests not executed.</echo>
- <echo>===============================================================================</echo>
- </target>
-
- <!-- ====================================================================== -->
- <!-- Javadoc target -->
- <!-- ====================================================================== -->
-
- <target name="javadoc" description="Generates the Javadoc of the application">
- <javadoc sourcepath="${maven.build.srcDir.0}"
- packagenames="*"
- destdir="${maven.reporting.outputDirectory}/apidocs"
- access="protected"
- old="false"
- verbose="false"
- version="true"
- use="true"
- author="true"
- splitindex="false"
- nodeprecated="false"
- nodeprecatedlist="false"
- notree="false"
- noindex="false"
- nohelp="false"
- nonavbar="false"
- serialwarn="false"
- charset="ISO-8859-1"
- linksource="false"
- breakiterator="false"
- maxmemory="1024m">
- <group title="Extension Developer&apos;s SPIs (Work in Progress)"/>
- <tag name="tuscany.spi.extension.inheritfrom"
- scope="t"
- description="Provides part of the Tuscany SPI for Extension Developers by specialization of this class/interface"/>
- <tag name="tuscany.spi.extension.asclient"
- scope="t"
- description="Provides part of the Tuscany SPI for Extension Developers by calling methods on this interface/class."/>
- <tag name="tuscany.spi.extension"
- scope="a"
- description="Elements of the Tuscany SPI for Extension developers are provided."/>
- </javadoc>
- </target>
-
- <!-- ====================================================================== -->
- <!-- Package target -->
- <!-- ====================================================================== -->
-
- <target name="package" depends="compile,test" description="Package the application">
- <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar"
- compress="true"
- index="false"
- basedir="${maven.build.outputDir}"
- excludes="**/package.html">
- <manifest>
- <attribute name="Main-Class"/>
- </manifest>
- </jar>
- </target>
-
- <!-- ====================================================================== -->
- <!-- A dummy target for the package named after the type it creates -->
- <!-- ====================================================================== -->
-
- <target name="jar" depends="package" description="Builds the jar for the application"/>
-
- <!-- ====================================================================== -->
- <!-- Download dependencies target -->
- <!-- ====================================================================== -->
-
- <target name="test-offline">
- <condition property="maven.mode.offline">
- <equals arg1="${maven.settings.offline}" arg2="true"/>
- </condition>
- </target>
-
- <target name="get-deps"
- depends="test-offline"
- description="Download all dependencies"
- unless="maven.mode.offline">
- <mkdir dir="${maven.repo.local}"/>
- <mkdir dir="${maven.repo.local}/org/apache/tuscany/sca/tuscany-sca-api/2.0-Beta3"/>
- <get src="http://svn.apache.org/repos/asf/tuscany/maven/org/apache/tuscany/sca/tuscany-sca-api/2.0-Beta3/tuscany-sca-api-2.0-Beta3.jar"
- dest="${maven.repo.local}/org/apache/tuscany/sca/tuscany-sca-api/2.0-Beta3/tuscany-sca-api-2.0-Beta3.jar"
- usetimestamp="false"
- ignoreerrors="true"/>
- <get src="http://repository.apache.org/snapshots/org/apache/tuscany/sca/tuscany-sca-api/2.0-Beta3/tuscany-sca-api-2.0-Beta3.jar"
- dest="${maven.repo.local}/org/apache/tuscany/sca/tuscany-sca-api/2.0-Beta3/tuscany-sca-api-2.0-Beta3.jar"
- usetimestamp="false"
- ignoreerrors="true"/>
- <get src="http://repo1.maven.org/maven2/org/apache/tuscany/sca/tuscany-sca-api/2.0-Beta3/tuscany-sca-api-2.0-Beta3.jar"
- dest="${maven.repo.local}/org/apache/tuscany/sca/tuscany-sca-api/2.0-Beta3/tuscany-sca-api-2.0-Beta3.jar"
- usetimestamp="false"
- ignoreerrors="true"/>
- <mkdir dir="${maven.repo.local}/junit/junit/4.8.1"/>
- <get src="http://svn.apache.org/repos/asf/tuscany/maven/junit/junit/4.8.1/junit-4.8.1.jar"
- dest="${maven.repo.local}/junit/junit/4.8.1/junit-4.8.1.jar"
- usetimestamp="false"
- ignoreerrors="true"/>
- <get src="http://repository.apache.org/snapshots/junit/junit/4.8.1/junit-4.8.1.jar"
- dest="${maven.repo.local}/junit/junit/4.8.1/junit-4.8.1.jar"
- usetimestamp="false"
- ignoreerrors="true"/>
- <get src="http://repo1.maven.org/maven2/junit/junit/4.8.1/junit-4.8.1.jar"
- dest="${maven.repo.local}/junit/junit/4.8.1/junit-4.8.1.jar"
- usetimestamp="false"
- ignoreerrors="true"/>
- <mkdir dir="${maven.repo.local}/org/apache/tuscany/sca/tuscany-base-runtime/2.0-Beta3"/>
- <get src="http://svn.apache.org/repos/asf/tuscany/maven/org/apache/tuscany/sca/tuscany-base-runtime/2.0-Beta3/tuscany-base-runtime-2.0-Beta3.jar"
- dest="${maven.repo.local}/org/apache/tuscany/sca/tuscany-base-runtime/2.0-Beta3/tuscany-base-runtime-2.0-Beta3.jar"
- usetimestamp="false"
- ignoreerrors="true"/>
- <get src="http://repository.apache.org/snapshots/org/apache/tuscany/sca/tuscany-base-runtime/2.0-Beta3/tuscany-base-runtime-2.0-Beta3.jar"
- dest="${maven.repo.local}/org/apache/tuscany/sca/tuscany-base-runtime/2.0-Beta3/tuscany-base-runtime-2.0-Beta3.jar"
- usetimestamp="false"
- ignoreerrors="true"/>
- <get src="http://repo1.maven.org/maven2/org/apache/tuscany/sca/tuscany-base-runtime/2.0-Beta3/tuscany-base-runtime-2.0-Beta3.jar"
- dest="${maven.repo.local}/org/apache/tuscany/sca/tuscany-base-runtime/2.0-Beta3/tuscany-base-runtime-2.0-Beta3.jar"
- usetimestamp="false"
- ignoreerrors="true"/>
- <mkdir dir="${maven.repo.local}/org/apache/ws/commons/schema/XmlSchema/1.4.3"/>
- <get src="http://svn.apache.org/repos/asf/tuscany/maven/org/apache/ws/commons/schema/XmlSchema/1.4.3/XmlSchema-1.4.3.jar"
- dest="${maven.repo.local}/org/apache/ws/commons/schema/XmlSchema/1.4.3/XmlSchema-1.4.3.jar"
- usetimestamp="false"
- ignoreerrors="true"/>
- <get src="http://repository.apache.org/snapshots/org/apache/ws/commons/schema/XmlSchema/1.4.3/XmlSchema-1.4.3.jar"
- dest="${maven.repo.local}/org/apache/ws/commons/schema/XmlSchema/1.4.3/XmlSchema-1.4.3.jar"
- usetimestamp="false"
- ignoreerrors="true"/>
- <get src="http://repo1.maven.org/maven2/org/apache/ws/commons/schema/XmlSchema/1.4.3/XmlSchema-1.4.3.jar"
- dest="${maven.repo.local}/org/apache/ws/commons/schema/XmlSchema/1.4.3/XmlSchema-1.4.3.jar"
- usetimestamp="false"
- ignoreerrors="true"/>
- <mkdir dir="${maven.repo.local}/wsdl4j/wsdl4j/1.6.2"/>
- <get src="http://svn.apache.org/repos/asf/tuscany/maven/wsdl4j/wsdl4j/1.6.2/wsdl4j-1.6.2.jar"
- dest="${maven.repo.local}/wsdl4j/wsdl4j/1.6.2/wsdl4j-1.6.2.jar"
- usetimestamp="false"
- ignoreerrors="true"/>
- <get src="http://repository.apache.org/snapshots/wsdl4j/wsdl4j/1.6.2/wsdl4j-1.6.2.jar"
- dest="${maven.repo.local}/wsdl4j/wsdl4j/1.6.2/wsdl4j-1.6.2.jar"
- usetimestamp="false"
- ignoreerrors="true"/>
- <get src="http://repo1.maven.org/maven2/wsdl4j/wsdl4j/1.6.2/wsdl4j-1.6.2.jar"
- dest="${maven.repo.local}/wsdl4j/wsdl4j/1.6.2/wsdl4j-1.6.2.jar"
- usetimestamp="false"
- ignoreerrors="true"/>
- <mkdir dir="${maven.repo.local}/cglib/cglib/2.2"/>
- <get src="http://svn.apache.org/repos/asf/tuscany/maven/cglib/cglib/2.2/cglib-2.2.jar"
- dest="${maven.repo.local}/cglib/cglib/2.2/cglib-2.2.jar"
- usetimestamp="false"
- ignoreerrors="true"/>
- <get src="http://repository.apache.org/snapshots/cglib/cglib/2.2/cglib-2.2.jar"
- dest="${maven.repo.local}/cglib/cglib/2.2/cglib-2.2.jar"
- usetimestamp="false"
- ignoreerrors="true"/>
- <get src="http://repo1.maven.org/maven2/cglib/cglib/2.2/cglib-2.2.jar"
- dest="${maven.repo.local}/cglib/cglib/2.2/cglib-2.2.jar"
- usetimestamp="false"
- ignoreerrors="true"/>
- <mkdir dir="${maven.repo.local}/asm/asm/3.1"/>
- <get src="http://svn.apache.org/repos/asf/tuscany/maven/asm/asm/3.1/asm-3.1.jar"
- dest="${maven.repo.local}/asm/asm/3.1/asm-3.1.jar"
- usetimestamp="false"
- ignoreerrors="true"/>
- <get src="http://repository.apache.org/snapshots/asm/asm/3.1/asm-3.1.jar"
- dest="${maven.repo.local}/asm/asm/3.1/asm-3.1.jar"
- usetimestamp="false"
- ignoreerrors="true"/>
- <get src="http://repo1.maven.org/maven2/asm/asm/3.1/asm-3.1.jar"
- dest="${maven.repo.local}/asm/asm/3.1/asm-3.1.jar"
- usetimestamp="false"
- ignoreerrors="true"/>
- </target>
-
-</project>
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-ant/pom.xml b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-ant/pom.xml
deleted file mode 100644
index 646cf33bbb..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-ant/pom.xml
+++ /dev/null
@@ -1,93 +0,0 @@
-<?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.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.apache.tuscany.sca.samples</groupId>
- <artifactId>tuscany-samples</artifactId>
- <version>2.0-Beta3</version>
- <relativePath/>
- </parent>
-
- <artifactId>helloworld-ant</artifactId>
- <version>2.0-Beta3</version>
-
- <name>Apache Tuscany SCA Samples Helloworld Using Ant build</name>
-
- <properties>
- <tuscany.version>${project.version}</tuscany.version>
- </properties>
-
- <!-- ASF repositories so sample can be built from SVN without building trunk-->
- <repositories><repository>
- <id>apache.snapshots</id>
- <name>Apache Snapshot Repository</name>
- <url>http://repository.apache.org/snapshots</url>
- <releases><enabled>false</enabled></releases>
- </repository></repositories>
- <pluginRepositories><pluginRepository>
- <id>apache.snapshots</id>
- <name>Apache Snapshot Repository</name>
- <url>http://repository.apache.org/snapshots</url>
- <releases><enabled>false</enabled></releases>
- </pluginRepository></pluginRepositories>
-
- <dependencies>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-sca-api</artifactId>
- <version>${tuscany.version}</version>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.8.1</version>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-base-runtime</artifactId>
- <version>${tuscany.version}</version>
- <scope>test</scope>
- </dependency>
-
- </dependencies>
-
- <build>
-
- <plugins>
-
- <!-- to support running the composite with mvn tuscany:run -->
- <plugin>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-maven-plugin</artifactId>
- <version>${tuscany.version}</version>
- </plugin>
- </plugins>
-
- </build>
-
-</project>
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-ant/src/main/java/sample/Helloworld.java b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-ant/src/main/java/sample/Helloworld.java
deleted file mode 100644
index f4e8c50448..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-ant/src/main/java/sample/Helloworld.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * 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.
- */
-package sample;
-
-import org.oasisopen.sca.annotation.Remotable;
-
-@Remotable
-public interface Helloworld {
-
- String sayHello(String name);
-
-}
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-ant/src/main/java/sample/HelloworldImpl.java b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-ant/src/main/java/sample/HelloworldImpl.java
deleted file mode 100644
index 089b1a4290..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-ant/src/main/java/sample/HelloworldImpl.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * 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.
- */
-package sample;
-
-public class HelloworldImpl implements Helloworld {
-
- public String sayHello(String name) {
- return "Hello " + name;
- }
-
-}
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-ant/src/main/resources/META-INF/sca-contribution.xml b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-ant/src/main/resources/META-INF/sca-contribution.xml
deleted file mode 100644
index 95c32fb5bf..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-ant/src/main/resources/META-INF/sca-contribution.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-<?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:sample="http://sample">
-
- <deployable composite="sample:helloworld-contribution" />
-
-</contribution>
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-ant/src/main/resources/helloworld.composite b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-ant/src/main/resources/helloworld.composite
deleted file mode 100644
index e0206cd6e8..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-ant/src/main/resources/helloworld.composite
+++ /dev/null
@@ -1,29 +0,0 @@
-<?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.
--->
-<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912"
- xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.1"
- targetNamespace="http://sample"
- name="helloworld-contribution">
-
- <component name="HelloworldComponent">
- <implementation.java class="sample.HelloworldImpl"/>
- </component>
-
-</composite>
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-ant/src/test/java/sample/HelloworldTestCase.java b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-ant/src/test/java/sample/HelloworldTestCase.java
deleted file mode 100644
index be27aa68ef..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-ant/src/test/java/sample/HelloworldTestCase.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * 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.
- */
-package sample;
-
-import org.junit.Assert;
-
-import org.apache.tuscany.sca.Node;
-import org.apache.tuscany.sca.TuscanyRuntime;
-import org.junit.Test;
-import org.oasisopen.sca.NoSuchServiceException;
-
-public class HelloworldTestCase {
-
- @Test
- public void testSayHello() throws NoSuchServiceException {
-
- // Run the SCA composite in a Tuscany runtime
- Node node = TuscanyRuntime.runComposite("helloworld.composite", "target/classes");
- try {
-
- // Get the Helloworld service proxy
- Helloworld helloworld = node.getService(Helloworld.class, "HelloworldComponent");
-
- // test that it works as expected
- Assert.assertEquals("Hello Amelia", helloworld.sayHello("Amelia"));
-
- } finally {
- // Stop the Tuscany runtime Node
- node.stop();
- }
- }
-}
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-ant/src/test/java/sample/Main.java b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-ant/src/test/java/sample/Main.java
deleted file mode 100644
index fe9fedbd45..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-ant/src/test/java/sample/Main.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * 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.
- */
-package sample;
-
-import org.apache.tuscany.sca.Node;
-import org.apache.tuscany.sca.TuscanyRuntime;
-import org.oasisopen.sca.NoSuchServiceException;
-
-public class Main {
-
- public static void main(String[] args) throws NoSuchServiceException {
-
- // Run the SCA composite in a Tuscany runtime
- Node node = TuscanyRuntime.runComposite("helloworld.composite", "target/classes");
- try {
-
- // Get the Helloworld service proxy
- Helloworld helloworld = node.getService(Helloworld.class, "HelloworldComponent");
-
- // Call the sayHello method
- System.out.println(helloworld.sayHello(args.length>0 ? args[0]: "World"));
-
- } finally {
- // Stop the Tuscany runtime Node
- node.stop();
- }
- }
-}
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-jaxrs/README b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-jaxrs/README
deleted file mode 100644
index ae2a0101e0..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-jaxrs/README
+++ /dev/null
@@ -1,22 +0,0 @@
-Tuscany - Getting Started - Helloworld JAX-RS Sample
-----------------------------------------------------
-
-This sample extends the helloworld sample to make the helloworld service available as an HTTP endpoint by using JAX-RS and the Tuscany REST binding.
-
-The changes to the helloworld sample are:
-- update the pom.xml with the additional dependencies
-- add a new Java interface which uses JAX-RS annotations
-- update the composite to use the new interface and binding
-
-As with all the getting-started samples you can run this sample with:
-
- mvn tuscany:run
-
-Then at a web browser enter the following URL:
-
-http://localhost:8080/HelloworldComponent/Helloworld/sayHello?name=world
-
-which should return a page saying:
-
-Hello world
-
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-jaxrs/pom.xml b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-jaxrs/pom.xml
deleted file mode 100644
index 95faa50fe2..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-jaxrs/pom.xml
+++ /dev/null
@@ -1,120 +0,0 @@
-<?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.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.apache.tuscany.sca.samples</groupId>
- <artifactId>tuscany-samples</artifactId>
- <version>2.0-Beta3</version>
- <relativePath>../../pom.xml</relativePath>
- </parent>
- <artifactId>helloworld-jaxrs</artifactId>
- <version>2.0-Beta3</version>
-
- <name>Apache Tuscany SCA Samples Helloworld JAX-RS</name>
-
- <properties>
- <tuscany.version>${project.version}</tuscany.version>
- </properties>
-
- <!-- ASF repositories so sample can be built from SVN without building trunk-->
- <repositories><repository>
- <id>apache.snapshots</id>
- <name>Apache Snapshot Repository</name>
- <url>http://repository.apache.org/snapshots</url>
- <releases><enabled>false</enabled></releases>
- </repository></repositories>
- <pluginRepositories><pluginRepository>
- <id>apache.snapshots</id>
- <name>Apache Snapshot Repository</name>
- <url>http://repository.apache.org/snapshots</url>
- <releases><enabled>false</enabled></releases>
- </pluginRepository></pluginRepositories>
-
- <dependencies>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-sca-api</artifactId>
- <version>${tuscany.version}</version>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
- <groupId>javax.ws.rs</groupId>
- <artifactId>jsr311-api</artifactId>
- <version>1.1.1</version>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.8.1</version>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-base-runtime</artifactId>
- <version>${tuscany.version}</version>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-binding-rest-runtime</artifactId>
- <version>${tuscany.version}</version>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>org.mortbay.jetty</groupId>
- <artifactId>jetty</artifactId>
- <version>6.1.26</version>
- <scope>test</scope>
- </dependency>
-
- </dependencies>
-
- <build>
-
- <plugins>
-
- <!-- to support running the composite with mvn tuscany:run -->
- <plugin>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-maven-plugin</artifactId>
- <version>${tuscany.version}</version>
- <dependencies>
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-binding-rest-runtime</artifactId>
- <version>${tuscany.version}</version>
- </dependency>
- </dependencies>
- </plugin>
- </plugins>
-
- </build>
-
-</project>
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-jaxrs/src/main/java/sample/Helloworld.java b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-jaxrs/src/main/java/sample/Helloworld.java
deleted file mode 100644
index f4e8c50448..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-jaxrs/src/main/java/sample/Helloworld.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * 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.
- */
-package sample;
-
-import org.oasisopen.sca.annotation.Remotable;
-
-@Remotable
-public interface Helloworld {
-
- String sayHello(String name);
-
-}
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-jaxrs/src/main/java/sample/HelloworldImpl.java b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-jaxrs/src/main/java/sample/HelloworldImpl.java
deleted file mode 100644
index 089b1a4290..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-jaxrs/src/main/java/sample/HelloworldImpl.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * 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.
- */
-package sample;
-
-public class HelloworldImpl implements Helloworld {
-
- public String sayHello(String name) {
- return "Hello " + name;
- }
-
-}
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-jaxrs/src/main/java/sample/JaxrsHelloworld.java b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-jaxrs/src/main/java/sample/JaxrsHelloworld.java
deleted file mode 100644
index c17373a24f..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-jaxrs/src/main/java/sample/JaxrsHelloworld.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * 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.
- */
-package sample;
-
-import javax.ws.rs.GET;
-import javax.ws.rs.Path;
-import javax.ws.rs.QueryParam;
-
-import org.oasisopen.sca.annotation.Remotable;
-
-@Remotable
-public interface JaxrsHelloworld {
-
- @GET
- @Path("sayHello")
- String sayHello(@QueryParam("name") String name);
-
-}
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-jaxrs/src/main/resources/META-INF/sca-contribution.xml b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-jaxrs/src/main/resources/META-INF/sca-contribution.xml
deleted file mode 100644
index 95c32fb5bf..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-jaxrs/src/main/resources/META-INF/sca-contribution.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-<?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:sample="http://sample">
-
- <deployable composite="sample:helloworld-contribution" />
-
-</contribution>
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-jaxrs/src/main/resources/helloworld.composite b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-jaxrs/src/main/resources/helloworld.composite
deleted file mode 100644
index 88df3636c3..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-jaxrs/src/main/resources/helloworld.composite
+++ /dev/null
@@ -1,33 +0,0 @@
-<?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.
--->
-<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912"
- xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.1"
- targetNamespace="http://sample"
- name="helloworld-contribution">
-
- <component name="HelloworldComponent">
- <implementation.java class="sample.HelloworldImpl"/>
- <service name="Helloworld">
- <interface.java interface="sample.JaxrsHelloworld"/>
- <tuscany:binding.rest/>
- </service>
- </component>
-
-</composite>
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-jaxrs/src/test/java/sample/HelloworldTestCase.java b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-jaxrs/src/test/java/sample/HelloworldTestCase.java
deleted file mode 100644
index 93a9a0e719..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-jaxrs/src/test/java/sample/HelloworldTestCase.java
+++ /dev/null
@@ -1,71 +0,0 @@
-/*
- * 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.
- */
-package sample;
-
-import java.io.BufferedReader;
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.InputStreamReader;
-import java.net.URL;
-
-import org.apache.tuscany.sca.Node;
-import org.apache.tuscany.sca.TuscanyRuntime;
-import org.apache.tuscany.sca.contribution.processor.ContributionReadException;
-import org.apache.tuscany.sca.monitor.ValidationException;
-import org.apache.tuscany.sca.runtime.ActivationException;
-import org.junit.Assert;
-import org.junit.Test;
-import org.oasisopen.sca.NoSuchServiceException;
-
-public class HelloworldTestCase {
-
- @Test
- public void testSayHello() throws NoSuchServiceException, IOException, ContributionReadException, ActivationException, ValidationException {
-
- // Run the SCA composite in a Tuscany runtime
- Node node = TuscanyRuntime.runComposite("helloworld.composite", "target/classes");
- try {
-
- // test that has exposed an HTTP endpoint that works as expected
- URL url = new URL("http://localhost:8080/HelloworldComponent/Helloworld/sayHello?name=Amelia");
- Assert.assertEquals("Hello Amelia", read(url.openStream()));
-
- } finally {
- // Stop the Tuscany runtime Node
- node.stop();
- }
- }
-
- private static String read(InputStream is) throws IOException {
- BufferedReader reader = null;
- try {
- reader = new BufferedReader(new InputStreamReader(is));
- StringBuffer sb = new StringBuffer();
- String str;
- while ((str = reader.readLine()) != null) {
- sb.append(str);
- }
- return sb.toString();
- } finally {
- if (reader != null) {
- reader.close();
- }
- }
- }
-}
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-jsonrpc/README b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-jsonrpc/README
deleted file mode 100644
index 7f901fc77f..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-jsonrpc/README
+++ /dev/null
@@ -1,27 +0,0 @@
-Tuscany - Getting Started - Helloworld Sample
----------------------------------------------
-
-This sample demonstrates a simple helloworld style SCA application and how to run that with Tuscany.
-
-See the README in the top-level samples folder for general information on the Tuscany samples.
-
-This project creates an SCA contribution with a deployable composite named helloworld.composite.
-The composite defines an SCA component, HelloworldComponent, which provides a Helloworld service,
-the component is implemented by a Java class.
-
-You can use the contribution by starting the composite in the Tuscany Shell. To do that run the
-following command in the helloworld folder:
-
- mvn tuscany:run
-
-
-
- http://localhost:8080/HelloworldComponent/Helloworld?method=sayHello&params=WyJXb3JsZCJd&id=1
-
-
-
- {"id":1,"result":"Hello World"}
-
-
-
-
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-jsonrpc/pom.xml b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-jsonrpc/pom.xml
deleted file mode 100644
index d0356ae357..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-jsonrpc/pom.xml
+++ /dev/null
@@ -1,113 +0,0 @@
-<?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.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.apache.tuscany.sca.samples</groupId>
- <artifactId>tuscany-samples</artifactId>
- <version>2.0-Beta3</version>
- <relativePath/>
- </parent>
-
- <artifactId>helloworld-jsonrpc</artifactId>
- <version>2.0-Beta3</version>
-
- <name>Apache Tuscany SCA Samples Helloworld JSON-RPC</name>
-
- <properties>
- <tuscany.version>${project.version}</tuscany.version>
- </properties>
-
- <!-- ASF repositories so sample can be built from SVN without building trunk-->
- <repositories><repository>
- <id>apache.snapshots</id>
- <name>Apache Snapshot Repository</name>
- <url>http://repository.apache.org/snapshots</url>
- <releases><enabled>false</enabled></releases>
- </repository></repositories>
- <pluginRepositories><pluginRepository>
- <id>apache.snapshots</id>
- <name>Apache Snapshot Repository</name>
- <url>http://repository.apache.org/snapshots</url>
- <releases><enabled>false</enabled></releases>
- </pluginRepository></pluginRepositories>
-
- <dependencies>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-sca-api</artifactId>
- <version>${tuscany.version}</version>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.8.1</version>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-base-runtime</artifactId>
- <version>${tuscany.version}</version>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-binding-jsonrpc-runtime</artifactId>
- <version>${tuscany.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.mortbay.jetty</groupId>
- <artifactId>jetty</artifactId>
- <version>6.1.26</version>
- <scope>test</scope>
- </dependency>
-
- </dependencies>
-
- <build>
-
- <plugins>
-
- <!-- to support running the composite with mvn tuscany:run -->
- <plugin>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-maven-plugin</artifactId>
- <version>${tuscany.version}</version>
- <dependencies>
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-binding-jsonrpc-runtime</artifactId>
- <version>${tuscany.version}</version>
- </dependency>
- </dependencies>
- </plugin>
- </plugins>
-
- </build>
-
-</project>
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-jsonrpc/src/main/java/sample/Helloworld.java b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-jsonrpc/src/main/java/sample/Helloworld.java
deleted file mode 100644
index f4e8c50448..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-jsonrpc/src/main/java/sample/Helloworld.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * 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.
- */
-package sample;
-
-import org.oasisopen.sca.annotation.Remotable;
-
-@Remotable
-public interface Helloworld {
-
- String sayHello(String name);
-
-}
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-jsonrpc/src/main/java/sample/HelloworldImpl.java b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-jsonrpc/src/main/java/sample/HelloworldImpl.java
deleted file mode 100644
index 089b1a4290..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-jsonrpc/src/main/java/sample/HelloworldImpl.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * 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.
- */
-package sample;
-
-public class HelloworldImpl implements Helloworld {
-
- public String sayHello(String name) {
- return "Hello " + name;
- }
-
-}
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-jsonrpc/src/main/resources/META-INF/sca-contribution.xml b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-jsonrpc/src/main/resources/META-INF/sca-contribution.xml
deleted file mode 100644
index 95c32fb5bf..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-jsonrpc/src/main/resources/META-INF/sca-contribution.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-<?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:sample="http://sample">
-
- <deployable composite="sample:helloworld-contribution" />
-
-</contribution>
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-jsonrpc/src/main/resources/helloworld.composite b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-jsonrpc/src/main/resources/helloworld.composite
deleted file mode 100644
index 5b37e6f3db..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-jsonrpc/src/main/resources/helloworld.composite
+++ /dev/null
@@ -1,32 +0,0 @@
-<?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.
--->
-<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912"
- xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.1"
- targetNamespace="http://sample"
- name="helloworld-contribution">
-
- <component name="HelloworldComponent">
- <implementation.java class="sample.HelloworldImpl"/>
- <service name="Helloworld">
- <tuscany:binding.jsonrpc/>
- </service>
- </component>
-
-</composite>
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-jsonrpc/src/test/java/sample/HelloworldTestCase.java b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-jsonrpc/src/test/java/sample/HelloworldTestCase.java
deleted file mode 100644
index be27aa68ef..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-jsonrpc/src/test/java/sample/HelloworldTestCase.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * 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.
- */
-package sample;
-
-import org.junit.Assert;
-
-import org.apache.tuscany.sca.Node;
-import org.apache.tuscany.sca.TuscanyRuntime;
-import org.junit.Test;
-import org.oasisopen.sca.NoSuchServiceException;
-
-public class HelloworldTestCase {
-
- @Test
- public void testSayHello() throws NoSuchServiceException {
-
- // Run the SCA composite in a Tuscany runtime
- Node node = TuscanyRuntime.runComposite("helloworld.composite", "target/classes");
- try {
-
- // Get the Helloworld service proxy
- Helloworld helloworld = node.getService(Helloworld.class, "HelloworldComponent");
-
- // test that it works as expected
- Assert.assertEquals("Hello Amelia", helloworld.sayHello("Amelia"));
-
- } finally {
- // Stop the Tuscany runtime Node
- node.stop();
- }
- }
-}
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-scaclient/README b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-scaclient/README
deleted file mode 100644
index cfa95a2c33..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-scaclient/README
+++ /dev/null
@@ -1,30 +0,0 @@
-Tuscany - Getting Started - Helloworld SCAClient Sample
--------------------------------------------------------
-
-This sample demonstrates using the OASIS SCAClient API to invoke a service in a remote SCA domain.
-
-See the README in the top-level samples folder for general information on the Tuscany samples.
-
-This project has a plain Java SE class with a main method which uses the OASIS SCAClient API to invoke a Helloworld service in a remote SCA domain.
-
-Before running this sample you must have a helloworld service running in a SCA domain somewhere, for example, you can do that by using a separate command prompt to run the Tuscany
-"Getting Started - Helloworld Sample" with the command
-
- mvn tuscany:run -DdomainURI=uri:default
-
-(including that domainURI parameter activates the Tuscany distributed domain)
-
-You can then run this SCAClient sample with the Maven command:
-
- mvn tuscany:run
-
-As this sample uses a standard Java SE main class you can also run it with the maven exec java plugin:
-
- mvn exec:java
-
-You should see the following oputput:
-
- HelloworldSCAClient, using domainURI uri:default
- Calling HelloworldComponent.sayHello("world")
- Hello world
-
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-scaclient/pom.xml b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-scaclient/pom.xml
deleted file mode 100644
index 89eb49d3c8..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-scaclient/pom.xml
+++ /dev/null
@@ -1,121 +0,0 @@
-<?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.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.apache.tuscany.sca.samples</groupId>
- <artifactId>tuscany-samples</artifactId>
- <version>2.0-Beta3</version>
- <relativePath>../../pom.xml</relativePath>
- </parent>
-
- <artifactId>helloworld-scaclient</artifactId>
- <version>2.0-Beta3</version>
-
- <name>Apache Tuscany SCA Samples Helloworld SCAClient</name>
-
- <properties>
- <tuscany.version>${project.version}</tuscany.version>
- </properties>
-
- <!-- ASF repositories so sample can be built from SVN without building trunk-->
- <repositories><repository>
- <id>apache.snapshots</id>
- <name>Apache Snapshot Repository</name>
- <url>http://repository.apache.org/snapshots</url>
- <releases><enabled>false</enabled></releases>
- </repository></repositories>
- <pluginRepositories><pluginRepository>
- <id>apache.snapshots</id>
- <name>Apache Snapshot Repository</name>
- <url>http://repository.apache.org/snapshots</url>
- <releases><enabled>false</enabled></releases>
- </pluginRepository></pluginRepositories>
-
- <dependencies>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-sca-api</artifactId>
- <version>${tuscany.version}</version>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.8.1</version>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-base-runtime</artifactId>
- <version>${tuscany.version}</version>
- <scope>test</scope>
- </dependency>
-
- <!-- this is for the Tuscany distributed domain support -->
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-domain-hazelcast</artifactId>
- <version>${tuscany.version}</version>
- <scope>test</scope>
- </dependency>
-
- </dependencies>
-
- <build>
-
- <plugins>
-
- <!-- to support running the application with mvn tuscany:run -->
- <plugin>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-maven-plugin</artifactId>
- <version>${tuscany.version}</version>
- <configuration>
- <mainClass>sample.HelloworldSCAClient</mainClass>
- </configuration>
- </plugin>
-
- <!-- to support running the application with mvn exec:java -->
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>exec-maven-plugin</artifactId>
- <version>1.1.1</version>
- <executions>
- <execution>
- <goals>
- <goal>java</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <mainClass>sample.HelloworldSCAClient</mainClass>
- <classpathScope>test</classpathScope>
- </configuration>
- </plugin>
-
- </plugins>
- </build>
-</project>
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-scaclient/src/main/java/sample/Helloworld.java b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-scaclient/src/main/java/sample/Helloworld.java
deleted file mode 100644
index 1eeb8be9fd..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-scaclient/src/main/java/sample/Helloworld.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * 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.
- */
-package sample;
-
-import org.oasisopen.sca.annotation.Remotable;
-
-@Remotable
-public interface Helloworld {
-
- String sayHello(String name);
-
-}
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-scaclient/src/main/java/sample/HelloworldSCAClient.java b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-scaclient/src/main/java/sample/HelloworldSCAClient.java
deleted file mode 100644
index 0a91fdb70f..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-scaclient/src/main/java/sample/HelloworldSCAClient.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * 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.
- */
-package sample;
-
-import java.net.URI;
-
-import org.oasisopen.sca.NoSuchDomainException;
-import org.oasisopen.sca.NoSuchServiceException;
-import org.oasisopen.sca.client.SCAClientFactory;
-
-public class HelloworldSCAClient {
-
- public static void main(String[] args) throws NoSuchDomainException, NoSuchServiceException {
-
- String domainURI = System.getProperties().getProperty("domainURI");
- if (domainURI == null || domainURI.length() < 1) {
- domainURI = "uri:default";
- }
-
- System.out.println("HelloworldSCAClient, using domainURI " + domainURI);
- SCAClientFactory factory = SCAClientFactory.newInstance(URI.create(domainURI));
-
- String name = args.length < 1 ? "world" : args[0];
- System.out.println("Calling HelloworldComponent.sayHello(\"" + name + "\"):");
- Helloworld service = factory.getService(Helloworld.class, "HelloworldComponent");
- System.out.println(service.sayHello(name));
- }
-
-}
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-scaclient/src/test/java/sample/HelloworldTestCase.java b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-scaclient/src/test/java/sample/HelloworldTestCase.java
deleted file mode 100644
index d983c25b61..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-scaclient/src/test/java/sample/HelloworldTestCase.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * 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.
- */
-package sample;
-
-import org.apache.tuscany.sca.Node;
-import org.apache.tuscany.sca.TuscanyRuntime;
-import org.apache.tuscany.sca.contribution.processor.ContributionReadException;
-import org.apache.tuscany.sca.monitor.ValidationException;
-import org.apache.tuscany.sca.runtime.ActivationException;
-import org.junit.AfterClass;
-import org.junit.BeforeClass;
-import org.junit.Test;
-import org.oasisopen.sca.NoSuchDomainException;
-import org.oasisopen.sca.NoSuchServiceException;
-
-public class HelloworldTestCase {
-
- static Node node;
-
- @Test
- public void testSayHello() throws NoSuchDomainException, NoSuchServiceException {
- System.setProperty("domainURI", "uri:default?wka=127.0.0.1:7654");
- HelloworldSCAClient.main(new String[0]);
- }
-
- @BeforeClass
- public static void start() throws ContributionReadException, ActivationException, ValidationException {
- node = TuscanyRuntime.newInstance().createNode("uri:default?bind=127.0.0.1:7654");
- String curi = node.installContribution(null, "../helloworld/target/classes", null, null);
- node.startDeployables(curi);
- }
-
- @AfterClass
- public static void stop() {
- if (node != null) {
- node.stop();
- }
- }
-
-}
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-spring/README b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-spring/README
deleted file mode 100644
index 17676cf5dd..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-spring/README
+++ /dev/null
@@ -1,18 +0,0 @@
-Tuscany - Getting Started - Helloworld Spring Sample
-----------------------------------------------------
-
-This sample is an alternative version of the helloworld sample which uses the Spring Framework instead of an SCA Java component.
-
-The changes to the helloworld sample are:
-- update the pom.xml with the additional Spring dependencies
-- add a Spring context xml file
-- update the composite to use <implementation.spring>
-
-As with all the getting-started samples you can run this sample with:
-
- mvn tuscany:run
-
-And then as with the original helloworld sample you may test the service by using the Shell "invoke" command:
-
- invoke HelloworldComponent sayHello yourName
-
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-spring/pom.xml b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-spring/pom.xml
deleted file mode 100644
index c4d7a76f72..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-spring/pom.xml
+++ /dev/null
@@ -1,106 +0,0 @@
-<?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.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.apache.tuscany.sca.samples</groupId>
- <artifactId>tuscany-samples</artifactId>
- <version>2.0-Beta3</version>
- <relativePath>../../pom.xml</relativePath>
- </parent>
- <artifactId>helloworld-spring</artifactId>
- <version>2.0-Beta3</version>
-
- <name>Apache Tuscany SCA Samples Helloworld Spring</name>
-
- <properties>
- <tuscany.version>${project.version}</tuscany.version>
- </properties>
-
- <!-- ASF repositories so sample can be built from SVN without building trunk-->
- <repositories><repository>
- <id>apache.snapshots</id>
- <name>Apache Snapshot Repository</name>
- <url>http://repository.apache.org/snapshots</url>
- <releases><enabled>false</enabled></releases>
- </repository></repositories>
- <pluginRepositories><pluginRepository>
- <id>apache.snapshots</id>
- <name>Apache Snapshot Repository</name>
- <url>http://repository.apache.org/snapshots</url>
- <releases><enabled>false</enabled></releases>
- </pluginRepository></pluginRepositories>
-
- <dependencies>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-sca-api</artifactId>
- <version>${tuscany.version}</version>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.8.1</version>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-base-runtime</artifactId>
- <version>${tuscany.version}</version>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-implementation-spring-runtime</artifactId>
- <version>${tuscany.version}</version>
- <scope>test</scope>
- </dependency>
-
- </dependencies>
-
- <build>
-
- <plugins>
-
- <!-- to support running the composite with mvn tuscany:run -->
- <plugin>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-maven-plugin</artifactId>
- <version>${tuscany.version}</version>
- <dependencies>
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-implementation-spring-runtime</artifactId>
- <version>${tuscany.version}</version>
- </dependency>
- </dependencies>
- </plugin>
- </plugins>
-
- </build>
-
-</project>
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-spring/src/main/java/sample/Helloworld.java b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-spring/src/main/java/sample/Helloworld.java
deleted file mode 100644
index f4e8c50448..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-spring/src/main/java/sample/Helloworld.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * 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.
- */
-package sample;
-
-import org.oasisopen.sca.annotation.Remotable;
-
-@Remotable
-public interface Helloworld {
-
- String sayHello(String name);
-
-}
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-spring/src/main/java/sample/HelloworldImpl.java b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-spring/src/main/java/sample/HelloworldImpl.java
deleted file mode 100644
index 089b1a4290..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-spring/src/main/java/sample/HelloworldImpl.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * 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.
- */
-package sample;
-
-public class HelloworldImpl implements Helloworld {
-
- public String sayHello(String name) {
- return "Hello " + name;
- }
-
-}
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-spring/src/main/resources/META-INF/sca-contribution.xml b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-spring/src/main/resources/META-INF/sca-contribution.xml
deleted file mode 100644
index 95c32fb5bf..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-spring/src/main/resources/META-INF/sca-contribution.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-<?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:sample="http://sample">
-
- <deployable composite="sample:helloworld-contribution" />
-
-</contribution>
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-spring/src/main/resources/helloworld-context.xml b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-spring/src/main/resources/helloworld-context.xml
deleted file mode 100644
index a6b11d2399..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-spring/src/main/resources/helloworld-context.xml
+++ /dev/null
@@ -1,27 +0,0 @@
-<?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.
--->
-<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:sca="http://docs.oasis-open.org/ns/opencsa/sca-j/spring/200810" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/sca http://www.osoa.org/xmlns/sca/1.0/spring-sca.xsd">
-
- <sca:service name="HelloworldService" target="HelloworldBean"/>
-
- <bean id="HelloworldBean" class="sample.HelloworldImpl">
- </bean>
-
-</beans> \ No newline at end of file
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-spring/src/main/resources/helloworld.composite b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-spring/src/main/resources/helloworld.composite
deleted file mode 100644
index 4ed0fb51dc..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-spring/src/main/resources/helloworld.composite
+++ /dev/null
@@ -1,29 +0,0 @@
-<?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.
--->
-<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912"
- xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.1"
- targetNamespace="http://sample"
- name="helloworld-contribution">
-
- <component name="HelloworldComponent">
- <implementation.spring location="helloworld-context.xml"/>
- </component>
-
-</composite>
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-spring/src/test/java/sample/HelloworldTestCase.java b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-spring/src/test/java/sample/HelloworldTestCase.java
deleted file mode 100644
index be27aa68ef..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-spring/src/test/java/sample/HelloworldTestCase.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * 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.
- */
-package sample;
-
-import org.junit.Assert;
-
-import org.apache.tuscany.sca.Node;
-import org.apache.tuscany.sca.TuscanyRuntime;
-import org.junit.Test;
-import org.oasisopen.sca.NoSuchServiceException;
-
-public class HelloworldTestCase {
-
- @Test
- public void testSayHello() throws NoSuchServiceException {
-
- // Run the SCA composite in a Tuscany runtime
- Node node = TuscanyRuntime.runComposite("helloworld.composite", "target/classes");
- try {
-
- // Get the Helloworld service proxy
- Helloworld helloworld = node.getService(Helloworld.class, "HelloworldComponent");
-
- // test that it works as expected
- Assert.assertEquals("Hello Amelia", helloworld.sayHello("Amelia"));
-
- } finally {
- // Stop the Tuscany runtime Node
- node.stop();
- }
- }
-}
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-webapp/README b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-webapp/README
deleted file mode 100644
index bcf11d9886..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-webapp/README
+++ /dev/null
@@ -1,32 +0,0 @@
-Tuscany - Getting Started - Helloworld WebApp Sample
-----------------------------------------------------
-
-This sample demonstrates how to use SCA contributions with Web Applications
-
-See the README in the top-level samples folder for general information on the Tuscany samples.
-
-This sample project creates a .war web application which includes Tuscany. The SCA contribution
-from the helloworld sample is included within the war and its SCA composite started by the webapp,
-and there is a JSP page which shows how to invoke SCA services by using the SCA taglib.
-
-As this sample creates a web application .war archive there is a manual step to deploy the WAR file
-to your web application server. The archive is the helloworld-webapp-<version>.war in the target folder.
-Alternatively, you can run it by using the Maven Tomcat plugin by using the following command:
-
- mvn tomcat:run
-
-or if you prefer Jetty then:
-
- mvn jetty:run
-
-Once the web app is running use your browser to visit the following URL;
-
-http://localhost:8080/helloworld-webapp
-
-(The port and hostname will of course vary depending on your local installation)
-
-You should then see the web page return the following:
-
- Calling HelloworldService sayHello("world") returns:
-
- Hello world \ No newline at end of file
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-webapp/pom.xml b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-webapp/pom.xml
deleted file mode 100644
index 5560ca6afa..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-webapp/pom.xml
+++ /dev/null
@@ -1,181 +0,0 @@
-<?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.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.apache.tuscany.sca.samples</groupId>
- <artifactId>tuscany-samples</artifactId>
- <version>2.0-Beta3</version>
- <relativePath>../../pom.xml</relativePath>
- </parent>
-
- <artifactId>helloworld-webapp</artifactId>
- <version>2.0-Beta3</version>
-
- <name>Apache Tuscany SCA Samples Helloworld WebApp</name>
- <packaging>war</packaging>
-
- <properties>
- <tuscany.version>${project.version}</tuscany.version>
- </properties>
-
- <!-- ASF repositories so sample can be built from SVN without building trunk-->
- <repositories><repository>
- <id>apache.snapshots</id>
- <name>Apache Snapshot Repository</name>
- <url>http://repository.apache.org/snapshots</url>
- <releases><enabled>false</enabled></releases>
- </repository></repositories>
- <pluginRepositories><pluginRepository>
- <id>apache.snapshots</id>
- <name>Apache Snapshot Repository</name>
- <url>http://repository.apache.org/snapshots</url>
- <releases><enabled>false</enabled></releases>
- </pluginRepository></pluginRepositories>
-
- <dependencies>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-base-runtime</artifactId>
- <version>${tuscany.version}</version>
- </dependency>
-
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.8.1</version>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>net.sourceforge.htmlunit</groupId>
- <artifactId>htmlunit</artifactId>
- <version>2.6</version>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <groupId>xalan</groupId>
- <artifactId>xalan</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
-
- <!-- replace HTMLUnit dependency with verstion that Tuscany is using -->
- <dependency>
- <groupId>xalan</groupId>
- <artifactId>xalan</artifactId>
- <version>2.7.0</version>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <groupId>xml-apis</groupId>
- <artifactId>xml-apis</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
-
- </dependencies>
-
- <build>
- <plugins>
-
- <!-- this copies the SCA contribution from the helloworld sample into this webapp -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <executions>
- <execution>
- <id>copy</id>
- <phase>compile</phase>
- <goals>
- <goal>copy</goal>
- </goals>
- <configuration>
- <artifactItems>
- <artifactItem>
- <groupId>org.apache.tuscany.sca.samples</groupId>
- <artifactId>helloworld</artifactId>
- <version>${project.version}</version>
- <!-- should really go in the target folder but i can't get jetty:run or tomcat:run to work using that -->
- <outputDirectory>src/main/webapp/WEB-INF/sca-contributions</outputDirectory>
- </artifactItem>
- </artifactItems>
- </configuration>
- </execution>
- </executions>
- </plugin>
-
- <!-- to support running thw webapp with mvn tuscany:run -->
- <plugin>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-maven-plugin</artifactId>
- <version>${tuscany.version}</version>
- </plugin>
-
- <!-- to support using mvn jetty:run and also to run the webapp for the integration test -->
- <plugin>
- <groupId>org.mortbay.jetty</groupId>
- <artifactId>maven-jetty-plugin</artifactId>
- <version>6.1.26</version>
- <configuration>
- <contextPath>helloworld-webapp</contextPath>
- <stopKey>foo</stopKey>
- <stopPort>9999</stopPort>
- </configuration>
- <executions>
- <execution>
- <id>start-jetty</id>
- <phase>process-test-classes</phase>
- <goals>
- <goal>run</goal>
- </goals>
- <configuration>
- <scanIntervalSeconds>0</scanIntervalSeconds>
- <daemon>true</daemon>
- <connectors>
- <connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
- <port>8085</port>
- </connector>
- </connectors>
- </configuration>
- </execution>
- <execution>
- <id>stop-jetty</id>
- <phase>prepare-package</phase>
- <goals>
- <goal>stop</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
-
- <!-- to support using mvn tomcat:run -->
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>tomcat-maven-plugin</artifactId>
- <version>1.1</version>
- </plugin>
-
- </plugins>
- </build>
-</project>
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-webapp/src/main/java/sample/Helloworld.java b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-webapp/src/main/java/sample/Helloworld.java
deleted file mode 100644
index 1eeb8be9fd..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-webapp/src/main/java/sample/Helloworld.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * 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.
- */
-package sample;
-
-import org.oasisopen.sca.annotation.Remotable;
-
-@Remotable
-public interface Helloworld {
-
- String sayHello(String name);
-
-}
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-webapp/src/main/webapp/WEB-INF/web.composite b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-webapp/src/main/webapp/WEB-INF/web.composite
deleted file mode 100644
index 0c03826f99..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-webapp/src/main/webapp/WEB-INF/web.composite
+++ /dev/null
@@ -1,30 +0,0 @@
-<?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.
--->
-<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912"
- xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.1"
- targetNamespace="http://samples"
- name="Helloworld">
-
- <component name="foo">
- <implementation.web web-uri=""/>
- <reference name="service" target="HelloworldComponent"/>
- </component>
-
-</composite>
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-webapp/src/main/webapp/WEB-INF/web.xml b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-webapp/src/main/webapp/WEB-INF/web.xml
deleted file mode 100644
index b83a9c3417..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-webapp/src/main/webapp/WEB-INF/web.xml
+++ /dev/null
@@ -1,41 +0,0 @@
-<?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.
--->
-<web-app version="2.4"
- xmlns="http://java.sun.com/xml/ns/j2ee"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" >
-
- <display-name>Apache Tuscany Helloworld Sample</display-name>
-
- <filter>
- <filter-name>tuscany</filter-name>
- <filter-class>org.apache.tuscany.sca.host.webapp.TuscanyServletFilter</filter-class>
- </filter>
-
- <filter-mapping>
- <filter-name>tuscany</filter-name>
- <url-pattern>/*</url-pattern>
- </filter-mapping>
-
- <welcome-file-list id="WelcomeFileList">
- <welcome-file>hello.jsp</welcome-file>
- </welcome-file-list>
-
-</web-app>
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-webapp/src/main/webapp/hello.jsp b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-webapp/src/main/webapp/hello.jsp
deleted file mode 100644
index 57abb08ca2..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-webapp/src/main/webapp/hello.jsp
+++ /dev/null
@@ -1,37 +0,0 @@
-<!--
- * 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.
--->
-
-<%@ page contentType="text/html;charset=UTF-8" language="java" %>
-<%@ taglib uri="http://www.osoa.org/sca/sca_jsp.tld" prefix="sca" %>
-
-<sca:reference name="service" type="sample.Helloworld" />
-
-<html>
- <body >
-
- <h2>Apache Tuscany Helloworld JSP Sample</h2>
-
- Calling HelloworldService sayHello("world") returns:
-
- <p>
-
- <%= service.sayHello("world") %>
-
- </body>
-</html>
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-webapp/src/test/java/itest/HelloworldTestCase.java b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-webapp/src/test/java/itest/HelloworldTestCase.java
deleted file mode 100644
index 40da70b98d..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-webapp/src/test/java/itest/HelloworldTestCase.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- * 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.
- */
-
-package itest;
-
-import static org.junit.Assert.assertEquals;
-
-import java.io.IOException;
-import java.net.MalformedURLException;
-import java.util.Iterator;
-
-import org.junit.Test;
-
-import com.gargoylesoftware.htmlunit.FailingHttpStatusCodeException;
-import com.gargoylesoftware.htmlunit.WebClient;
-import com.gargoylesoftware.htmlunit.html.HtmlElement;
-import com.gargoylesoftware.htmlunit.html.HtmlPage;
-import com.gargoylesoftware.htmlunit.html.HtmlParagraph;
-
-/**
- */
-public class HelloworldTestCase {
-
- @Test
- public void testA() throws FailingHttpStatusCodeException, MalformedURLException, IOException {
- HtmlPage page = (HtmlPage)new WebClient().getPage("http://localhost:8085/helloworld-webapp");
- Iterator<?> ss = page.getAllHtmlChildElements().iterator();
- while(ss.hasNext()) {
- HtmlElement htmlElement = (HtmlElement) ss.next();
- if( htmlElement instanceof HtmlParagraph) {
- assertEquals("Hello world", htmlElement.asText());
- break;
- }
- }
- }
-
-}
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-webapp/src/test/resources/test-web.xml b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-webapp/src/test/resources/test-web.xml
deleted file mode 100644
index 4ca1c962a0..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-webapp/src/test/resources/test-web.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-<?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.
--->
-<web-app version="2.4"
- xmlns="http://java.sun.com/xml/ns/j2ee"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" >
-
- <context-param>
- <param-name>org.apache.tuscany.sca.config</param-name>
- <param-value>uri:default?bind=127.0.0.1:54321</param-value>
- </context-param>
-
-</web-app>
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-webservice/README b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-webservice/README
deleted file mode 100644
index fc306caa34..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-webservice/README
+++ /dev/null
@@ -1,43 +0,0 @@
-Tuscany - Getting Started - Helloworld Sample
----------------------------------------------
-
-This sample demonstrates a simple helloworld style SCA application and how to run that with Tuscany.
-
-See the README in the top-level samples folder for general information on the Tuscany samples.
-
-This project creates an SCA contribution with a deployable composite named helloworld.composite.
-The composite defines an SCA component, HelloworldComponent, which provides a Helloworld service,
-the component is implemented by a Java class.
-
-You can use the contribution by starting the composite in the Tuscany Shell. To do that run the
-following command in the helloworld folder:
-
- mvn tuscany:run
-
-Alternatively, the Tuscany Shell can be started with the scripts in the Tuscany binary distribution
-bin folder. To do that run the following command at the root of a Tuscany binary distribution:
-
- bin\tuscany.bat samples\getting-started\helloworld
-
-Once the Shell has been started with one of those methods you can use Shell commands to explore
-the SCA domain, for example, use the "installed" command to get the status of installed contributions,
-"services" to see the available component services, and you may test calling the helloworld service by
-using the "invoke" command:
-
- invoke HelloworldComponent sayHello yourName
-
----
-
-This sample was created by the Tuscany contribution-jar Maven archetype. You can use that archetype to
-create your own SCA contribution projects by running the following Maven command:
-
- mvn archetype:generate -DarchetypeCatalog=http://tuscany.apache.org
-
-then at the prompt select 1 to choose the contribution-jar archetype and then answer the questions.
-This project used the following answers:
-
- Define value for property 'groupId': : org.apache.tuscany.sca.samples
- Define value for property 'artifactId': : helloworld-contribution
- Define value for property 'version': 1.0-SNAPSHOT: 2.0-SNAPSHOT
- Define value for property 'package': org.apache.tuscany.sca.samples: sample
-
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-webservice/pom.xml b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-webservice/pom.xml
deleted file mode 100644
index 5fc8c25ca2..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-webservice/pom.xml
+++ /dev/null
@@ -1,113 +0,0 @@
-<?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.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.apache.tuscany.sca.samples</groupId>
- <artifactId>tuscany-samples</artifactId>
- <version>2.0-Beta3</version>
- <relativePath/>
- </parent>
-
- <artifactId>helloworld-webservice</artifactId>
- <version>2.0-Beta3</version>
-
- <name>Apache Tuscany SCA Samples Helloworld Web Service</name>
-
- <properties>
- <tuscany.version>${project.version}</tuscany.version>
- </properties>
-
- <!-- ASF repositories so sample can be built from SVN without building trunk-->
- <repositories><repository>
- <id>apache.snapshots</id>
- <name>Apache Snapshot Repository</name>
- <url>http://repository.apache.org/snapshots</url>
- <releases><enabled>false</enabled></releases>
- </repository></repositories>
- <pluginRepositories><pluginRepository>
- <id>apache.snapshots</id>
- <name>Apache Snapshot Repository</name>
- <url>http://repository.apache.org/snapshots</url>
- <releases><enabled>false</enabled></releases>
- </pluginRepository></pluginRepositories>
-
- <dependencies>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-sca-api</artifactId>
- <version>${tuscany.version}</version>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.8.1</version>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-base-runtime</artifactId>
- <version>${tuscany.version}</version>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-binding-ws-runtime-axis2</artifactId>
- <version>${tuscany.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.mortbay.jetty</groupId>
- <artifactId>jetty</artifactId>
- <version>6.1.26</version>
- <scope>test</scope>
- </dependency>
-
- </dependencies>
-
- <build>
-
- <plugins>
-
- <!-- to support running the composite with mvn tuscany:run -->
- <plugin>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-maven-plugin</artifactId>
- <version>${tuscany.version}</version>
- <dependencies>
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-binding-ws-runtime-axis2</artifactId>
- <version>${tuscany.version}</version>
- </dependency>
- </dependencies>
- </plugin>
- </plugins>
-
- </build>
-
-</project>
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-webservice/src/main/java/sample/Helloworld.java b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-webservice/src/main/java/sample/Helloworld.java
deleted file mode 100644
index f4e8c50448..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-webservice/src/main/java/sample/Helloworld.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * 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.
- */
-package sample;
-
-import org.oasisopen.sca.annotation.Remotable;
-
-@Remotable
-public interface Helloworld {
-
- String sayHello(String name);
-
-}
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-webservice/src/main/java/sample/HelloworldImpl.java b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-webservice/src/main/java/sample/HelloworldImpl.java
deleted file mode 100644
index 089b1a4290..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-webservice/src/main/java/sample/HelloworldImpl.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * 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.
- */
-package sample;
-
-public class HelloworldImpl implements Helloworld {
-
- public String sayHello(String name) {
- return "Hello " + name;
- }
-
-}
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-webservice/src/main/resources/META-INF/sca-contribution.xml b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-webservice/src/main/resources/META-INF/sca-contribution.xml
deleted file mode 100644
index 95c32fb5bf..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-webservice/src/main/resources/META-INF/sca-contribution.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-<?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:sample="http://sample">
-
- <deployable composite="sample:helloworld-contribution" />
-
-</contribution>
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-webservice/src/main/resources/helloworld.composite b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-webservice/src/main/resources/helloworld.composite
deleted file mode 100644
index 5f001c05a9..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-webservice/src/main/resources/helloworld.composite
+++ /dev/null
@@ -1,32 +0,0 @@
-<?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.
--->
-<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912"
- xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.1"
- targetNamespace="http://sample"
- name="helloworld-contribution">
-
- <component name="HelloworldComponent">
- <implementation.java class="sample.HelloworldImpl"/>
- <service name="Helloworld">
- <binding.ws/>
- </service>
- </component>
-
-</composite>
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-webservice/src/test/java/sample/HelloworldTestCase.java b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-webservice/src/test/java/sample/HelloworldTestCase.java
deleted file mode 100644
index be27aa68ef..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld-webservice/src/test/java/sample/HelloworldTestCase.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * 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.
- */
-package sample;
-
-import org.junit.Assert;
-
-import org.apache.tuscany.sca.Node;
-import org.apache.tuscany.sca.TuscanyRuntime;
-import org.junit.Test;
-import org.oasisopen.sca.NoSuchServiceException;
-
-public class HelloworldTestCase {
-
- @Test
- public void testSayHello() throws NoSuchServiceException {
-
- // Run the SCA composite in a Tuscany runtime
- Node node = TuscanyRuntime.runComposite("helloworld.composite", "target/classes");
- try {
-
- // Get the Helloworld service proxy
- Helloworld helloworld = node.getService(Helloworld.class, "HelloworldComponent");
-
- // test that it works as expected
- Assert.assertEquals("Hello Amelia", helloworld.sayHello("Amelia"));
-
- } finally {
- // Stop the Tuscany runtime Node
- node.stop();
- }
- }
-}
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld/README b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld/README
deleted file mode 100644
index fc306caa34..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld/README
+++ /dev/null
@@ -1,43 +0,0 @@
-Tuscany - Getting Started - Helloworld Sample
----------------------------------------------
-
-This sample demonstrates a simple helloworld style SCA application and how to run that with Tuscany.
-
-See the README in the top-level samples folder for general information on the Tuscany samples.
-
-This project creates an SCA contribution with a deployable composite named helloworld.composite.
-The composite defines an SCA component, HelloworldComponent, which provides a Helloworld service,
-the component is implemented by a Java class.
-
-You can use the contribution by starting the composite in the Tuscany Shell. To do that run the
-following command in the helloworld folder:
-
- mvn tuscany:run
-
-Alternatively, the Tuscany Shell can be started with the scripts in the Tuscany binary distribution
-bin folder. To do that run the following command at the root of a Tuscany binary distribution:
-
- bin\tuscany.bat samples\getting-started\helloworld
-
-Once the Shell has been started with one of those methods you can use Shell commands to explore
-the SCA domain, for example, use the "installed" command to get the status of installed contributions,
-"services" to see the available component services, and you may test calling the helloworld service by
-using the "invoke" command:
-
- invoke HelloworldComponent sayHello yourName
-
----
-
-This sample was created by the Tuscany contribution-jar Maven archetype. You can use that archetype to
-create your own SCA contribution projects by running the following Maven command:
-
- mvn archetype:generate -DarchetypeCatalog=http://tuscany.apache.org
-
-then at the prompt select 1 to choose the contribution-jar archetype and then answer the questions.
-This project used the following answers:
-
- Define value for property 'groupId': : org.apache.tuscany.sca.samples
- Define value for property 'artifactId': : helloworld-contribution
- Define value for property 'version': 1.0-SNAPSHOT: 2.0-SNAPSHOT
- Define value for property 'package': org.apache.tuscany.sca.samples: sample
-
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld/pom.xml b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld/pom.xml
deleted file mode 100644
index 335191a4e1..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld/pom.xml
+++ /dev/null
@@ -1,92 +0,0 @@
-<?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.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.apache.tuscany.sca.samples</groupId>
- <artifactId>tuscany-samples</artifactId>
- <version>2.0-Beta3</version>
- <relativePath>../../pom.xml</relativePath>
- </parent>
- <artifactId>helloworld</artifactId>
- <version>2.0-Beta3</version>
-
- <name>Apache Tuscany SCA Samples Helloworld</name>
-
- <properties>
- <tuscany.version>${project.version}</tuscany.version>
- </properties>
-
- <!-- ASF repositories so sample can be built from SVN without building trunk-->
- <repositories><repository>
- <id>apache.snapshots</id>
- <name>Apache Snapshot Repository</name>
- <url>http://repository.apache.org/snapshots</url>
- <releases><enabled>false</enabled></releases>
- </repository></repositories>
- <pluginRepositories><pluginRepository>
- <id>apache.snapshots</id>
- <name>Apache Snapshot Repository</name>
- <url>http://repository.apache.org/snapshots</url>
- <releases><enabled>false</enabled></releases>
- </pluginRepository></pluginRepositories>
-
- <dependencies>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-sca-api</artifactId>
- <version>${tuscany.version}</version>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.8.1</version>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-base-runtime</artifactId>
- <version>${tuscany.version}</version>
- <scope>test</scope>
- </dependency>
-
- </dependencies>
-
- <build>
-
- <plugins>
-
- <!-- to support running the composite with mvn tuscany:run -->
- <plugin>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-maven-plugin</artifactId>
- <version>${tuscany.version}</version>
- </plugin>
- </plugins>
-
- </build>
-
-</project>
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld/src/main/java/sample/Helloworld.java b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld/src/main/java/sample/Helloworld.java
deleted file mode 100644
index f4e8c50448..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld/src/main/java/sample/Helloworld.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * 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.
- */
-package sample;
-
-import org.oasisopen.sca.annotation.Remotable;
-
-@Remotable
-public interface Helloworld {
-
- String sayHello(String name);
-
-}
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld/src/main/java/sample/HelloworldImpl.java b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld/src/main/java/sample/HelloworldImpl.java
deleted file mode 100644
index 089b1a4290..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld/src/main/java/sample/HelloworldImpl.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * 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.
- */
-package sample;
-
-public class HelloworldImpl implements Helloworld {
-
- public String sayHello(String name) {
- return "Hello " + name;
- }
-
-}
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld/src/main/resources/META-INF/sca-contribution.xml b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld/src/main/resources/META-INF/sca-contribution.xml
deleted file mode 100644
index 95c32fb5bf..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld/src/main/resources/META-INF/sca-contribution.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-<?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:sample="http://sample">
-
- <deployable composite="sample:helloworld-contribution" />
-
-</contribution>
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld/src/main/resources/helloworld.composite b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld/src/main/resources/helloworld.composite
deleted file mode 100644
index e0206cd6e8..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld/src/main/resources/helloworld.composite
+++ /dev/null
@@ -1,29 +0,0 @@
-<?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.
--->
-<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912"
- xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.1"
- targetNamespace="http://sample"
- name="helloworld-contribution">
-
- <component name="HelloworldComponent">
- <implementation.java class="sample.HelloworldImpl"/>
- </component>
-
-</composite>
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld/src/test/java/sample/HelloworldTestCase.java b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld/src/test/java/sample/HelloworldTestCase.java
deleted file mode 100644
index be27aa68ef..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/helloworld/src/test/java/sample/HelloworldTestCase.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * 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.
- */
-package sample;
-
-import org.junit.Assert;
-
-import org.apache.tuscany.sca.Node;
-import org.apache.tuscany.sca.TuscanyRuntime;
-import org.junit.Test;
-import org.oasisopen.sca.NoSuchServiceException;
-
-public class HelloworldTestCase {
-
- @Test
- public void testSayHello() throws NoSuchServiceException {
-
- // Run the SCA composite in a Tuscany runtime
- Node node = TuscanyRuntime.runComposite("helloworld.composite", "target/classes");
- try {
-
- // Get the Helloworld service proxy
- Helloworld helloworld = node.getService(Helloworld.class, "HelloworldComponent");
-
- // test that it works as expected
- Assert.assertEquals("Hello Amelia", helloworld.sayHello("Amelia"));
-
- } finally {
- // Stop the Tuscany runtime Node
- node.stop();
- }
- }
-}
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/pom.xml b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/pom.xml
deleted file mode 100644
index 5db96975ab..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/getting-started/pom.xml
+++ /dev/null
@@ -1,39 +0,0 @@
-<?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.
--->
-<project>
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.tuscany.sca.samples</groupId>
- <artifactId>tuscany-samples</artifactId>
- <version>2.0-Beta3</version>
- </parent>
-
- <artifactId>tuscany-samples-getting-started</artifactId>
- <version>2.0-Beta3</version>
- <packaging>pom</packaging>
- <name>Apache Tuscany SCA Samples Getting Started</name>
-
- <modules>
- <module>helloworld</module>
- <module>helloworld-webapp</module>
- <module>helloworld-scaclient</module>
- </modules>
-
-</project>
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/pom.xml b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/pom.xml
deleted file mode 100644
index 9b852ae922..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/pom.xml
+++ /dev/null
@@ -1,39 +0,0 @@
-<?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.
--->
-<project>
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-sca</artifactId>
- <version>2.0-Beta3</version>
- </parent>
-
- <groupId>org.apache.tuscany.sca.samples</groupId>
- <artifactId>tuscany-samples</artifactId>
- <version>2.0-Beta3</version>
- <packaging>pom</packaging>
- <name>Apache Tuscany SCA Samples</name>
-
- <modules>
- <module>getting-started</module>
- <module>running-tuscany</module>
- </modules>
-
-</project>
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/ant/README.html b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/ant/README.html
deleted file mode 100644
index 414205ac23..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/ant/README.html
+++ /dev/null
@@ -1,47 +0,0 @@
-<?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.
--->
-<!DOCTYPE html
- PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN" "http://www.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"><!--This file was converted to xhtml by OpenOffice.org - see http://xml.openoffice.org/odf2xhtml for more info.--><head profile="http://dublincore.org/documents/dcmi-terms/"><meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8"/><title xml:lang="en-US">- no title specified</title><meta name="DCTERMS.title" content="" xml:lang="en-US"/><meta name="DCTERMS.language" content="en-US" scheme="DCTERMS.RFC4646"/><meta name="DCTERMS.source" content="http://xml.openoffice.org/odf2xhtml"/><meta name="DCTERMS.creator" content="ant "/><meta name="DCTERMS.issued" content="2011-03-15T09:48:55.71" scheme="DCTERMS.W3CDTF"/><meta name="DCTERMS.modified" content="2011-04-18T12:37:30.13" scheme="DCTERMS.W3CDTF"/><meta name="DCTERMS.provenance" content="" xml:lang="en-US"/><meta name="DCTERMS.subject" content="," xml:lang="en-US"/><link rel="schema.DC" href="http://purl.org/dc/elements/1.1/" hreflang="en"/><link rel="schema.DCTERMS" href="http://purl.org/dc/terms/" hreflang="en"/><link rel="schema.DCTYPE" href="http://purl.org/dc/dcmitype/" hreflang="en"/><link rel="schema.DCAM" href="http://purl.org/dc/dcam/" hreflang="en"/><base href="."/><style type="text/css">
- @page { }
- table { border-collapse:collapse; border-spacing:0; empty-cells:show }
- td, th { vertical-align:top; font-size:12pt;}
- h1, h2, h3, h4, h5, h6 { clear:both }
- ol, ul { margin:0; padding:0;}
- li { list-style: none; margin:0; padding:0;}
- <!-- "li span.odfLiEnd" - IE 7 issue-->
- li span. { clear: both; line-height:0; width:0; height:0; margin:0; padding:0; }
- span.footnodeNumber { padding-right:1em; }
- span.annotation_style_by_filter { font-size:95%; font-family:Arial; background-color:#fff000; margin:0; border:0; padding:0; }
- * { margin:0;}
- .Heading_20_1 { font-size:115%; margin-bottom:0.212cm; margin-top:0.423cm; font-family:Arial; writing-mode:page; font-weight:bold; }
- .P1 { font-size:10pt; font-family:Courier New; writing-mode:page; }
- .Standard { font-size:12pt; font-family:Times New Roman; writing-mode:page; }
- .Table_20_Contents { font-size:12pt; font-family:Times New Roman; writing-mode:page; }
- .Table1 { width:17.013cm; margin-left:0cm; margin-right:-0.012cm; float:none; }
- .Table1_A1 { padding:0.097cm; border-left-width:0.0133cm; border-left-style:solid; border-left-color:#000000; border-right-style:none; border-top-width:0.0133cm; border-top-style:solid; border-top-color:#000000; border-bottom-width:0.0133cm; border-bottom-style:solid; border-bottom-color:#000000; }
- .Table1_A2 { padding:0.097cm; border-left-width:0.0133cm; border-left-style:solid; border-left-color:#000000; border-right-style:none; border-top-style:none; border-bottom-width:0.0133cm; border-bottom-style:solid; border-bottom-color:#000000; }
- .Table1_B1 { padding:0.097cm; border-width:0.0133cm; border-style:solid; border-color:#000000; }
- .Table1_B2 { padding:0.097cm; border-left-width:0.0133cm; border-left-style:solid; border-left-color:#000000; border-right-width:0.0133cm; border-right-style:solid; border-right-color:#000000; border-top-style:none; border-bottom-width:0.0133cm; border-bottom-style:solid; border-bottom-color:#000000; }
- .Table1_A { width:5.609cm; }
- .Table1_B { width:11.404cm; }
- <!-- ODF styles with no properties representable as CSS -->
- { }
- </style></head><body dir="ltr" style="max-width:21.001cm;margin-top:2cm; margin-bottom:2cm; margin-left:2cm; margin-right:2cm; "><h1 class="Heading_20_1"><a id="a__Running_the_Tuscany_runtime_from_Ant"><span/></a>Running the Tuscany runtime from Ant</h1><p class="Standard"> </p><p class="Standard">If you're an Ant user it's handy to be able to deploy and run a contribution from an Ant script. This sample re-use the calculator-composite.jar and runs it using the Tuscany shell started from an Ant script. </p><p class="Standard"> </p><p class="Standard">To run the sample :</p><p class="Standard"> </p><p class="P1">cd ant</p><p class="P1">ant</p><p class="P1"> </p><p class="Standard">You will of course need to have Ant (<a href="http://ant.apache.org/">http://ant.apache.org/</a>) installed. This sample was created with Ant version 1.8.0.</p><p class="Standard"> </p><p class="Standard">In the build.xml there are several different targets. Each describes a different way of constructing the Java classpath to include the correct Tuscany jars. </p><p class="Standard"> </p><table border="0" cellspacing="0" cellpadding="0" class="Table1"><colgroup><col width="245"/><col width="498"/></colgroup><tr><td style="text-align:left;width:5.609cm; " class="Table1_A1"><p class="Table_20_Contents">Target</p></td><td style="text-align:left;width:11.404cm; " class="Table1_B1"><p class="Table_20_Contents">Description</p></td></tr><tr><td style="text-align:left;width:5.609cm; " class="Table1_A2"><p class="Table_20_Contents">run-all-manifest-jar</p></td><td style="text-align:left;width:11.404cm; " class="Table1_B2"><p class="Table_20_Contents">Includes a single manifest jar on the classpath which in turn references all of the jars in the binary distribution's modules directory</p></td></tr><tr><td style="text-align:left;width:5.609cm; " class="Table1_A2"><p class="Table_20_Contents">run-base-extension-paths</p></td><td style="text-align:left;width:11.404cm; " class="Table1_B2"><p class="Table_20_Contents">For the Ant user Tuscany ships with predefined Ant paths for each of the Tuscany extensions. </p></td></tr><tr><td style="text-align:left;width:5.609cm; " class="Table1_A2"><p class="Table_20_Contents">run-base-extension-manifests</p></td><td style="text-align:left;width:11.404cm; " class="Table1_B2"><p class="Table_20_Contents">For completeness we also ship manifest jars for the Tuscany base and each of the extensions</p></td></tr><tr><td style="text-align:left;width:5.609cm; " class="Table1_A2"><p class="Table_20_Contents">run-base-extension-jars</p></td><td style="text-align:left;width:11.404cm; " class="Table1_B2"><p class="Table_20_Contents">If you want to re-package Tuscany we ship stand-alone jars for the Tuscany base and extensions</p></td></tr></table><p class="Standard"> </p><p class="Standard">The sample build.xml file defaults to running the run-all-manifest-jar target. To run other targets add the name of the target to then end of the command line. For example, </p><p class="Standard"> </p><p class="P1">ant run-base-extension-paths</p><p class="Standard"> </p><p class="Standard"> </p></body></html>
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/ant/README.odt b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/ant/README.odt
deleted file mode 100644
index e89825446f..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/ant/README.odt
+++ /dev/null
Binary files differ
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/ant/build.xml b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/ant/build.xml
deleted file mode 100644
index a2c68aa870..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/ant/build.xml
+++ /dev/null
@@ -1,83 +0,0 @@
-<!--
- * 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.
--->
-<project name="running-tuscany-with-ant" default="run-all-manifest-jar">
-
- <property name="tuscany.home" value="../../.."/>
-
- <import file="${tuscany.home}/features/tuscany-base-runtime-pom/build-path.xml"/>
- <import file="${tuscany.home}/features/tuscany-binding-ws-runtime-axis2/build-path.xml"/>
- <import file="${tuscany.home}/features/tuscany-host-jetty/build-path.xml"/>
-
- <!-- Run using the "all" manifest jar -->
- <target name="run-all-manifest-jar">
- <java classname="org.apache.tuscany.sca.shell.Shell"
- fork="true"
- failonerror="true">
- <classpath>
- <fileset dir="${tuscany.home}/features">
- <include name="tuscany-sca-manifest.jar" />
- </fileset>
- </classpath>
- <arg value="../calculator-contribution.jar"/>
- </java>
- </target>
-
- <!-- Run using the base + extension ant paths -->
- <target name="run-base-extension-paths">
- <java classname="org.apache.tuscany.sca.shell.Shell"
- fork="true"
- failonerror="true">
- <classpath>
- <path refid="tuscany-base-runtime-pom.path"/>
- </classpath>
- <arg value="../calculator-contribution.jar"/>
- </java>
- </target>
-
- <!-- Run using the base + extension manifest -->
- <target name="run-base-extension-manifests">
- <java classname="org.apache.tuscany.sca.shell.Shell"
- fork="true"
- failonerror="true">
- <classpath>
- <fileset dir="${tuscany.home}/features/tuscany-base-runtime-pom">
- <include name="tuscany-base-runtime-pom-manifest.jar" />
- </fileset>
- </classpath>
- <arg value="../calculator-contribution.jar"/>
- </java>
- </target>
-
- <!-- Run using the base + extension jars -->
-<!-- TODO - which jars should we be using here -->
- <target name="run-base-extension-jars">
- <java classname="org.apache.tuscany.sca.shell.Shell"
- fork="true"
- failonerror="true">
- <classpath>
- <pathelement location="target/${jar.name}"/>
- <fileset dir="${tuscany.home}/lib">
- <include name="tuscany-base-runtime-aggregation-2.0-Beta3.jar" />
- </fileset>
- </classpath>
- <arg value="../calculator-contribution.jar"/>
- </java>
- </target>
-
-</project>
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/calculator-contribution.jar b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/calculator-contribution.jar
deleted file mode 100644
index 32b0ee5f6c..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/calculator-contribution.jar
+++ /dev/null
Binary files differ
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/command-line/README.html b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/command-line/README.html
deleted file mode 100644
index 6343cf5f85..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/command-line/README.html
+++ /dev/null
@@ -1,41 +0,0 @@
-<?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.
--->
-
-<!DOCTYPE html
- PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN" "http://www.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"><!--This file was converted to xhtml by OpenOffice.org - see http://xml.openoffice.org/odf2xhtml for more info.--><head profile="http://dublincore.org/documents/dcmi-terms/"><meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8"/><title xml:lang="en-US">- no title specified</title><meta name="DCTERMS.title" content="" xml:lang="en-US"/><meta name="DCTERMS.language" content="en-US" scheme="DCTERMS.RFC4646"/><meta name="DCTERMS.source" content="http://xml.openoffice.org/odf2xhtml"/><meta name="DCTERMS.creator" content="ant "/><meta name="DCTERMS.issued" content="2011-03-15T09:48:55.71" scheme="DCTERMS.W3CDTF"/><meta name="DCTERMS.modified" content="2011-04-14T11:47:12.75" scheme="DCTERMS.W3CDTF"/><meta name="DCTERMS.provenance" content="" xml:lang="en-US"/><meta name="DCTERMS.subject" content="," xml:lang="en-US"/><link rel="schema.DC" href="http://purl.org/dc/elements/1.1/" hreflang="en"/><link rel="schema.DCTERMS" href="http://purl.org/dc/terms/" hreflang="en"/><link rel="schema.DCTYPE" href="http://purl.org/dc/dcmitype/" hreflang="en"/><link rel="schema.DCAM" href="http://purl.org/dc/dcam/" hreflang="en"/><base href="."/><style type="text/css">
- @page { }
- table { border-collapse:collapse; border-spacing:0; empty-cells:show }
- td, th { vertical-align:top; font-size:12pt;}
- h1, h2, h3, h4, h5, h6 { clear:both }
- ol, ul { margin:0; padding:0;}
- li { list-style: none; margin:0; padding:0;}
- <!-- "li span.odfLiEnd" - IE 7 issue-->
- li span. { clear: both; line-height:0; width:0; height:0; margin:0; padding:0; }
- span.footnodeNumber { padding-right:1em; }
- span.annotation_style_by_filter { font-size:95%; font-family:Arial; background-color:#fff000; margin:0; border:0; padding:0; }
- * { margin:0;}
- .Heading_20_1 { font-size:115%; margin-bottom:0.212cm; margin-top:0.423cm; font-family:Arial; writing-mode:page; font-weight:bold; }
- .P1 { font-size:10pt; font-family:Times New Roman; writing-mode:page; }
- .Standard { font-size:12pt; font-family:Times New Roman; writing-mode:page; }
- .T1 { font-family:Courier New; }
- .T2 { font-family:Courier New; font-style:italic; }
- <!-- ODF styles with no properties representable as CSS -->
- { }
- </style></head><body dir="ltr" style="max-width:21.001cm;margin-top:2cm; margin-bottom:2cm; margin-left:2cm; margin-right:2cm; "><h1 class="Heading_20_1"><a id="a__Running_contributions_using_the_Tuscany_Shell"><span/></a>Running contributions using the Tuscany Shell</h1><p class="Standard"> </p><p class="Standard">To execute a sample contribution from the command line without needing to write any runtime launcher code you can use the Tuscany shell. The Shell provides a simple tool for loading and running SCA contributions. </p><p class="Standard"> </p><p class="Standard">The shell can be started using the tuscany.bat (windows) or tuscany.sh (linux) scripts provided in the /bin directory of the binary distribution. You can provide the name of a contribution as an argument in the following way </p><p class="Standard"> </p><p class="P1">  <span class="T1">bin/tuscany.bat </span><span class="T2">location_of_contribution</span></p><p class="Standard"> </p><p class="Standard">The getting-started\helloworld contribution is a good contribution to start with if you want to give this a go. First change directory to the root of the Tuscany binary distribution. Then;</p><p class="Standard"> </p><p class="Standard">on Windows:</p><p class="Standard"> </p><p class="P1">  <span class="T1">bin\tuscany.bat samples\getting-started\helloworld</span></p><p class="Standard"> </p><p class="Standard">on Linux:</p><p class="Standard"> </p><p class="P1">  <span class="T1">bin/tuscany.sh samples/getting-started/helloworld</span></p><p class="Standard"> </p><p class="Standard">Once the Shell has started with one of those methods you can use Shell commands to explore</p><p class="Standard">the SCA domain, for example, use the "installed" command to get the status of installed contributions, "services" to see the available component services, and you may test calling the helloworld service by using the "invoke" command:</p><p class="Standard"> </p><p class="P1">   <span class="T1">invoke HelloworldComponent sayHello yourName</span></p><p class="Standard"> </p><p class="Standard">TODO – add more instructions on how to use the shell</p></body></html> \ No newline at end of file
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/command-line/README.odt b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/command-line/README.odt
deleted file mode 100644
index 08fa3c1204..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/command-line/README.odt
+++ /dev/null
Binary files differ
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/eclipse/README.html b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/eclipse/README.html
deleted file mode 100644
index b31333b7e8..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/eclipse/README.html
+++ /dev/null
@@ -1,38 +0,0 @@
-<?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.
--->
-<!DOCTYPE html
- PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN" "http://www.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"><!--This file was converted to xhtml by OpenOffice.org - see http://xml.openoffice.org/odf2xhtml for more info.--><head profile="http://dublincore.org/documents/dcmi-terms/"><meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8"/><title xml:lang="en-US">- no title specified</title><meta name="DCTERMS.title" content="" xml:lang="en-US"/><meta name="DCTERMS.language" content="en-US" scheme="DCTERMS.RFC4646"/><meta name="DCTERMS.source" content="http://xml.openoffice.org/odf2xhtml"/><meta name="DCTERMS.creator" content="ant "/><meta name="DCTERMS.issued" content="2011-03-15T09:48:55.71" scheme="DCTERMS.W3CDTF"/><meta name="DCTERMS.modified" content="2011-04-14T11:46:35.96" scheme="DCTERMS.W3CDTF"/><meta name="DCTERMS.provenance" content="" xml:lang="en-US"/><meta name="DCTERMS.subject" content="," xml:lang="en-US"/><link rel="schema.DC" href="http://purl.org/dc/elements/1.1/" hreflang="en"/><link rel="schema.DCTERMS" href="http://purl.org/dc/terms/" hreflang="en"/><link rel="schema.DCTYPE" href="http://purl.org/dc/dcmitype/" hreflang="en"/><link rel="schema.DCAM" href="http://purl.org/dc/dcam/" hreflang="en"/><base href="."/><style type="text/css">
- @page { }
- table { border-collapse:collapse; border-spacing:0; empty-cells:show }
- td, th { vertical-align:top; font-size:12pt;}
- h1, h2, h3, h4, h5, h6 { clear:both }
- ol, ul { margin:0; padding:0;}
- li { list-style: none; margin:0; padding:0;}
- <!-- "li span.odfLiEnd" - IE 7 issue-->
- li span. { clear: both; line-height:0; width:0; height:0; margin:0; padding:0; }
- span.footnodeNumber { padding-right:1em; }
- span.annotation_style_by_filter { font-size:95%; font-family:Arial; background-color:#fff000; margin:0; border:0; padding:0; }
- * { margin:0;}
- .Heading_20_1 { font-size:115%; margin-bottom:0.212cm; margin-top:0.423cm; font-family:Arial; writing-mode:page; font-weight:bold; }
- .Standard { font-size:12pt; font-family:Times New Roman; writing-mode:page; }
- <!-- ODF styles with no properties representable as CSS -->
- { }
- </style></head><body dir="ltr" style="max-width:21.001cm;margin-top:2cm; margin-bottom:2cm; margin-left:2cm; margin-right:2cm; "><h1 class="Heading_20_1"><a id="a__Running_contributions_inside_Eclipse"><span/></a>Running contributions inside Eclipse</h1><p class="Standard"> </p><p class="Standard">To import sample contributions into Eclipse you first need to import the Tuscany runtime. You then need to import the sample contribution into Eclipse as a project. Instructions for doing both of these things can be found here </p><p class="Standard"> </p><p class="Standard"><a href="http://tuscany.apache.org/import-existing-tuscany-sca-projects-into-eclipse.html">http://tuscany.apache.org/import-existing-tuscany-sca-projects-into-eclipse.html</a></p><p class="Standard"> </p><p class="Standard">Note. these instructions refer to our 1.x code base but it holds true for our 2.x code base. </p><p class="Standard"> </p><p class="Standard">Once you have a contribution imported into Eclipse and cleanly compiling against the Tuscany runtime jars you probably want to be able to run and  debug it. The easiest way to do this is with a simple Java launcher. If you import the running-tuscany/embedded-jse project into Eclipse you'll see a simple launcher program which you can copy and adjust to launch the contribution(s) of your choice. </p></body></html> \ No newline at end of file
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/eclipse/README.odt b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/eclipse/README.odt
deleted file mode 100644
index 785754163f..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/eclipse/README.odt
+++ /dev/null
Binary files differ
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/jse/README.html b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/jse/README.html
deleted file mode 100644
index fc36b9b643..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/jse/README.html
+++ /dev/null
@@ -1,41 +0,0 @@
-<?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.
--->
-<!DOCTYPE html
- PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN" "http://www.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"><!--This file was converted to xhtml by OpenOffice.org - see http://xml.openoffice.org/odf2xhtml for more info.--><head profile="http://dublincore.org/documents/dcmi-terms/"><meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8"/><title xml:lang="en-US">- no title specified</title><meta name="DCTERMS.title" content="" xml:lang="en-US"/><meta name="DCTERMS.language" content="en-US" scheme="DCTERMS.RFC4646"/><meta name="DCTERMS.source" content="http://xml.openoffice.org/odf2xhtml"/><meta name="DCTERMS.creator" content="ant "/><meta name="DCTERMS.issued" content="2011-03-15T09:48:55.71" scheme="DCTERMS.W3CDTF"/><meta name="DCTERMS.modified" content="2011-04-14T11:19:39.45" scheme="DCTERMS.W3CDTF"/><meta name="DCTERMS.provenance" content="" xml:lang="en-US"/><meta name="DCTERMS.subject" content="," xml:lang="en-US"/><link rel="schema.DC" href="http://purl.org/dc/elements/1.1/" hreflang="en"/><link rel="schema.DCTERMS" href="http://purl.org/dc/terms/" hreflang="en"/><link rel="schema.DCTYPE" href="http://purl.org/dc/dcmitype/" hreflang="en"/><link rel="schema.DCAM" href="http://purl.org/dc/dcam/" hreflang="en"/><base href="."/><style type="text/css">
- @page { }
- table { border-collapse:collapse; border-spacing:0; empty-cells:show }
- td, th { vertical-align:top; font-size:12pt;}
- h1, h2, h3, h4, h5, h6 { clear:both }
- ol, ul { margin:0; padding:0;}
- li { list-style: none; margin:0; padding:0;}
- <!-- "li span.odfLiEnd" - IE 7 issue-->
- li span. { clear: both; line-height:0; width:0; height:0; margin:0; padding:0; }
- span.footnodeNumber { padding-right:1em; }
- span.annotation_style_by_filter { font-size:95%; font-family:Arial; background-color:#fff000; margin:0; border:0; padding:0; }
- * { margin:0;}
- .Heading_20_1 { font-size:115%; margin-bottom:0.212cm; margin-top:0.423cm; font-family:Arial; writing-mode:page; font-weight:bold; }
- .P1 { font-size:10pt; font-family:Courier New; writing-mode:page; }
- .Standard { font-size:12pt; font-family:Times New Roman; writing-mode:page; }
- .T1 { color:#000000; font-family:Courier New; font-size:10pt; }
- .T2 { font-family:Courier New; font-size:10pt; }
- <!-- ODF styles with no properties representable as CSS -->
- { }
- </style></head><body dir="ltr" style="max-width:21.001cm;margin-top:2cm; margin-bottom:2cm; margin-left:2cm; margin-right:2cm; "><h1 class="Heading_20_1"><a id="a__Running_the_Tuscany_runtime_from_a_Java_program"><span/></a>Running the Tuscany runtime from a Java program</h1><p class="Standard"> </p><p class="Standard">The Tuscany SCA Runtime provides a Node API that allows the runtime to be started from within a Java program. A Node in Tuscany represents a set of activated composites and a Node is configured  with all of the contributions required for those composites to run. The idea is to allow you to partition the domain up into it's constituent deployable composites and run each one in its own node on an appropriate machine. In that way the domain can easily be distributed while SCA takes care of making sure that wired services can communicate regardless of where they are. </p><p class="Standard"> </p><p class="Standard">The basic pattern is as follows:</p><p class="Standard"> </p><p class="Standard">1/ Use the <span class="T1">org.apache.tuscany.sca.node.NodeFactory </span>API to create a <span class="T1">org.apache.tuscany.sca.node.Node</span> instance configured with enough contributions to run the required composite</p><p class="Standard">2/ Start the Node instance. This starts deployable composites contained in the provided contributions</p><p class="Standard">3/ Interact with the services that the Node instance has made available</p><p class="Standard">4/ Stop the Node instance </p><p class="Standard"> </p><p class="Standard">The pattern is demonstrated in this sample in the <span class="T2">launcher.</span><span class="T1">LaunchCalculatorContribution </span>class. It loads the <span class="T2">calculator-contribution.jar </span>contribution found in the parent directory, makes a simple call to add two numbers together using the Calculator service and then shuts down. </p><p class="Standard"> </p><p class="Standard">To run the sample on Windows do:</p><p class="Standard"> </p><p class="P1">cd jse</p><p class="P1">run-sample.bat</p><p class="Standard"> </p><p class="Standard">To run the sample on *nix do:</p><p class="Standard"> </p><p class="P1">cd jse</p><p class="P1">run-sample.sh</p><p class="Standard"> </p><p class="Standard">To re-build the sample classes do </p><p class="Standard"> </p><p class="P1">cd jse</p><p class="P1">mvn</p><p class="Standard"> </p><p class="Standard">Note. The mvn build will automatically run a unit test that also runs the sample. </p><p class="Standard"> </p></body></html> \ No newline at end of file
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/jse/README.odt b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/jse/README.odt
deleted file mode 100644
index 232c0dd590..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/jse/README.odt
+++ /dev/null
Binary files differ
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/jse/pom.xml b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/jse/pom.xml
deleted file mode 100644
index 30f2917508..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/jse/pom.xml
+++ /dev/null
@@ -1,50 +0,0 @@
-<?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.
--->
-<project>
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.tuscany.sca.samples</groupId>
- <artifactId>tuscany-samples-running-tuscany</artifactId>
- <version>2.0-Beta3</version>
- <relativePath>../pom.xml</relativePath>
- </parent>
- <artifactId>jse</artifactId>
- <name>Apache Tuscany SCA Samples JSE</name>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-base-runtime</artifactId>
- <version>2.0-Beta3</version>
- </dependency>
-
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.8.1</version>
- <scope>test</scope>
- </dependency>
-
- </dependencies>
-
- <build>
- <finalName>${project.artifactId}</finalName>
- </build>
-</project>
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/jse/run-sample.bat b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/jse/run-sample.bat
deleted file mode 100644
index a7965ff45c..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/jse/run-sample.bat
+++ /dev/null
@@ -1,18 +0,0 @@
-REM # Licensed to the Apache Software Foundation (ASF) under one
-REM # or more contributor license agreements. See the NOTICE file
-REM # distributed with this work for additional information
-REM # regarding copyright ownership. The ASF licenses this file
-REM # to you under the Apache License, Version 2.0 (the
-REM # "License"); you may not use this file except in compliance
-REM # with the License. You may obtain a copy of the License at
-REM #
-REM # http://www.apache.org/licenses/LICENSE-2.0
-REM #
-REM # Unless required by applicable law or agreed to in writing,
-REM # software distributed under the License is distributed on an
-REM # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-REM # KIND, either express or implied. See the License for the
-REM # specific language governing permissions and limitations
-REM # under the License.
-
-java -cp ..\..\..\features\tuscany-base-runtime-pom\tuscany-base-runtime-pom-manifest.jar;target\jse.jar launcher.LaunchCalculatorContribution
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/jse/run-sample.sh b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/jse/run-sample.sh
deleted file mode 100644
index ecc78c2e46..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/jse/run-sample.sh
+++ /dev/null
@@ -1,19 +0,0 @@
-# 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
-
-#!/bin/bash
-
-java -cp ../../../features/tuscany-base-runtime-pom/tuscany-base-runtime-pom-manifest.jar;target/jse.jar launcher.LaunchCalculatorContribution
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/jse/src/main/java/calculator/CalculatorService.java b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/jse/src/main/java/calculator/CalculatorService.java
deleted file mode 100644
index 12d80ffd1c..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/jse/src/main/java/calculator/CalculatorService.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * 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.
- */
-package calculator;
-
-import org.oasisopen.sca.annotation.Remotable;
-
-
-/**
- * The Calculator service interface.
- */
-@Remotable
-public interface CalculatorService {
-
- double add(double n1, double n2);
-
- double subtract(double n1, double n2);
-
- double multiply(double n1, double n2);
-
- double divide(double n1, double n2);
-
-}
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/jse/src/main/java/launcher/LaunchCalculatorContribution.java b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/jse/src/main/java/launcher/LaunchCalculatorContribution.java
deleted file mode 100644
index 2b787fb6b8..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/jse/src/main/java/launcher/LaunchCalculatorContribution.java
+++ /dev/null
@@ -1,60 +0,0 @@
-/*
- * 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.
- */
-
-package launcher;
-
-import org.apache.tuscany.sca.node.Contribution;
-import org.apache.tuscany.sca.node.Node;
-import org.apache.tuscany.sca.node.NodeFactory;
-
-import calculator.CalculatorService;
-
-/**
- * This program shows how to create an embedded SCA runtime, load a contribution,
- * start it and locate and invoke an SCA component from Java.
- */
-public class LaunchCalculatorContribution {
-
- /*
- * Use the Tuscany Node API to:
- * - create a Node instance and load a contribution from the parent directory
- * - start the node (which starts deployable composites)
- * - get a local service proxy
- * - make a service call using the proxy
- * - stop the node
- */
- public static void main(String[] args) throws Exception {
- Node node = NodeFactory.newInstance().createNode(new Contribution("c1", "../calculator-contribution.jar"));
-
- node.start();
-
- CalculatorService calculator = node.getService(CalculatorService.class, "CalculatorServiceComponent");
-
- double result = calculator.add(3, 2);
-
- System.out.println("3 + 2 = " + result);
-
- if (result != 5.0){
- throw new RuntimeException("Expected 5.0 but result was " + result);
- }
-
- node.stop();
- }
-
-}
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/jse/src/test/java/launcher/LauncherTestCase.java b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/jse/src/test/java/launcher/LauncherTestCase.java
deleted file mode 100644
index 8adabd8137..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/jse/src/test/java/launcher/LauncherTestCase.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * 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.
- */
-package launcher;
-
-import org.junit.Test;
-
-/**
- * Test the sample launcher
- */
-public class LauncherTestCase {
-
- @Test
- public void testCalculatorContribution() throws Exception {
- LaunchCalculatorContribution.main(null);
- }
-
-}
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/junit/README.html b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/junit/README.html
deleted file mode 100644
index 00d6592cb8..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/junit/README.html
+++ /dev/null
@@ -1,39 +0,0 @@
-<?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.
--->
-<!DOCTYPE html
- PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN" "http://www.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"><!--This file was converted to xhtml by OpenOffice.org - see http://xml.openoffice.org/odf2xhtml for more info.--><head profile="http://dublincore.org/documents/dcmi-terms/"><meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8"/><title xml:lang="en-US">- no title specified</title><meta name="DCTERMS.title" content="" xml:lang="en-US"/><meta name="DCTERMS.language" content="en-US" scheme="DCTERMS.RFC4646"/><meta name="DCTERMS.source" content="http://xml.openoffice.org/odf2xhtml"/><meta name="DCTERMS.creator" content="ant "/><meta name="DCTERMS.issued" content="2011-03-15T09:48:55.71" scheme="DCTERMS.W3CDTF"/><meta name="DCTERMS.modified" content="2011-04-14T11:20:02.98" scheme="DCTERMS.W3CDTF"/><meta name="DCTERMS.provenance" content="" xml:lang="en-US"/><meta name="DCTERMS.subject" content="," xml:lang="en-US"/><link rel="schema.DC" href="http://purl.org/dc/elements/1.1/" hreflang="en"/><link rel="schema.DCTERMS" href="http://purl.org/dc/terms/" hreflang="en"/><link rel="schema.DCTYPE" href="http://purl.org/dc/dcmitype/" hreflang="en"/><link rel="schema.DCAM" href="http://purl.org/dc/dcam/" hreflang="en"/><base href="."/><style type="text/css">
- @page { }
- table { border-collapse:collapse; border-spacing:0; empty-cells:show }
- td, th { vertical-align:top; font-size:12pt;}
- h1, h2, h3, h4, h5, h6 { clear:both }
- ol, ul { margin:0; padding:0;}
- li { list-style: none; margin:0; padding:0;}
- <!-- "li span.odfLiEnd" - IE 7 issue-->
- li span. { clear: both; line-height:0; width:0; height:0; margin:0; padding:0; }
- span.footnodeNumber { padding-right:1em; }
- span.annotation_style_by_filter { font-size:95%; font-family:Arial; background-color:#fff000; margin:0; border:0; padding:0; }
- * { margin:0;}
- .Heading_20_1 { font-size:115%; margin-bottom:0.212cm; margin-top:0.423cm; font-family:Arial; writing-mode:page; font-weight:bold; }
- .P1 { font-size:10pt; font-family:Courier New; writing-mode:page; }
- .Standard { font-size:12pt; font-family:Times New Roman; writing-mode:page; }
- <!-- ODF styles with no properties representable as CSS -->
- { }
- </style></head><body dir="ltr" style="max-width:21.001cm;margin-top:2cm; margin-bottom:2cm; margin-left:2cm; margin-right:2cm; "><h1 class="Heading_20_1"><a id="a__Running_the_Tuscany_runtime_from_JUnit"><span/></a>Running the Tuscany runtime from JUnit</h1><p class="Standard"> </p><p class="Standard">The same Node API used to start the Tuscany runtime from Java can of course also be used from within a JUnit test case. This allows you to automatically test you SCA contributions. This sample uses the same sart-up code from the jse sample but this time inside:</p><p class="Standard"> </p><p class="P1">   launcher.LaunchCalculatorContributionTestCase.java</p><p class="Standard"> </p><p class="Standard">This JUnit test case can be run using you usually use to run JUnit tests. By default Maven will run JUnit tests for a module so this sample can be run by doing the following:</p><p class="Standard"> </p><p class="P1">cd junit</p><p class="P1">mvn</p><p class="Standard"> </p><p class="Standard">TODO – should we provide run-sample scripts. If so we need to ship JUnit or provide instructions on how to install it?</p></body></html> \ No newline at end of file
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/junit/README.odt b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/junit/README.odt
deleted file mode 100644
index 6a8240d72e..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/junit/README.odt
+++ /dev/null
Binary files differ
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/junit/pom.xml b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/junit/pom.xml
deleted file mode 100644
index a48f8b6301..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/junit/pom.xml
+++ /dev/null
@@ -1,50 +0,0 @@
-<?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.
--->
-<project>
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.tuscany.sca.samples</groupId>
- <artifactId>tuscany-samples-running-tuscany</artifactId>
- <version>2.0-Beta3</version>
- <relativePath>../pom.xml</relativePath>
- </parent>
- <artifactId>junit</artifactId>
- <name>Apache Tuscany SCA Samples JUnit</name>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-base-runtime</artifactId>
- <version>2.0-Beta3</version>
- </dependency>
-
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.8.1</version>
- <scope>test</scope>
- </dependency>
-
- </dependencies>
-
- <build>
- <finalName>${project.artifactId}</finalName>
- </build>
-</project>
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/junit/src/main/java/calculator/CalculatorService.java b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/junit/src/main/java/calculator/CalculatorService.java
deleted file mode 100644
index 12d80ffd1c..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/junit/src/main/java/calculator/CalculatorService.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * 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.
- */
-package calculator;
-
-import org.oasisopen.sca.annotation.Remotable;
-
-
-/**
- * The Calculator service interface.
- */
-@Remotable
-public interface CalculatorService {
-
- double add(double n1, double n2);
-
- double subtract(double n1, double n2);
-
- double multiply(double n1, double n2);
-
- double divide(double n1, double n2);
-
-}
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/junit/src/test/java/launcher/LaunchCalculatorContributionTestCase.java b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/junit/src/test/java/launcher/LaunchCalculatorContributionTestCase.java
deleted file mode 100644
index 229a3fe223..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/junit/src/test/java/launcher/LaunchCalculatorContributionTestCase.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * 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.
- */
-package launcher;
-
-import junit.framework.Assert;
-
-import org.apache.tuscany.sca.node.Contribution;
-import org.apache.tuscany.sca.node.Node;
-import org.apache.tuscany.sca.node.NodeFactory;
-import org.junit.Test;
-
-import calculator.CalculatorService;
-
-/**
- * Test sample contribution.
- */
-public class LaunchCalculatorContributionTestCase {
-
-
- @Test
- public void testCalculatorContribution() throws Exception {
- Node node = NodeFactory.newInstance().createNode(new Contribution("c1", "../calculator-contribution.jar"));
- node.start();
-
- CalculatorService calculator = node.getService(CalculatorService.class, "CalculatorServiceComponent");
-
- double result = calculator.add(3, 2);
-
- System.out.println("3 + 2 = " + result);
-
- Assert.assertEquals(5.0, result);
-
- node.stop();
- }
-}
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/pom.xml b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/pom.xml
deleted file mode 100644
index 603a5f7e88..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/pom.xml
+++ /dev/null
@@ -1,46 +0,0 @@
-<?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.
--->
-<project>
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.tuscany.sca.samples</groupId>
- <artifactId>tuscany-samples</artifactId>
- <version>2.0-Beta3</version>
-
- </parent>
-
- <artifactId>tuscany-samples-running-tuscany</artifactId>
- <version>2.0-Beta3</version>
- <packaging>pom</packaging>
- <name>Apache Tuscany SCA Samples Running Tuscany</name>
-
- <profiles>
- <profile>
- <id>default</id>
- <activation>
- <activeByDefault>true</activeByDefault>
- </activation>
- <modules>
- <module>jse</module>
- <module>junit</module>
- </modules>
- </profile>
- </profiles>
-</project>
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/running-tuscany.html b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/running-tuscany.html
deleted file mode 100644
index 133948e057..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/running-tuscany.html
+++ /dev/null
@@ -1,50 +0,0 @@
-<?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.
--->
-<!DO
-<!DOCTYPE html
- PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN" "http://www.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"><!--This file was converted to xhtml by OpenOffice.org - see http://xml.openoffice.org/odf2xhtml for more info.--><head profile="http://dublincore.org/documents/dcmi-terms/"><meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8"/><title xml:lang="en-US">- no title specified</title><meta name="DCTERMS.title" content="" xml:lang="en-US"/><meta name="DCTERMS.language" content="en-US" scheme="DCTERMS.RFC4646"/><meta name="DCTERMS.source" content="http://xml.openoffice.org/odf2xhtml"/><meta name="DCTERMS.creator" content="ant "/><meta name="DCTERMS.issued" content="2011-03-15T09:48:55.71" scheme="DCTERMS.W3CDTF"/><meta name="DCTERMS.modified" content="2011-04-18T12:39:54.44" scheme="DCTERMS.W3CDTF"/><meta name="DCTERMS.provenance" content="" xml:lang="en-US"/><meta name="DCTERMS.subject" content="," xml:lang="en-US"/><link rel="schema.DC" href="http://purl.org/dc/elements/1.1/" hreflang="en"/><link rel="schema.DCTERMS" href="http://purl.org/dc/terms/" hreflang="en"/><link rel="schema.DCTYPE" href="http://purl.org/dc/dcmitype/" hreflang="en"/><link rel="schema.DCAM" href="http://purl.org/dc/dcam/" hreflang="en"/><base href="."/><style type="text/css">
- @page { }
- table { border-collapse:collapse; border-spacing:0; empty-cells:show }
- td, th { vertical-align:top; font-size:12pt;}
- h1, h2, h3, h4, h5, h6 { clear:both }
- ol, ul { margin:0; padding:0;}
- li { list-style: none; margin:0; padding:0;}
- <!-- "li span.odfLiEnd" - IE 7 issue-->
- li span. { clear: both; line-height:0; width:0; height:0; margin:0; padding:0; }
- span.footnodeNumber { padding-right:1em; }
- span.annotation_style_by_filter { font-size:95%; font-family:Arial; background-color:#fff000; margin:0; border:0; padding:0; }
- * { margin:0;}
- .fr1 { font-size:12pt; vertical-align:top; writing-mode:lr-tb; }
- .Heading_20_1 { font-size:115%; margin-bottom:0.212cm; margin-top:0.423cm; font-family:Arial; writing-mode:page; font-weight:bold; }
- .P1 { font-size:12pt; font-family:Times New Roman; writing-mode:page; font-weight:bold; }
- .Standard { font-size:12pt; font-family:Times New Roman; writing-mode:page; }
- .Table_20_Contents { font-size:12pt; font-family:Times New Roman; writing-mode:page; }
- .Table1 { width:17.013cm; margin-left:0cm; margin-right:-0.012cm; float:none; }
- .Table1_A1 { padding:0.097cm; border-left-width:0.0133cm; border-left-style:solid; border-left-color:#000000; border-right-style:none; border-top-width:0.0133cm; border-top-style:solid; border-top-color:#000000; border-bottom-width:0.0133cm; border-bottom-style:solid; border-bottom-color:#000000; }
- .Table1_A2 { padding:0.097cm; border-left-width:0.0133cm; border-left-style:solid; border-left-color:#000000; border-right-style:none; border-top-style:none; border-bottom-width:0.0133cm; border-bottom-style:solid; border-bottom-color:#000000; }
- .Table1_B1 { padding:0.097cm; border-width:0.0133cm; border-style:solid; border-color:#000000; }
- .Table1_B2 { padding:0.097cm; border-left-width:0.0133cm; border-left-style:solid; border-left-color:#000000; border-right-width:0.0133cm; border-right-style:solid; border-right-color:#000000; border-top-style:none; border-bottom-width:0.0133cm; border-bottom-style:solid; border-bottom-color:#000000; }
- .Table1_A { width:3.995cm; }
- .Table1_B { width:13.018cm; }
- .T1 { font-weight:normal; }
- <!-- ODF styles with no properties representable as CSS -->
- { }
- </style></head><body dir="ltr" style="max-width:21.001cm;margin-top:2cm; margin-bottom:2cm; margin-left:2cm; margin-right:2cm; "><h1 class="Heading_20_1"><a id="a__iVBORw0KGgoAAAANSUhEUgAAAL8AAABbCAIAAACtXcPFAABGD0lEQVR4nO19B5RlRbV2nXzv7dw9PT2RAWaYGZJkyUEQERAQQUmDgAKyQDICz_eSJSjvRwwgogQJT54oSpQgCIiCpEVGwgyT8_T0dL7p5P_btc_pOd3TaZD161t_l9hz77nn1KlT9dXe3w5Vx4zjWIyXf2HJdr8WDX1cpMc1DFcQa5EmLE1oQhjyRB1jqGmZ82LBo0oHfWHgLI3qC6PANPGvJ_j3QBO6EHoYxoaeF5Ee_pFhm0IP5MUWVROJKKJKdFmDEAE3K6YvpuD_j5d__6JLYNBfTTM1OYYRxjjGVyPWYh5bdR4d0IEpOqJZEgzAmhaYug8IeUF_uVxqrG_E9RqgZegiKgnNNHI2YQ0VaABNJGJd1yTyJNY0bYhmjaPn36nE_rA_afJX_Kcl3xIRQDghMQShpMkRjqMQ_9eFgW9RHGhaiP_k2AgqXn_52FOpFMPIrVRsx3GaGyf4frB2zXpdN1uaW4G1fKEOqNCpIRYEkoj5BkOXcfT8GxcWMvxX6HwE2ND5I2MljqMIyCCgmCQoIlMPldrTCTeVMCpXq5VKtb_vr7tY6sNBO2f19VUbGxsMwy0Wi52d62PIsKjXcgqu35gvNDlWHQFOs6NI12NDJKjWU92YfB9Hz7_6DDevGTnaRvxIsCTQ4Z_BS2ISKtA1oUkqJhD8VWo2qCHXK1Wq3f19XQBNGEIrxSSK4ijwXctEhW7nhpXlcrlQsExbD8Ku2Ku6XjmMqkZtYAJAWqybFkEUd0huPEA6jqPn37TE2b_axr_aPBQRu4lAZlOuHEnchCKqhn7F9SBqSuVyEVDw_L4w8liv6XR1CMKkRbEXgAbplUrF86tObZ0mwsAPwIHC0CsWga5qTaG5rm6i0HJCOL7v205h00aOo_ffqAxn_SpLjCY_pBGpqlAnzRXK_6px6EHMuJWi65bwq_tWIWwAIMgbICyXc2zLCsMIsiiIIkPDpXq14sWBa5iGpee9ih9VfMvQPa0iNAPQ8vFztRL5QUPTZIg7y9BS2j4ue_63lcyIkT7SdBjbUj3FHnBS7Osqlfui0C2X_6PQt21Tg7kVVGw9Nu2cMGDPx27F9zzP1EzHLsDex_f6QnO5UrR0q1DIBb4HzBi6Xir223lTN40oDPpdF4Qacqqxcapm5hNss_mWfInG0fOvL8oezlCgKAxDQ7JgfAlCmE6aQV4XcBcXf71qsat7Q09XR7VaBoOxbcv3ytBKOduwLA2jDkDgQtNwSuUqwQ8ERtjQdYFL3iJY4r4bFpw609QDD4RbBEEEzZizc0FQjmLdMms0U6uU_9dUV2rCaZgwjXg5nWKhrWTPo7X6uOz59yjAipYUVl_RdLR4IBxgq6ZhSg3lV4rd1Upnf19nf7EXphY0Un2t5fkQOj25XA62ehTGHuRGEIiQiA5UD_SUdPiBK2vEwtkJJAAyukEE6AjcOk7M_iA2LVToul5FNx1d5GCglUu9kFi5ugnQluSeJOZO0jAelz3_DkWTPjv5MUosphj8NxCGZlnSevIq4DEopWK35_X4QZkJTaCZYDEASxz5ppHT8BWY8n2gyCCnIhSQdDBCaMQhBJwu_Uls6huwvqgEOGqYJpgQgS4OjDAOQpwQGLD9NRjt4EuuH1RzqMeyEuqelnH0_IsLBQoMHpIsdDyhM1cO3f6eDevbu3s6Xbeik8VUyTlGTSEPmQF2HFQ8mE4OxpW0iUHoCXA51BxG1gx9XzqkgR6yuqRvWtpedF8fJ0M86bpBEg_CKwTypAw0qVBtQWgacW2hUNfcRG1h5iPZs0SgPo6ef3GJIjl_9DEmeYOR1ULBWqWve8P6NX393YEHrhPVUOhJ83w98ul_GHFTMwzTgTKCxvEgjXQiJCERHiBAxzBDDGlyhDU53Eo5kviJYbXRL5EsDC9Dz_EfS7OAyJj4OUe1QtwgrJaMnCUJWWxohgycxePo_RcX06CQAiEHMBLsz8F_QW_7mp6udd1dHXHo2o5hm4bGVJrCWkbkhRhBXaP_kVaSl8exLoWLEUf4oFOoKjbIlShBQMFO8vhE0kHNlpOQyiuWQgjqy4L9HpEaFB4dwVmhF7nr167p7i7V17VNaCuAL0n8cSBWG0fPv7io6CNRURraMKyUwItXLV8chVVTj0zLAHX1vErk05jaZr2m26Yl_CiIPDCV0CARpKeBMFJLIbEV6CJAywKohKaiGjgY8yeDYAd1pUvY2WRJBRbECmqNoDr9UDMpeA_rrr9Y8cK_WTPrWbcCZ6rx4_gZpQzy4KVjnUmlEINDm_HACNUIf4XUBDozHl0ynsDt6Vi7ds0KLQ70CPQ1osEip2AcybHDifjkJwOpWxRDh5VFvDuihAoKkoLBkDghQOosZQhTwEdIkdUIhhnJKxJTOmlNW9MN8KnQjwOPFCIOGYYFvQYipMdS1oEK6ZYg0w_CMSTYyGcYR89IJU6DRlw0QgrjJhoqPKWrS1RGRShzcGioAyKZSZgxphluY_oL6Bg3ydIRQdjduaFjbV9vt_FXgSQCCRUoKzsmIJHWgN0Uh0FE4U_SV6Aq9A_Q4MmIaSgYN4ZINEzOJCodBgQoqeo0Msf01GcTS4XGvEgnrQX0wBDzvJBoEGHI0EMj8ILGmiZRDYRj4ygH9MW4v_djlSghuVSUC39ACbN_Y_oZRgx4hOdHBs1s3Za8OAiqZNzEgaiW_zs7wZGLPZ0wsG0bcsfXZXBKC3VoIqgYUBkoN4pVaZK4EPPVpReHU7Y0KZ0Y1WxZkZvH931cLYmypiWOH8oNgtBhRUakWE_yO4A5qEjTMS0rh8p8TwTE6a36Qq1j54Rpy7ojSgCRNxpHz0hF2wQX2uCP8neVl5O4jGMtGY7koCYdypjjjqVL1UHZfTrpA0NUS8Xujg3t7RA5oVuGujAh3wIyoAWFskhyxFJbEWhZZlBeGOUTUrRTtpFYs6Sx_Cf1B1LLcICcOKhFk1JK8ueIMBPpLCnZ1mIwyiZbhhl45GrULcKKF4Q5y6htaBR5UGY9eZK0jKNnlKINQXz0gbwnU8j2CXXDSEwadRDkBjZTGEtGy8kOsV_sq5RL3etX9_f09Pf1YOQLtuFYjiCXsU_mFWSBLhkKUWDSFVqkhzFl88icCc4Fk38SypwUwQJCk9EwOeARw42bk56jPmSPW4bl_yGJU03z_MAPosZC7aRp0wSIumRPMtdIY3SOo2fEEg_KO96Yd5UeGqyzdF1XzBoiRJdpo5SlFdPgy3EkP0y5t6ujfX1_b2e5VMSvYCeGLtMjfNhZgsJPoWoAoUem5kgvX8RKSE8aIsfRIIEWc2ulVUVfJbooVTmSwMARPX0oUn4BQU56CxLvM0u1ajV0nJzQ7SqFScLa_qZJ06bXt02i9nPCEXEnjTtjHD1jKAMAlBU8Sb5fJgNQzk1CCbEayuuEyRRHiScQfz232rOho6O9p7vLr7rgHA7hCyqIHcKRTL8hu8qgMRZaIJGDXwmUYDlg2TqZRRr7bTSWQYSZIKQoQsQJ8TGnPQsaYIMS6SMWM8mos_2_8YFYFIVkjQVBZFmGF0QVN2hsnrDl7G0b2yaLBJmSYmcynMfR8zHKAJYzwAKn8QszRppORjjAUClHbrW7a31n_zpoK_nUi_XQ97xqoa7OdX2wEwvsFBLIMCGyQi_UHEeToiokwqLJFBspUDTiN9JjJxmRvBHZ0STdpH4TrFsIY1rsE6i0iA33jZ4fXp9Bn6N0IQaQF2mOVfBcgNSc2Dpl6lZb1U_aDFux6nq2Yyo1zuRHG7fYx1S0oT8okKjcPwkgiRh28aOPfbfU2dG9YX372tUh2TAeZI1tSjcLGWKmC81FgSqHfDNkKlOgwTClfCGuEklnsbTAQYPCUNOJ0XAaPIWmZNiJrb6NsYiY4UZyCrY6TiX8wbDCd6oSv0dg0ZB8YUCSLtVEGoXPNQvtbm6ZOGvuHNHYRKmvPnRZPkpTwyTuCGpo0jh6RitaJg9cSxCTBDAjWrQihUHqMo7ihNlQwMkPS_3Lly5du2aVEQeOZQIOMrQgTPwbSjOJfDjS3ULhTYoaaORlMSi_PYip_kgjN52QXgIKXhlEvEOcG8gDgKpBdn0cc5Q_lvpK5ygURjggFqwlbuUg4qeRSsgw9SrQHMO0sqHWgFpdN_1cQbfybdMnt02dJhrqpWqKDItxoyvBI1d4ESUfR8_IRQmbOIGOojxBnEAH_eqHPsZVCg_y1YpSsbO9vWtDR7Gvt1zsN_Woob6uUi6S7zjijNJAk4qDTGV2y0CkkKdP09iIIldQxA4aPZ3xLHSk_R5K6UbWumRAhFlAjqlxsrqLcrmo_ihgPUXw40C7dDGbnhvAKNct4ld_GIAm52tqYZlP3WKmXqgTtQXBDiOImJh91UN0zjh6xlZS6ChtZZJB62Ewc45tm7xmLiA54lY7li9buXJlsdgHDEDimBqpJy2MmD6zTRQnVJXq1TjYHWuJTcZ0N2LfXmrfExqIUTNp1oUir0y6YnLSxLxyRyPnTrIKK85ZNkQahy1ArD1K6NFNy45kvqIfxrDKNcNsaW3dcsstzUmTaBmXpicSJk4sLCV1RKoik074f9H1__vLpk4fjKZlaCa51CJBKTURhYHioP2jBetWrayWSgXLxNQ2LSMK_HKxmLOlAiLdRYghpiJXFKtVw5L6JpQXRwwjGRpOn0iTKCiTK2J_lWTbJIghwy0x_qRtzX7LKC4XSxS7MHTDBqGB_IsJq7oJPUl_RMtubZs8faut7NYJdAEexNKTJ5aIU1HcIdcpjqNn84qafxAE5CmGrAiCxLPb37ts4UcbVqwI3FLeIZ7jVaqBG_ZspyafC32ZmyxNIfZNSyeOBETimSbSKomRKXFkpKARFPTmu2taECTKc1CkzbIsVk2CLX4uYVQo5CkJgxSg7pFiEz7YMqy6QEydseX0mTNFXa0UgdK5IFd5yWXriQOdACmtOX0wfKJxzTXWwupBz3w1TR3WCDFfnXL2RG_P8sVLVixZ6MQ07IAUqG0U0gmh5oHSSrWip_9JASELuJKQbIc8OlKH0YkRFF2Quo6lkw72E52gRV7EPhdDYk_5B0JPhlSlLxEmHdVG4kgPCG4yNhFHumUVamoMJweZufO2c4WTE44jF7NTorO03WJNTRDlwUp0YObhkzTIcfSMWgYsHecj8m8k1Q_mq_93LFqwbOmSoFppyOdj140jA5IG10HqaCDSvh_HkhHDaqGQuEbUltBDA2zocr052fky9kRhciEDqBSR4EQsDojK4EPMwU6dct1JNqUuZ_HL8_VkDTpMfAlEiosFOmSkbjp5p7m1tQHGVHOzZME6bXEgdROgG6SzI06DdtITneImC500uSQeR8_GEmcBMvBAljSy1cXkFmVDx_L5H7avXm1bRkE3iz29ecvK2XZAoxnEAafuiXwhX6lUaOUCu4alcuEVfURZJBWJyRXDvyQUJ4176_w9kmk5LIcIZBqHH1Jfn2PZMfueORfIl85mwIsyLtAIL6hWdcvJN1XsmoBEDiVayLUcpsWghhiDLWeSEycWAzsjWTO0SVYKmXm0ztS21SGY_tmvInFNJiXrqB5U0F8ymxqz0bdo8SKtSEKv5fN5dQ49SBzjtHS90uDCx7kN3ImQ2Fwh_tJ_IXL9LOrE7QxK60xiNHHq88g2RmYNk_TWZYmky5_7xnVdx3YEL50KQ9Qv0tgmP21I1irZG5Eb6zn6wfWrpsFO30h0dXUuW7l__QqvXGnQjdiP_dB1QD90y4OuCNEsE8rH0m2QY7foFux8nDCSaCOFoHFzKEIgCzuOpYtYk6PIeV3sVoa1Lz3MesK0KR6uacnmPACZbqB_KJilcziMeLlpmHrgx3h8x0FvwBZcumb97J12njJrliCBpBupO0DI9IzU_7fRnON_NGOQTz3pQxA0jbFC_woFATpxEHRGRszGfpCYSIxGPVn5gR7BMMfSGYVfDVn4fHxQ8MIJhUKBEcMUAR8UFhkcXK2CDq7lW8hF_AW_I_WyyNPwKz8FPler1VwupzBdcav4a_qGQyqf_PQ6BSgNaSjHTGRFGugkQ0rmYNE0DQJb_oCFVy2uWtW9bGW1qzvsLzkwXCwjYMubnC8iYZiUGixnrUjGU8JcslojeRZ6HNeVh_M4OZUcxPQ4IWdv0ShR1qEMoes8T7R4cOQfT1d1CXNydgGAIYU5SPWQbMNsDMOK59Y3Nce2U664wikkLpwBSnnA_hiDi5YFVHKayWPGPctDG8jCPT72oqXRWjwe18NznYeNhkrKFT6ImwIBOA0CgCWTTMze2DQl_xgrfDnLHnxlLDI6GXa4HA2W8oMKN6BYLNbW1nI9_ID4kHNyoaQWeEawEyeXC6Vkkuogzi7I4zmGc_0ocCh7nfRFZe26tcuWdK1aAwmjBb4jdAuWsK4FsMvlogR6RumPCZOHIo6rk_svWe8ns0WFDIwSZngaxGmQQUifrsa_vo3ZyEm3MMI40iVSo11PTHdaSKNTgiD5rTmXgpJUZQ4z_ubq6_t9f8LESbN2222wDhrAiDejmNy5LHV4BsvVPGZWW2XxselxLlyDmv0sOVSFfA4DixFQKpVqamqUnOOJSNrEcXAtjkOooEKAA1_J1jUMBrRSauh31KxEi8hgjg8COtwM1s6oDccBF_VVrtEUBqf9JYMt5YfMzML_gjgyoVryJqal39u7dumSdUuWQpo5cexQk2wWFSFFAcJI9lAktxkQmlIJvEyTEv8YOnJFDE0kgBdURjOtjX2byblRva2nH4YfWblVkyGpdBjFPuSgRio9BrOOXLnQyy7U9ZYrU2fO2nLX3YX0LKeh9oFlAMMbvSTjygPMqoRsBKk7hrxgOC3GM1vNfiHxxJjgmtWvPHKADssboARg4moBHcYEPgM3IpUfqApXMY_JSkr_KmTnAhksxgBBQIeFViQpBdrAtdFyXVoEY3qB1Bdh2Nvb20Q2iBLeJO5Je3K3aHrFrxQsK65Uly_Yv27REqvqNdQUcA_pgInIhjDPE71q0HZvcZCY4_EAiWKYtvwQcTqoTKaRVpG_kXlIcz0Jm8tYVTZDUQkefbDvMnXMkFsnogx2nQJlFIcPOASad7oqlW22237y9tsT3ZHLRg3H3kyoDFFM1gIYDHzgKc5jrMi8GBtr5vN54FmuDPqVq1XiQX3gcWX6IlKlw8KDRIXUWUyGuHksn0TiOiOBh2txRGlAhiBzI4Yvt1ndEWoB50SS8QA6nuvScQpkGxHFKRP2LBWlZuuU3blq0cL_9vV10FOG5YR4wIpZcGj5jFxhIImeThGoKEzyrdg20vj2OpNCCWXKGYukEY6Wk8oL0hD3xr_sikYeuI3hbnYbQgbSbJRBVtTikS85cnG0vqaiib0O3Mtum5S4ktEkufllMrhZ0_LjaS6UN954A929xRZbNDc3MynZrIp4DmE4Ozo6Vq1atccee6A25jesyASbOXLgca_333579uzZu_22G0CD4_j7_PPPb9iwAb0MeVBXV4fLMX4HHHDApEmTFAKeeeaZJUuWHHLIIVOmTEELVeNfeeWVRYsWyRW1xNCBvJ122ulTn_rURx99tGLFis9_9rMs_MhMM02Ipeee_cvOO_8Mqfb4448XciSiuG240eTJk3fYYQc0QBdy8GPN7excsXCB6C01WXmIOMgUAjruRU42Ge2M5C5bclGmbuoa5w_HEF1kolEck5Ip2A_sJYFKaBkZXdfSpBk1Q3XJZ2VmqcyQjjm7XlLwiCMT8vyBWSI6cS_Kg_CWXhh5AaBvmbX5uL527332JhOdrEAbMhzQ0WRgbkA2vxaNhtchSqKwUJ599lkMTENDA2sECA8tU9T48TBsWnDclZMYAgODtNVWW7W0tLDuIJmeweL8_fNPOukkwOuaa6658847Dz74YBZL55xzzq677nreeedNnz597dq19fX1CxYswJFXX30VmEbfAzpf_9rXjj766Kuuuurdd99tampiAn7QQQdtueWWONje3g7cTJgw4Te__c13vvOdxYsX33fffffee_8777zD1hw3HledcMIJTzzxRGNj41e__tWn_vRkW1sbmg3gQmqiB_rq6xXUIBW1cjVHDl6zgBpAksGfXDc2dVokQ2qLPL4mpUrRtPYFR7F4wDWVqMqiXSe1YsVy_WfkkYlOHI5TATN5x0P2MAXJSTMmkimWQcyIw7eSm7tStUFYAsyRY_XrGxvbWiftugut2ZDbjFF0xXEk64o1I2OWcxbK5uuwxObCpMeM7OvrQ_9jyBkE_JknN_8Ftph4YngwNdHROBO8BLIK0gLHMSrr168H7CAtmEEzR8GcZiHEguf444__0pe_9F__9V___vWvv_KVr0BszJo1S0jJhA977bUX6oQAAHrwobu7G8Js2rRpK1euBLAAEQz81KlTgZgXX3wR56BVr732GqrCOdtDr0ut973vfe_MM84AGiAk1q1b9_TTT5tS5LBBgMdEq_ATHgHn9xX7MYq_66F5PT09EydO5K4BsSIYGLl1Hy023TBn2l7VdUzTBzVycn1_lbbKAZ5cvyafK3f3O4YdxCFkT2watrQYmNrDsgvl_jy0FvY5gIM2BGFAHME08BvMacck3w0j2LFtFoSc88MCNfEfAqMGEb5iuVJbX9dbKpo56OxcV38vZqirC9OxKmEAmTp7zuzGtinCMckRCI7MHhorzdExNA6xcOQejSWVDdGV2jdZ5j4SejDAaCXm_gcffHDqqafusssuUApZA5urALe46667Xn_9dXz99Kc_feyxx2YtaqYpy5YtQyUvvPACm0vss_Gq2OvT399_yimn4CDQA52y995777fffhASEBVsUr388ss___nPURuLQ5Y30CP4FXeETIIOWrNmzXHHHXf__ffjyHPPPcdsCVJq7ty5SlfiCNA2Y8YM5luoGbdGy4FsfFAeSLYPcEJrayvQgxMgzyAyA9clnQWJWC6Jzq5qZ29U8R0IY91E4z2X8kaNnONRRg5UAWzx0NKBGEcLPeHYgcYJwl5i9ZPkpVkaytV6cjgtcutGtHqC3H1SJLKIl6Eu0G_TrXqSNMkNLjg7MOYEHb2I3q6t6ylXzHy_q7_vIWe7mlZbVzu1tWXq9OlAFaY73QX8yknTLTI6LvHqaEnCm0QMUUC5RDHUDX2M0CH0sGb58MMPjzzySAwqH1WOO5E6bXkqoOt5civCwdYy_mK6YLSgQTCKd999d5YC4ydci0G94oorAJorr7zy_fffJ2OnqenEE0_89tprzz___F_84heQNMATPouMewboROWHHXYY7ghx8uSTT7KdBcxddtllp512GjANxP_2t7_F9sHkxpMDu3icSy65BCIHXQDRCIyi_couW758Odv80FxoA_7yA0K0QBpFeF7pg6b_tvKdy9YEZTev20mgwDQp_dgkQz0ql6WhBU2kQQKAhlFUQjdpvQLvSxEJ9iTJFb8xuaAx7YlhG3KFIHkEHSeny711KO3GltyANB_lIeqmxZSR0r8kjgJKq_cg8ABMA9w07_y1y86106aInC13dacoF0MC9676YV53BoFGpFwHwk8n56cmh5jCarZFXtMh9SaDZAj04CiwggE_4ogjMAfQ9dBK7G5Bh3IoYGMwxXHwFeer_Aa77PgnvjHUFqYvLidTMRVLfDmG_cILLwQlkhPbYjNq2223BYNG6wEgiD1Ujs8MPtwCNYD2QtkB3PiV0cyt2meffSCBUNVzskAD4jgu9GnjteDRRx8Fa8blUGdoG_tZFktA_a9_9SsAHZV861vfgrYFntBIkkWVKhRDU0Mj5Wt6vu763R1deaiHmjzteVzFdHcoXd2DkNcpadNyNOn5hcHmw_6CIvPJriIGpEmtIQczIJpiyVRgjDHUFgXWDblvD0EqhuUlbBOVAD7SJIto63aDPKuUuAjJY1HuhBlrYa4_F4i47Lp_HNbU5GqnTxW2RZLENHhjXBkl10DJhR35G93mA6AjpNsikgNHgjHZsCeSkiLxgMQZf8FwVMxkZEGh8FxH7_P0VSa3IrzAAUCGr_y_U_KHzVGROgwxDNApOI11Fr6qbdXOPvtsdikpHzT_wjjabrvtUAPwwR4g1MwKkSUQKDOkDrnXpBRk6x1nght94xvfYNfUUUcdxQ1TXnJuKgQhUIKW8_OgWshxJ5cDeeL59B__8R8wTyyT9uMnVxPnZEmLSXeMhW_929vT42A8dZvysnJ5Tao8mjOw50OIHIuWRsE4dsxq4Nv5nFcsy_wLmcmeemLYUuJNB_AvzGkcsKDOpJdRM0xgruoFZAyRgYZ7G6HMPCeBhy8gJuRUJN1ViaPeUn9NXQPm7_wddkD_Ctot1wMcgFtLDkq5Wsnn8raZE5vEHbJBCaAXDc0EHGGN2bFyuGcANJwWM5kZqHAmV8R9zTJG_YsZHAqGygZGDfhVOWxwPlht9n7obuW_Q_0grVAxoMPQGszNGbgKZIq7oELoSjKeyUNhsoXFnhLcV0k1Ppm_Mo75FlwnsMWPkLRQNp_rFdIbaeccnkJ0Le2kFNAmI1G0ZvkKiKUJ9Q1BX7ECrDiW4RCTiyO9Fiip_hhQK9b9KIQYiUy9q79Yo9dQ8nsopTX5ntm_TJFVSjsnY9yknZVpSwQDkKxUPTKrawuWHVfLFVwFYFJEjGLvsc_JYKgchBpkC6wuDoH05kmTZ87ZpmnqFE7mqnr00gCqOUxUBPfnppomCx3ycsnpzQOK_7ueS7FtP2C5wDonCZ4MpbYEay6RcdbhITmOzdamCjLw8OA0WmAoLQjGGf_lMJNIFSQffOutt2DCACL4CYoD9GLVqlUYVCgO_IrjQkomjB_DFY8BG3v16tWwegA1dhkAZLhwzpw5KhqKJjEte__99x5__HHcsaurC3IOliBqhtIEy2a7CZegfg6aMhZJIKGbLQvQAftetGQxjM358_e7ZApFFBWpkudp21mzcX5PV_ek2sbealDr2E6_puq5vucT1_UjoKbRqdW1mDYnxYg7RjnwP1y_FL2__zbbyQ2ZonSayWUutJCPJjoUSihfIAKDC__29PSt7VgHS3NCc7Nh2bSij8KoEjy4iLe5ELpMBfTp2fP5ZWtWWk11S9esqmrR_q5uCDzgb8ZWW8Kak4azW5sv1NfVkRVcrmy99ZYTJ7UNuW6abBrfX7xkCXqveUIrdWNnD0nrOdvw_BwSLoPRI6Q8R5dxFw8ZoGANwo44VM1DIrfz1BlASmYwYUJtaA3QBmSAmoAjQ8vgefbdd98DDjgANFZFyFEno4S1EkQCKrn99tsXLlzIrHbevHkwxTnUoJI9YKKDuACLIFJbb701EIMueOeddx555BHACGoOiphtctbCCW6kGx3T_x_vvvvHxx7F_cVyiTGH02oLNRjnwPM_WPiPvz_zHLQRNEtrbUNNbOy16_5zt9vWlTuiNNY22Hk9BwzL2FXZ810Kuprd5eJ7SxfCcNtl7vYyw9TSEvYgNx4gJ7CZbtFDsSvdNDzf7y71__Wll3xDbJfbFiabwTldeizXBNJqCE3mYND2zEYMUNRPaG7ZZsb6nq7Hn37q5VdfMe3c9BlbfOHoo1raJhZyuRXLlj326BMrli_H8wI64AOXXXbJsCMvCSsY54MPPtjesQGXfGrHnQ899FD27zN6RrfYRSr5BzmXs_kyqi6exxhjFXnIWnfZyAPOhAElpMpbsmQJk1bYU_rXQS1jIbfbbrsBRrDML774Ygz_Oeecs_eeew6y7x577DFY9WAz9957L_DFWozb8MILL1x__fWc_oPjLAi5nexzAv5u_eVtDzzwwJxt537lKyfustvOW2_1tfTrSpsiklaQH3auWPXAH_5fvGDRkoWLyHHlWHIvQLDpBi2ImhubQajRCT19vU5jDYR7xQiWd6xf2b7WNq2Fq1bOnbE16Zkghsxyyy7MbyDDyeVdvxowlTAtP45AwHsrpYqtPf3Gq92B99kDDl6zfOUWk6b0dfbW1zou6S1ds_VSteLrYupW07eeNbNuchtk0RbVyp4HHHDmmWeuXrvm6KOPxpDLdcri6C8cdchnDkYPvPjii_hPO2dNmTZVTTklAtjwpJBOrvCZzxzyyCOPQh4fd_yXvv71rw_yrcaEnlELPzKHDsTwDHzIwvyDw08QMyr1Z9gGSeOZn5M5Mp_MD79o0aJbbrkFEPz2t7_NmtVpfO1ee_0F2cY_N5UexCE8_AWJ_f73v__iCy_B7jvhpBPBNnwQ8ZBeC2KlCxhkuqUDI2v3HXeZ1DBxUkvbq2_8XvE9WihnOHU1DYJy9Oi9MkTPGxs6ij1awQxN_cPFi4Vp9Veqb7__wRbTZhDP6yvnDDvWI9POg_uWShW6kQNervlk3IDAQMjoLjnpxCtvvwWadNDeB_QUy7WNDf2QlzWFru5uSJ7WadOmz5oxAWa5LaObFppCEZVcIc9WbRJnlQwV3XXuuediukLSv_rqq3_7298OPPBAFYTh05Q5gq9PP_007M3DDz_8tNNOyyZUjbEMe_agAebcMTY3sgHUUQsQw6trobDY2lJMfIRb8_2yRiODAOoG2h0QgSEmJKSYF8udZsna2n___aHFOFCvsjjwa3t7O6Dz8ssvo5tOPfVUJ0_rnMjUktEemnNySR1ZSeXqokVLQJynT92isbH5Hx9_gFuj8bSVn2YErtdXLnuerxl6uVjKgbHl7XW9nUuXrap4QW2_fuGSpR2dvW2tuYof1mhmhdL9KP3IpMwT30f9YexHMcWkYNdLAYmPnue_9tabNflaUK6O3m7bskq93RPaWqdvPWPyjOmi1mYODOiIlMPiqXlWqE5jTwee97zzzsPsQsW33XYbWCAarzRJlgWD_T388MNTpkw566yzGDeDEkFHLZuBNbIIpOwZLtQ1ZGF_EgNCpFlg8cDcg2xhSo6OYB_jOo1RAsaDJwTRkVmYkdLQiuDvs88_OEH1FAtqoOq6664DdMCTLrnkInAOMrVgixmaL811GI62ZTO5XLtqzbq1HXnLrsvXTZwwcfLEyfU19RSZ6envLxbdItizm8e8J2riW3be1_J3__FBV2_vVrNmrly_Ih_rCxYvrqlr1C3bp_XieinghFqjHFbiINYphUuEGq2PqbqAE_19WqipqZTLjz71Jzz8vnvvO2niRNxxQlubqLGS_aWCCFpMpM5bnoEcaRFpao1KCYK6__xnP_vUU0999NFH0O_sgFUcg08GHXzooYdgedx6661tbW3MWTcLOmJk9Awy9yOVfqt2XRiDCssaaCKl2COcr8nNpln2iIytmHpFaZ8AWHPsq_Rz2NhWSajsomTHJq1y0jT04_PPPw9Nd8IJJ9ArPKIAaosSYqIw2eVP09nH43YVV65YU1vbSLzYhJqxt5u7XW2htlgswT7yPQ_mjww4BLC_nIZ6WD2Rpb374YfNTRO_9KXjb7rxZwDE_wsWzdn_U_W1DUXPNWXqIx677Aeh9MvppkwaBY4M04_jNWvXnnL6vLfffnddx3rA9Innntl2px333unAxOCm9_zR2yE16UQOojDbITzBsr2Ee_HBMX9AYl555RUcefLJJzGjQChVn_DX2traDz744He__93xxx_PXwWbYJ_g5uKSFRIse7LoGfK0QYXDSXz5cA7vbFE8l__lKuepBgsL4IAR98tf_vKiiy5SoOQzAR2_BTuOVaISphf6C_jBjEy2nWRXva6D2BK40WtSnnZ19fT29k_oa7Y0o75QXyjkdtxhN9errGvvLPaVUC2gDQXWVypBifT2umZtftmKJSvXrtn907tBR0_dPu29t991vWBtx4Z8XX1Pf29jfZMbBVHgWYYtLLKeqtWyG4BIUdANEki3TDTsu9_9Ltju66_9CTvg2p9c7zTUwuaoqc3xek4wZXQGAU_fGElgCc19y1KW8zZxkL3q0EdQ1t3d3ffccw_Qw0wZJ6Mr0F0333wzrrrkkkuUTgB0VKeNsYwVaywMOIM4K3tGpeWsO6Ik8BPz6I4KI453cqCUH49TmGGFch_dcccdUOenn346y3A0I7vuQmXWAnBvvvlmZ2cnzPuTTz5Zdk3ECQlyjxNqA_UDOeSxBYAqZbepqaUu3wCODOFBHDNXD5iRowt2eaRhsFvaJtWFXkNTw6p1aydPnXTfH_8Q6cEee_7W09_94847YE53l3vfeO_ttmlTtLzlaYGvh7R2yiT_HSyxqgisvFPfWAf05OvJAsWHuXNnX3PNNZdceilUCW5x_XeuvOmmm3bffXfbID6mpzmKylPPAXwUVybVq8BRnC5AwEGYY3_5y1_Ai___978_8sgjxxxzDHNWXIuvzz33HO4I4LIWY1t4s6AjRkaPIisiVVusKTbL5mLzh4WHilGMXPghlU_IAco9ctBBB2FSojswga699toPP_zwP__zPyGQSSqkua0iJUnoR3QK1NzKlSvxgcmjJnOKTdrzwoDmMnSLoCP39erv7O_o6GxtaqnN1dfYhcD1l69Y0dfTb9qWbuRMWwOPMXVr_tYz8xNt9Nz0Hbbs7ux55_23Z283_8TTT0YfLV_6_E9PPdlX6f_Hh_8devjn2ia3EaZ9h2Uhwdo2puRyIFOgGrEI13Su7unsyqMBsZg8edINN9xwxplf_3DBfEig887_JiTHYYd_zpTpOLypSkTaLxE_PEm4Pzm8w6pHcRf8BNGCvsIUAhY_85nPoNNwsKen50c__hEsD1gP7BxmV0g2IjnWwR3uBxXvEGk2O2pnm0vu9aLzpB8VDbhKBWLVwREED6fEV2RRQlWkKzTw97LLLlu9ejXM0YkTJz744IPg0RD7QFXWsFfp9_gA9c9pSTNnzmTcWKYT0jI52jQF_ssUJq_6A1ue0DbRMeyGhkaAZkNHB63_MvJRoEWGRrsIaFF_tfjuggV7TtqR3f6P__nx9u518_Y6iVZjGmLq9IkHHXLQHXfc1VvsXrF62Ze_fAwvD499uSRKEyoXHVODwjtuGU0q9ZV424K2ttYbb_zpWd84e_369XiQH_zgmkLO_cwBB9K_7j4FPixQe5mnwVML1iWPN8sknmBKG6CvYJmy_YUe_NnPfoYPOOcHP_gB7Nb__Z__4XCNku5K74_OmrRsns01YBFJhlOPLI2AG9Z6Y7kLOyQHGfYMVpZJ6JFbbrkFrHDBggU4jo4___yz582bd_WVVzIrFFICq_AfTlDoT1khoGN6Pk07C9TVi91qtbO9q1BbP6GhRYu11cvX9nX3BeDFTj5Xa5dLHpiLC_Fh65plF6vl9e19rZPqNVs89_xzVb960rwTS_XemppaM2d_7vOH3PzLn1c9_eHHH7nosgvRmu6unqbmRpHupcwrxWN6eRFJDkwSkHEyqSwdH7bZeub11_3wssu_tWLZ8oULPvreVVdZV1_z2y6702YGru9CmtbX8FOwvlYqe7j_hKEAPfXuu__efffd4MjQkviK3ps6dSrL6X_mbB56OCaa1V8jx2BFOpCKAo_FNWe1pDLa_W9vb2_jLHfddRdEzsMPP8wJhKBBb7_99k9_8pOtttqKDUORes9Zhqm4SrJuxAtgomuU8E6rcCDModdAZ1etWR2H8fqODpg_piHa13VMbJkWuwEUXFhxYw0qJO7u616xdlVdy5z5H7z39LN_3u_AfZtbWiK5ES7Y2i677LTjTjssWLBw5eoVj_zxkSOPPLKppZEeTEuyJeJkf0EKu4dx4EqJTvgWOoRuqVLeY9ddfvD9qy86_4I49JcsWXL55Zf_7Iab9thjdwrX1NWUSyVAmsUqnh1dkS6EHbqgc66__uojjjgCYuZ73_seLmlqajrnnHMUdLJukc0SPGJUb2FWfzEIlOwZS_4ZF_6dbHB_00hFtjB6mGuLjK3OncXqGR_gy2GC3XbbbZBtOAfoOe200_68884tt9xSBTeY_pB2KJXYh4RegywpFGw2ZHBw3dr14ArARD8ojm5tPXNr2FPLly6zTad2Qn1794ZyyW1paQKPDoQHY9sSek1tPl9j_PrXv97Q1THv1FPZaVQu9xcKdeBSxx133BVXXIHn_f399x3xhcPxQKl4SHKSk9115Bpon9NOLLNacXMFuVdLHO231z433njjueeeWylVQcNhXf7k_h_tuc9eEFGFmppEhsUxNBd7JUbWOOilr33taz__8Y_BOcAR5ioApMZxVB_KCGUzZA_jR_mpMd7SlYXZ0hgNLjZE2ceoiJda_Iei1r9eeumlO__884UXXghe3NLSAhJ9wQUXP
diff --git a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/running-tuscany.odt b/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/running-tuscany.odt
deleted file mode 100644
index 98ea7cc789..0000000000
--- a/sca-java-2.x/tags/2.0-Beta3-RC1/samples/running-tuscany/running-tuscany.odt
+++ /dev/null
Binary files differ