summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/branches/2.0-Beta3/unreleased/samples/helloworld-scala-contribution/src
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2011-07-21 10:54:19 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2011-07-21 10:54:19 +0000
commitbbf16e4c0da1202da475dcba660bc8b9143bc9b0 (patch)
treed13e7c8f6b484f1b6a2bde6efaf5a9eff2f5192b /sca-java-2.x/branches/2.0-Beta3/unreleased/samples/helloworld-scala-contribution/src
parentbefd009cd2be55db418737b3af1a42d3e0cc27cc (diff)
Delete the unreleased folder from beta3
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1149107 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/branches/2.0-Beta3/unreleased/samples/helloworld-scala-contribution/src')
-rw-r--r--sca-java-2.x/branches/2.0-Beta3/unreleased/samples/helloworld-scala-contribution/src/main/resources/META-INF/sca-contribution.xml25
-rw-r--r--sca-java-2.x/branches/2.0-Beta3/unreleased/samples/helloworld-scala-contribution/src/main/resources/helloworld.composite29
-rw-r--r--sca-java-2.x/branches/2.0-Beta3/unreleased/samples/helloworld-scala-contribution/src/main/scala/sample/Helloworld.scala8
-rw-r--r--sca-java-2.x/branches/2.0-Beta3/unreleased/samples/helloworld-scala-contribution/src/main/scala/sample/HelloworldImpl.scala9
-rw-r--r--sca-java-2.x/branches/2.0-Beta3/unreleased/samples/helloworld-scala-contribution/src/test/scala/sample/HelloworldTestCase.scala23
5 files changed, 0 insertions, 94 deletions
diff --git a/sca-java-2.x/branches/2.0-Beta3/unreleased/samples/helloworld-scala-contribution/src/main/resources/META-INF/sca-contribution.xml b/sca-java-2.x/branches/2.0-Beta3/unreleased/samples/helloworld-scala-contribution/src/main/resources/META-INF/sca-contribution.xml
deleted file mode 100644
index e82c54d3a7..0000000000
--- a/sca-java-2.x/branches/2.0-Beta3/unreleased/samples/helloworld-scala-contribution/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/branches/2.0-Beta3/unreleased/samples/helloworld-scala-contribution/src/main/resources/helloworld.composite b/sca-java-2.x/branches/2.0-Beta3/unreleased/samples/helloworld-scala-contribution/src/main/resources/helloworld.composite
deleted file mode 100644
index e0206cd6e8..0000000000
--- a/sca-java-2.x/branches/2.0-Beta3/unreleased/samples/helloworld-scala-contribution/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/branches/2.0-Beta3/unreleased/samples/helloworld-scala-contribution/src/main/scala/sample/Helloworld.scala b/sca-java-2.x/branches/2.0-Beta3/unreleased/samples/helloworld-scala-contribution/src/main/scala/sample/Helloworld.scala
deleted file mode 100644
index 9f24220a09..0000000000
--- a/sca-java-2.x/branches/2.0-Beta3/unreleased/samples/helloworld-scala-contribution/src/main/scala/sample/Helloworld.scala
+++ /dev/null
@@ -1,8 +0,0 @@
-package sample
-
-import org.oasisopen.sca.annotation.Remotable;
-
-@Remotable
-trait Helloworld {
- def sayHello(name : String):String
-}
diff --git a/sca-java-2.x/branches/2.0-Beta3/unreleased/samples/helloworld-scala-contribution/src/main/scala/sample/HelloworldImpl.scala b/sca-java-2.x/branches/2.0-Beta3/unreleased/samples/helloworld-scala-contribution/src/main/scala/sample/HelloworldImpl.scala
deleted file mode 100644
index 2142d9ece3..0000000000
--- a/sca-java-2.x/branches/2.0-Beta3/unreleased/samples/helloworld-scala-contribution/src/main/scala/sample/HelloworldImpl.scala
+++ /dev/null
@@ -1,9 +0,0 @@
-package sample
-
-class HelloworldImpl extends Helloworld {
-
- def sayHello(name : String) = {
- "Hello " + name
- }
-
-}
diff --git a/sca-java-2.x/branches/2.0-Beta3/unreleased/samples/helloworld-scala-contribution/src/test/scala/sample/HelloworldTestCase.scala b/sca-java-2.x/branches/2.0-Beta3/unreleased/samples/helloworld-scala-contribution/src/test/scala/sample/HelloworldTestCase.scala
deleted file mode 100644
index 61b6f48d55..0000000000
--- a/sca-java-2.x/branches/2.0-Beta3/unreleased/samples/helloworld-scala-contribution/src/test/scala/sample/HelloworldTestCase.scala
+++ /dev/null
@@ -1,23 +0,0 @@
-package samples
-
-import org.junit._
-import Assert._
-import org.apache.tuscany.sca._
-
-@Test
-class HelloworldTestCase {
-
- @Test
- def testSayHello() = {
- var node = TuscanyRuntime.runComposite("helloworld.composite", "target/classes");
- try {
- var helloworld = node.getService(classOf[sample.Helloworld], "HelloworldComponent");
- assertEquals("Hello Amelia", helloworld.sayHello("Amelia"));
- } finally {
- node.stop();
- }
- }
-
-}
-
-