From 33899870fec91c4bd4868ae3969a4437df145f74 Mon Sep 17 00:00:00 2001 From: antelder Date: Wed, 18 Jun 2008 06:55:34 +0000 Subject: TUSCANY-2391: Apply patch from Thilina Buddhika adding some license headers git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@669097 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/tuscany/geronimoace/GeronimoACE.java | 61 +++++++++++------ .../src/main/webapp/WEB-INF/geronimo-web.xml | 80 ++++++++++++++-------- .../src/main/webapp/WEB-INF/portlet.xml | 66 +++++++++++------- .../geronimo_ACE/src/main/webapp/WEB-INF/web.xml | 63 +++++++++++------ 4 files changed, 174 insertions(+), 96 deletions(-) (limited to 'sandbox/thilina') diff --git a/sandbox/thilina/geronimo_ACE/src/main/java/org/apache/tuscany/geronimoace/GeronimoACE.java b/sandbox/thilina/geronimo_ACE/src/main/java/org/apache/tuscany/geronimoace/GeronimoACE.java index 188a29958e..eb52936bb6 100644 --- a/sandbox/thilina/geronimo_ACE/src/main/java/org/apache/tuscany/geronimoace/GeronimoACE.java +++ b/sandbox/thilina/geronimo_ACE/src/main/java/org/apache/tuscany/geronimoace/GeronimoACE.java @@ -1,21 +1,40 @@ -package org.apache.tuscany.geronimoace; - -import javax.portlet.*; -import java.io.IOException; -import java.io.PrintWriter; - -public class GeronimoACE extends GenericPortlet { - public void doView(RenderRequest request, RenderResponse response) throws PortletException, IOException { - // Set the response to read HTML - response.setContentType("text/html;charset=UTF-8"); - - // Required call for use of getWriter() and getPortletOutputStream() - PrintWriter out = response.getWriter(); - out.println(""); - out.println("Hello World"); - out.println(""); - out.flush(); - out.close(); - } - -} +/* + * 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 org.apache.tuscany.geronimoace; + +import javax.portlet.*; +import java.io.IOException; +import java.io.PrintWriter; + +public class GeronimoACE extends GenericPortlet { + public void doView(RenderRequest request, RenderResponse response) throws PortletException, IOException { + // Set the response to read HTML + response.setContentType("text/html;charset=UTF-8"); + + // Required call for use of getWriter() and getPortletOutputStream() + PrintWriter out = response.getWriter(); + out.println(""); + out.println("Hello World"); + out.println(""); + out.flush(); + out.close(); + } + +} diff --git a/sandbox/thilina/geronimo_ACE/src/main/webapp/WEB-INF/geronimo-web.xml b/sandbox/thilina/geronimo_ACE/src/main/webapp/WEB-INF/geronimo-web.xml index 1b43643f14..7b0c484c49 100644 --- a/sandbox/thilina/geronimo_ACE/src/main/webapp/WEB-INF/geronimo-web.xml +++ b/sandbox/thilina/geronimo_ACE/src/main/webapp/WEB-INF/geronimo-web.xml @@ -1,30 +1,50 @@ - - - - org.apache.tuscany.geronimoace - geronimo-ace - 1.0-SNAPSHOT - war - - - - - org.apache.geronimo.plugins - pluto-support - - - - - - /GeronimoACE - - - - Tuscany ACE - /GeronimoACE - [GeronimoACE] - - PlutoPortalServices - - - + + + + + + + org.apache.tuscany.geronimoace + geronimo-ace + 1.0-SNAPSHOT + war + + + + + org.apache.geronimo.plugins + pluto-support + + + + + + /GeronimoACE + + + + Tuscany ACE + /GeronimoACE + [GeronimoACE] + + PlutoPortalServices + + + diff --git a/sandbox/thilina/geronimo_ACE/src/main/webapp/WEB-INF/portlet.xml b/sandbox/thilina/geronimo_ACE/src/main/webapp/WEB-INF/portlet.xml index 50ba8d0434..f8f722e8cd 100644 --- a/sandbox/thilina/geronimo_ACE/src/main/webapp/WEB-INF/portlet.xml +++ b/sandbox/thilina/geronimo_ACE/src/main/webapp/WEB-INF/portlet.xml @@ -1,23 +1,43 @@ - - - - - GeronimoACE - GeronimoACE - Geronimo Admin Console for Tuscany - org.apache.tuscany.geronimoace.GeronimoACE - - text/html - view - - en - - Tuscany Admin Console EXtension - Tuscany ACE - - - - - + + + + + + + + GeronimoACE + GeronimoACE + Geronimo Admin Console for Tuscany + org.apache.tuscany.geronimoace.GeronimoACE + + text/html + view + + en + + Tuscany Admin Console EXtension + Tuscany ACE + + + + + diff --git a/sandbox/thilina/geronimo_ACE/src/main/webapp/WEB-INF/web.xml b/sandbox/thilina/geronimo_ACE/src/main/webapp/WEB-INF/web.xml index 1991da99dc..c40f92057e 100644 --- a/sandbox/thilina/geronimo_ACE/src/main/webapp/WEB-INF/web.xml +++ b/sandbox/thilina/geronimo_ACE/src/main/webapp/WEB-INF/web.xml @@ -1,22 +1,41 @@ - - - - - - - - GeronimoACE - org.apache.pluto.core.PortletServlet - - portlet-name - GeronimoACE - - 1 - - - GeronimoACE - /PlutoInvoker/GeronimoACE - - - + + + + + + + + + + GeronimoACE + org.apache.pluto.core.PortletServlet + + portlet-name + GeronimoACE + + 1 + + + GeronimoACE + /PlutoInvoker/GeronimoACE + + + -- cgit v1.2.3