From 54158d9b017dae6a75d813a96463d05e1153ae31 Mon Sep 17 00:00:00 2001 From: jsdelfino Date: Wed, 17 Sep 2008 06:59:35 +0000 Subject: Starting to clean up android branch, creating subsets of samples, demos, tutorials that can be ported to android. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@696177 13f79535-47bb-0310-9956-ffa450edef68 --- .../store/catalog-webapp/catalog-web.composite | 43 -------- .../tutorials/store/catalog-webapp/pom.xml | 110 --------------------- .../webapp/META-INF/sca-contribution.xml | 24 ----- .../store/catalog-webapp/webapp/WEB-INF/web.xml | 41 -------- .../store/catalog-webapp/webapp/catalog.jsp | 52 ---------- 5 files changed, 270 deletions(-) delete mode 100644 branches/sca-android/tutorials/store/catalog-webapp/catalog-web.composite delete mode 100644 branches/sca-android/tutorials/store/catalog-webapp/pom.xml delete mode 100644 branches/sca-android/tutorials/store/catalog-webapp/webapp/META-INF/sca-contribution.xml delete mode 100644 branches/sca-android/tutorials/store/catalog-webapp/webapp/WEB-INF/web.xml delete mode 100644 branches/sca-android/tutorials/store/catalog-webapp/webapp/catalog.jsp (limited to 'branches/sca-android/tutorials/store/catalog-webapp') diff --git a/branches/sca-android/tutorials/store/catalog-webapp/catalog-web.composite b/branches/sca-android/tutorials/store/catalog-webapp/catalog-web.composite deleted file mode 100644 index 3ba76da078..0000000000 --- a/branches/sca-android/tutorials/store/catalog-webapp/catalog-web.composite +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - USD - - - - - - - - USD - - - - - - diff --git a/branches/sca-android/tutorials/store/catalog-webapp/pom.xml b/branches/sca-android/tutorials/store/catalog-webapp/pom.xml deleted file mode 100644 index 80a8861a99..0000000000 --- a/branches/sca-android/tutorials/store/catalog-webapp/pom.xml +++ /dev/null @@ -1,110 +0,0 @@ - - - - 4.0.0 - - org.apache.tuscany.sca - tuscany-tutorial-store - 1.4-SNAPSHOT - ../pom.xml - - tutorial-catalog-webapp - Apache Tuscany SCA Store Tutorial Catalog WAR Contribution - war - - - - apache.incubator - http://people.apache.org/repo/m2-incubating-repository - - - - - - org.apache.tuscany.sca - tuscany-sca-api - 1.4-SNAPSHOT - runtime - - - - org.apache.tuscany.sca - tuscany-node-api - 1.4-SNAPSHOT - runtime - - - - org.apache.tuscany.sca - tutorial-assets - 1.4-SNAPSHOT - - - - org.apache.tuscany.sca - tuscany-node-launcher - 1.4-SNAPSHOT - runtime - - - - - - ${artifactId} - ${basedir} - - - ${basedir} - - **/*.java - **/.*/** - pom.xml - build.xml - target/** - webapp/** - target/** - - - - - - - org.apache.maven.plugins - maven-war-plugin - - webapp - - - - org.apache.tuscany.sca - tuscany-maven-ant-generator - 1.4-SNAPSHOT - - - - generate - - - - - - - - diff --git a/branches/sca-android/tutorials/store/catalog-webapp/webapp/META-INF/sca-contribution.xml b/branches/sca-android/tutorials/store/catalog-webapp/webapp/META-INF/sca-contribution.xml deleted file mode 100644 index 7f06dc7ccb..0000000000 --- a/branches/sca-android/tutorials/store/catalog-webapp/webapp/META-INF/sca-contribution.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/branches/sca-android/tutorials/store/catalog-webapp/webapp/WEB-INF/web.xml b/branches/sca-android/tutorials/store/catalog-webapp/webapp/WEB-INF/web.xml deleted file mode 100644 index e08d617dad..0000000000 --- a/branches/sca-android/tutorials/store/catalog-webapp/webapp/WEB-INF/web.xml +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - Fruit Catalog - - - tuscany - org.apache.tuscany.sca.node.launcher.NodeServletFilter - - - - tuscany - /* - - - - catalog.jsp - - - diff --git a/branches/sca-android/tutorials/store/catalog-webapp/webapp/catalog.jsp b/branches/sca-android/tutorials/store/catalog-webapp/webapp/catalog.jsp deleted file mode 100644 index dcee7c33f4..0000000000 --- a/branches/sca-android/tutorials/store/catalog-webapp/webapp/catalog.jsp +++ /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. ---%> - -<%@ page import="org.apache.tuscany.sca.node.SCAClient"%> -<%@ page import="services.Catalog" %> -<%@page import="services.Item"%> - -<%@ page contentType="text/html;charset=UTF-8" language="java" %> - -<% - - SCAClient client = (SCAClient) application.getAttribute("org.apache.tuscany.sca.node.SCAClient"); - - Catalog catalog = (Catalog)client.getService(Catalog.class, "LocalFruitsCatalog"); - Item[] items = catalog.get(); - -%> - - -Catalog - - -

Catalog

- - - -<% for (int i = 0, n = items.length; i < n; i++) { %> - - - -<% } %> - -
<%=items[i].getName() %><%=items[i].getPrice() %>
- - - -- cgit v1.2.3