summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/distribution/tomcat
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-04-19 15:40:40 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-04-19 15:40:40 +0000
commit76e090f70f46fa6a09f5ddf6246d30dc7646ca91 (patch)
tree46d7799b41bed9805deacadadb7f4a47e11b6e1b /sca-java-2.x/trunk/distribution/tomcat
parent68326e183fbbfe7a3fe434f5982a3e06459c2ddb (diff)
Delete javase test client as there's now the sample helloworld-scaclient which does the same thing
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@935627 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/distribution/tomcat')
-rw-r--r--sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-scaclient-javase/pom.xml44
-rw-r--r--sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-scaclient-javase/src/main/java/testing/HelloworldClient.java43
-rw-r--r--sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-scaclient-javase/src/main/java/testing/HelloworldService.java28
-rw-r--r--sca-java-2.x/trunk/distribution/tomcat/testing/pom.xml1
4 files changed, 0 insertions, 116 deletions
diff --git a/sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-scaclient-javase/pom.xml b/sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-scaclient-javase/pom.xml
deleted file mode 100644
index 39c6bb2b59..0000000000
--- a/sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-scaclient-javase/pom.xml
+++ /dev/null
@@ -1,44 +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-distribution-tomcat-testing</artifactId>
- <version>2.0-SNAPSHOT</version>
- <relativePath>../pom.xml</relativePath>
- </parent>
-
- <artifactId>helloworld-scaclient-javase</artifactId>
- <name>Apache Tuscany SCA Tomcat Integration Testing Helloworld Java SE SCAClient</name>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.tuscany.sca.shades</groupId>
- <artifactId>tuscany-base-nodep</artifactId>
- <version>2.0-SNAPSHOT</version>
- </dependency>
-
- </dependencies>
-
- <build>
- <finalName>${artifactId}</finalName>
- </build>
-</project>
diff --git a/sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-scaclient-javase/src/main/java/testing/HelloworldClient.java b/sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-scaclient-javase/src/main/java/testing/HelloworldClient.java
deleted file mode 100644
index b36fe418a4..0000000000
--- a/sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-scaclient-javase/src/main/java/testing/HelloworldClient.java
+++ /dev/null
@@ -1,43 +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 testing;
-
-import java.net.URI;
-
-import org.oasisopen.sca.NoSuchDomainException;
-import org.oasisopen.sca.NoSuchServiceException;
-import org.oasisopen.sca.client.SCAClientFactory;
-
-
-public class HelloworldClient {
-
- public static void main(String[] args) throws NoSuchDomainException, NoSuchServiceException {
-
- URI domainURI ;
- if (args.length > 0) {
- domainURI = URI.create(args[0]);
- } else {
- domainURI = URI.create("tuscany:default?remotes=192.168.1.73:14820");
- }
-
- SCAClientFactory factory = SCAClientFactory.newInstance(domainURI);
- HelloworldService service = factory.getService(HelloworldService.class, "HelloworldComponent");
- System.out.println(service.sayHello("world"));
- }
-}
diff --git a/sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-scaclient-javase/src/main/java/testing/HelloworldService.java b/sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-scaclient-javase/src/main/java/testing/HelloworldService.java
deleted file mode 100644
index b035a772be..0000000000
--- a/sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-scaclient-javase/src/main/java/testing/HelloworldService.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 testing;
-
-import org.oasisopen.sca.annotation.Remotable;
-
-@Remotable
-public interface HelloworldService {
-
- String sayHello(String name);
-
-}
diff --git a/sca-java-2.x/trunk/distribution/tomcat/testing/pom.xml b/sca-java-2.x/trunk/distribution/tomcat/testing/pom.xml
index 2d57bf9a55..d77f0e8b3c 100644
--- a/sca-java-2.x/trunk/distribution/tomcat/testing/pom.xml
+++ b/sca-java-2.x/trunk/distribution/tomcat/testing/pom.xml
@@ -33,7 +33,6 @@
<modules>
<module>helloworld-service-contribution</module>
<module>helloworld-reference-contribution</module>
- <module>helloworld-scaclient-javase</module>
<module>helloworld-scaclient-jsp</module>
<module>helloworld-scaclient-servlet</module>
<module>helloworld-client-webapp</module>