From 52cf4b8e3f99706027da5c1363292a2aae59d87d Mon Sep 17 00:00:00 2001 From: lresende Date: Wed, 11 Nov 2009 23:23:01 +0000 Subject: Moving 2.x tags git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@835152 13f79535-47bb-0310-9956-ffa450edef68 --- .../META-INF/maven/archetype-metadata.xml | 42 ------ .../main/resources/META-INF/maven/archetype.xml | 31 ----- .../src/main/resources/archetype-resources/pom.xml | 154 --------------------- .../src/main/java/HelloworldImpl.java | 27 ---- .../src/main/java/HelloworldService.java | 28 ---- .../src/main/webapp/WEB-INF/web.composite | 32 ----- .../src/main/webapp/WEB-INF/web.xml | 43 ------ .../archetype-resources/src/main/webapp/hello.jsp | 36 ----- 8 files changed, 393 deletions(-) delete mode 100644 tags/java/sca/2.0-M4-RC1/archetypes/quickstart-jsonp/src/main/resources/META-INF/maven/archetype-metadata.xml delete mode 100644 tags/java/sca/2.0-M4-RC1/archetypes/quickstart-jsonp/src/main/resources/META-INF/maven/archetype.xml delete mode 100644 tags/java/sca/2.0-M4-RC1/archetypes/quickstart-jsonp/src/main/resources/archetype-resources/pom.xml delete mode 100644 tags/java/sca/2.0-M4-RC1/archetypes/quickstart-jsonp/src/main/resources/archetype-resources/src/main/java/HelloworldImpl.java delete mode 100644 tags/java/sca/2.0-M4-RC1/archetypes/quickstart-jsonp/src/main/resources/archetype-resources/src/main/java/HelloworldService.java delete mode 100644 tags/java/sca/2.0-M4-RC1/archetypes/quickstart-jsonp/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.composite delete mode 100644 tags/java/sca/2.0-M4-RC1/archetypes/quickstart-jsonp/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml delete mode 100644 tags/java/sca/2.0-M4-RC1/archetypes/quickstart-jsonp/src/main/resources/archetype-resources/src/main/webapp/hello.jsp (limited to 'tags/java/sca/2.0-M4-RC1/archetypes/quickstart-jsonp/src/main') diff --git a/tags/java/sca/2.0-M4-RC1/archetypes/quickstart-jsonp/src/main/resources/META-INF/maven/archetype-metadata.xml b/tags/java/sca/2.0-M4-RC1/archetypes/quickstart-jsonp/src/main/resources/META-INF/maven/archetype-metadata.xml deleted file mode 100644 index 450e33afd5..0000000000 --- a/tags/java/sca/2.0-M4-RC1/archetypes/quickstart-jsonp/src/main/resources/META-INF/maven/archetype-metadata.xml +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - Y - - - - - src/main/java - - **/*.java - - - - src/main/webapp - - **/*.jsp - **/*.xml - **/*.composite - - - - \ No newline at end of file diff --git a/tags/java/sca/2.0-M4-RC1/archetypes/quickstart-jsonp/src/main/resources/META-INF/maven/archetype.xml b/tags/java/sca/2.0-M4-RC1/archetypes/quickstart-jsonp/src/main/resources/META-INF/maven/archetype.xml deleted file mode 100644 index 1bf4353502..0000000000 --- a/tags/java/sca/2.0-M4-RC1/archetypes/quickstart-jsonp/src/main/resources/META-INF/maven/archetype.xml +++ /dev/null @@ -1,31 +0,0 @@ - - - - tuscany-quickstart - - src/main/java/HelloworldImpl.java - src/main/java/HelloworldService.java - - - src/main/webapp/hello.jsp - src/main/webapp/WEB-INF/web.composite - src/main/webapp/WEB-INF/web.xml - - \ No newline at end of file diff --git a/tags/java/sca/2.0-M4-RC1/archetypes/quickstart-jsonp/src/main/resources/archetype-resources/pom.xml b/tags/java/sca/2.0-M4-RC1/archetypes/quickstart-jsonp/src/main/resources/archetype-resources/pom.xml deleted file mode 100644 index d55a40bb11..0000000000 --- a/tags/java/sca/2.0-M4-RC1/archetypes/quickstart-jsonp/src/main/resources/archetype-resources/pom.xml +++ /dev/null @@ -1,154 +0,0 @@ - - - - - 4.0.0 - ${groupId} - ${artifactId} - war - ${version} - quickstart-jsonp - - - - - org.apache.tuscany.sca - tuscany-sca-api - ${tuscany.version} -#if(${includeTuscanyRuntime} == "Y") - compile -#else - provided -#end - - - - org.apache.tuscany.sca - tuscany-implementation-web-runtime - ${tuscany.version} -#if( $includeTuscanyRuntime == "Y") - runtime -#else - provided -#end - - - - org.apache.tuscany.sca - tuscany-binding-jsonp-runtime - ${tuscany.version} -#if( $includeTuscanyRuntime == "Y") - runtime -#else - provided -#end - - - - - junit - junit - 4.5 - test - - - - - org.mortbay.jetty - jetty - ${jetty.version} - provided - - - org.mortbay.jetty - jetty-util - ${jetty.version} - provided - - - org.mortbay.jetty - jetty-management - ${jetty.version} - provided - - - - install - ${artifactId} - - - false - src/main/resources - - - false - src/main/java - - ** - - - **/*.java - - - - - - false - src/test/java - - ** - - - **/*.java - - - - - - true - org.apache.maven.plugins - maven-compiler-plugin - - 1.5 - 1.5 - true - true - - - - org.mortbay.jetty - maven-jetty-plugin - ${jetty.version} - - - org.apache.maven.plugins - maven-eclipse-plugin - - true - - - - - - 2.0-M4 - 6.1.18 - - diff --git a/tags/java/sca/2.0-M4-RC1/archetypes/quickstart-jsonp/src/main/resources/archetype-resources/src/main/java/HelloworldImpl.java b/tags/java/sca/2.0-M4-RC1/archetypes/quickstart-jsonp/src/main/resources/archetype-resources/src/main/java/HelloworldImpl.java deleted file mode 100644 index 2491816adc..0000000000 --- a/tags/java/sca/2.0-M4-RC1/archetypes/quickstart-jsonp/src/main/resources/archetype-resources/src/main/java/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 ${package}; - -public class HelloworldImpl implements HelloworldService { - - public String sayHello(String name) { - return "Hello " + name; - } - -} diff --git a/tags/java/sca/2.0-M4-RC1/archetypes/quickstart-jsonp/src/main/resources/archetype-resources/src/main/java/HelloworldService.java b/tags/java/sca/2.0-M4-RC1/archetypes/quickstart-jsonp/src/main/resources/archetype-resources/src/main/java/HelloworldService.java deleted file mode 100644 index 3527edcd6f..0000000000 --- a/tags/java/sca/2.0-M4-RC1/archetypes/quickstart-jsonp/src/main/resources/archetype-resources/src/main/java/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 ${package}; - -import org.oasisopen.sca.annotation.Remotable; - -@Remotable -public interface HelloworldService { - - String sayHello(String name); - -} diff --git a/tags/java/sca/2.0-M4-RC1/archetypes/quickstart-jsonp/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.composite b/tags/java/sca/2.0-M4-RC1/archetypes/quickstart-jsonp/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.composite deleted file mode 100644 index 7ccd63ce5d..0000000000 --- a/tags/java/sca/2.0-M4-RC1/archetypes/quickstart-jsonp/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.composite +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - diff --git a/tags/java/sca/2.0-M4-RC1/archetypes/quickstart-jsonp/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml b/tags/java/sca/2.0-M4-RC1/archetypes/quickstart-jsonp/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml deleted file mode 100644 index 25d8d8184d..0000000000 --- a/tags/java/sca/2.0-M4-RC1/archetypes/quickstart-jsonp/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml +++ /dev/null @@ -1,43 +0,0 @@ - - - - - ${artifactId} - -#if($includeTuscanyRuntime == "Y") - - tuscany.${artifactId} - org.apache.tuscany.sca.host.webapp.TuscanyServletFilter - - - - tuscany.${artifactId} - /* - - -#end - - hello.jsp - - - diff --git a/tags/java/sca/2.0-M4-RC1/archetypes/quickstart-jsonp/src/main/resources/archetype-resources/src/main/webapp/hello.jsp b/tags/java/sca/2.0-M4-RC1/archetypes/quickstart-jsonp/src/main/resources/archetype-resources/src/main/webapp/hello.jsp deleted file mode 100644 index 9729ca6823..0000000000 --- a/tags/java/sca/2.0-M4-RC1/archetypes/quickstart-jsonp/src/main/resources/archetype-resources/src/main/webapp/hello.jsp +++ /dev/null @@ -1,36 +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" %> - - - - - - -

${artifactId}

- - Calling HelloworldService sayHello("world") returns: - -

- - <%= service.sayHello("world") %> - - - -- cgit v1.2.3