portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dlest...@apache.org
Subject svn commit: r209403 - in /portals/jetspeed-2/trunk/components/portal: src/test/org/apache/jetspeed/ test/ test/assembly/ test/deployment/ test/deployment/deploy/ test/deployment/deploy/security-app/ test/deployment/deploy/security-app/WEB-INF/ test/dep...
Date Wed, 06 Jul 2005 03:26:29 GMT
Author: dlestrat
Date: Tue Jul  5 20:26:25 2005
New Revision: 209403

URL: http://svn.apache.org/viewcvs?rev=209403&view=rev
Log:
http://issues.apache.org/jira/browse/JS2-304

Added:
    portals/jetspeed-2/trunk/components/portal/src/test/org/apache/jetspeed/PortalTestConstants.java
    portals/jetspeed-2/trunk/components/portal/test/
    portals/jetspeed-2/trunk/components/portal/test/assembly/
    portals/jetspeed-2/trunk/components/portal/test/assembly/TestCastorXmlPageManager.groovy
    portals/jetspeed-2/trunk/components/portal/test/assembly/TestDatabasePageManager.groovy
    portals/jetspeed-2/trunk/components/portal/test/deployment/
    portals/jetspeed-2/trunk/components/portal/test/deployment/.cvsignore
    portals/jetspeed-2/trunk/components/portal/test/deployment/deploy/
    portals/jetspeed-2/trunk/components/portal/test/deployment/deploy/README.txt
    portals/jetspeed-2/trunk/components/portal/test/deployment/deploy/demo.war   (with props)
    portals/jetspeed-2/trunk/components/portal/test/deployment/deploy/jetspeed-layouts.war   (with props)
    portals/jetspeed-2/trunk/components/portal/test/deployment/deploy/portletstd.jar   (with props)
    portals/jetspeed-2/trunk/components/portal/test/deployment/deploy/security-app/
    portals/jetspeed-2/trunk/components/portal/test/deployment/deploy/security-app/WEB-INF/
    portals/jetspeed-2/trunk/components/portal/test/deployment/deploy/security-app/WEB-INF/portlet.xml
    portals/jetspeed-2/trunk/components/portal/test/deployment/deploy/security-app/WEB-INF/web.xml
    portals/jetspeed-2/trunk/components/portal/test/deployment/redeploy/
    portals/jetspeed-2/trunk/components/portal/test/deployment/redeploy/demo.war   (with props)
    portals/jetspeed-2/trunk/components/portal/test/deployment/webapps/
    portals/jetspeed-2/trunk/components/portal/test/deployment/webapps/.cvsignore
    portals/jetspeed-2/trunk/components/portal/test/jetspeed.jmx
    portals/jetspeed-2/trunk/components/portal/test/testdata/
    portals/jetspeed-2/trunk/components/portal/test/testdata/deploy/
    portals/jetspeed-2/trunk/components/portal/test/testdata/deploy/jetspeed-portlet.xml
    portals/jetspeed-2/trunk/components/portal/test/testdata/deploy/layout-portlets/
    portals/jetspeed-2/trunk/components/portal/test/testdata/deploy/layout-portlets/portlet.xml
    portals/jetspeed-2/trunk/components/portal/test/testdata/deploy/portlet.xml
    portals/jetspeed-2/trunk/components/portal/test/testdata/deploy/portlet2.xml
    portals/jetspeed-2/trunk/components/portal/test/testdata/deploy/security-roles/
    portals/jetspeed-2/trunk/components/portal/test/testdata/deploy/security-roles/portlet.xml
    portals/jetspeed-2/trunk/components/portal/test/testdata/deploy/security-roles/web.xml
    portals/jetspeed-2/trunk/components/portal/test/testdata/deploy/web.xml
    portals/jetspeed-2/trunk/components/portal/test/testdata/deploy/webapp/
    portals/jetspeed-2/trunk/components/portal/test/testdata/deploy/webapp/WEB-INF/
    portals/jetspeed-2/trunk/components/portal/test/testdata/deploy/webapp/WEB-INF/portlet.xml
    portals/jetspeed-2/trunk/components/portal/test/testdata/deploy/webapp/WEB-INF/web.xml

Added: portals/jetspeed-2/trunk/components/portal/src/test/org/apache/jetspeed/PortalTestConstants.java
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/components/portal/src/test/org/apache/jetspeed/PortalTestConstants.java?rev=209403&view=auto
==============================================================================
--- portals/jetspeed-2/trunk/components/portal/src/test/org/apache/jetspeed/PortalTestConstants.java (added)
+++ portals/jetspeed-2/trunk/components/portal/src/test/org/apache/jetspeed/PortalTestConstants.java Tue Jul  5 20:26:25 2005
@@ -0,0 +1,30 @@
+/*
+ * Copyright 2000-2001,2004 The Apache Software Foundation.
+ * 
+ * Licensed 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.jetspeed;
+
+/**
+ * <p>
+ * Constants used for test cases.
+ * </p>
+ * 
+ * @author <a href="mailto:dlestrat@apache.org">David Le Strat</a>
+ */
+public class PortalTestConstants
+{
+    public final static String JETSPEED_PROPERTIES_PATH = "../../portal-webapp/src/webapp/WEB-INF/conf/jetspeed.properties";
+    
+    public final static String PORTAL_WEBAPP_PATH = "../../portal-webapp/src/webapp";
+}

Added: portals/jetspeed-2/trunk/components/portal/test/assembly/TestCastorXmlPageManager.groovy
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/components/portal/test/assembly/TestCastorXmlPageManager.groovy?rev=209403&view=auto
==============================================================================
--- portals/jetspeed-2/trunk/components/portal/test/assembly/TestCastorXmlPageManager.groovy (added)
+++ portals/jetspeed-2/trunk/components/portal/test/assembly/TestCastorXmlPageManager.groovy Tue Jul  5 20:26:25 2005
@@ -0,0 +1,43 @@
+/*
+ * Copyright 2000-2004 The Apache Software Foundation.
+ * 
+ * Licensed 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.
+ */
+import org.picocontainer.defaults.DefaultPicoContainer
+import org.apache.jetspeed.idgenerator.JetspeedIdGenerator
+import org.apache.jetspeed.page.impl.CastorXmlPageManager
+import org.apache.jetspeed.components.ComponentAssemblyTestCase
+import org.apache.jetspeed.cache.file.FileCache
+
+// create the root container
+container = new DefaultPicoContainer()
+
+applicationRoot = ComponentAssemblyTestCase.getApplicationRoot("portal", "test")
+
+//
+// ID Generator
+//
+idgenerator = new JetspeedIdGenerator()
+container.registerComponentInstance("IdGenerator", idgenerator)
+
+//
+// Page Manager
+//
+Long scanRate = 120
+cacheSize = 100
+fileCache = new FileCache(scanRate, cacheSize)
+root = applicationRoot + "/testdata/pages"
+container.registerComponentInstance("CastorXmlPageManager", 
+                                     new CastorXmlPageManager(idgenerator, fileCache, root))
+
+return container

Added: portals/jetspeed-2/trunk/components/portal/test/assembly/TestDatabasePageManager.groovy
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/components/portal/test/assembly/TestDatabasePageManager.groovy?rev=209403&view=auto
==============================================================================
--- portals/jetspeed-2/trunk/components/portal/test/assembly/TestDatabasePageManager.groovy (added)
+++ portals/jetspeed-2/trunk/components/portal/test/assembly/TestDatabasePageManager.groovy Tue Jul  5 20:26:25 2005
@@ -0,0 +1,42 @@
+/*
+ * Copyright 2000-2004 The Apache Software Foundation.
+ * 
+ * Licensed 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.
+ */
+import org.picocontainer.defaults.DefaultPicoContainer
+import org.apache.jetspeed.idgenerator.JetspeedIdGenerator
+import org.apache.jetspeed.page.impl.DatabasePageManager
+import org.apache.jetspeed.components.ComponentAssemblyTestCase
+
+// create the root container
+container = new DefaultPicoContainer()
+
+//
+// ID Generator
+//
+idgenerator = new JetspeedIdGenerator()
+container.registerComponentInstance("IdGenerator", idgenerator)
+
+
+//
+// Persistence Store Service
+//
+// TODO: get persistence store service
+
+//
+// Page Manager
+//
+container.registerComponentInstance("DatabasePageManager", 
+                                     new DatabasePageManager(null, idgenerator, null))
+
+return container

Added: portals/jetspeed-2/trunk/components/portal/test/deployment/.cvsignore
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/components/portal/test/deployment/.cvsignore?rev=209403&view=auto
==============================================================================
--- portals/jetspeed-2/trunk/components/portal/test/deployment/.cvsignore (added)
+++ portals/jetspeed-2/trunk/components/portal/test/deployment/.cvsignore Tue Jul  5 20:26:25 2005
@@ -0,0 +1 @@
+templates

Added: portals/jetspeed-2/trunk/components/portal/test/deployment/deploy/README.txt
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/components/portal/test/deployment/deploy/README.txt?rev=209403&view=auto
==============================================================================
--- portals/jetspeed-2/trunk/components/portal/test/deployment/deploy/README.txt (added)
+++ portals/jetspeed-2/trunk/components/portal/test/deployment/deploy/README.txt Tue Jul  5 20:26:25 2005
@@ -0,0 +1,15 @@
+Copyright 2004 The Apache Software Foundation
+
+Licensed 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.
+
+This is were you things to be deployed to Jetspeed (not implemented yet)
\ No newline at end of file

Added: portals/jetspeed-2/trunk/components/portal/test/deployment/deploy/demo.war
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/components/portal/test/deployment/deploy/demo.war?rev=209403&view=auto
==============================================================================
Binary file - no diff available.

Propchange: portals/jetspeed-2/trunk/components/portal/test/deployment/deploy/demo.war
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: portals/jetspeed-2/trunk/components/portal/test/deployment/deploy/jetspeed-layouts.war
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/components/portal/test/deployment/deploy/jetspeed-layouts.war?rev=209403&view=auto
==============================================================================
Binary file - no diff available.

Propchange: portals/jetspeed-2/trunk/components/portal/test/deployment/deploy/jetspeed-layouts.war
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: portals/jetspeed-2/trunk/components/portal/test/deployment/deploy/portletstd.jar
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/components/portal/test/deployment/deploy/portletstd.jar?rev=209403&view=auto
==============================================================================
Binary file - no diff available.

Propchange: portals/jetspeed-2/trunk/components/portal/test/deployment/deploy/portletstd.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: portals/jetspeed-2/trunk/components/portal/test/deployment/deploy/security-app/WEB-INF/portlet.xml
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/components/portal/test/deployment/deploy/security-app/WEB-INF/portlet.xml?rev=209403&view=auto
==============================================================================
--- portals/jetspeed-2/trunk/components/portal/test/deployment/deploy/security-app/WEB-INF/portlet.xml (added)
+++ portals/jetspeed-2/trunk/components/portal/test/deployment/deploy/security-app/WEB-INF/portlet.xml Tue Jul  5 20:26:25 2005
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright 2004 The Apache Software Foundation
+
+Licensed 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.
+-->
+<portlet-app id="TestSecurityRoles" version="1.0">
+ <portlet id="TestPortlet">
+    <portlet-name>TestPortlet</portlet-name>
+    <portlet-class>org.apache.jetspeed.portlet.helloworld.HelloWorld</portlet-class>
+    <display-name xml:lang="en">HelloWorld Portlet Wrapper</display-name>
+    <description xml:lang="en">This is a desciption of the HelloWorld portlet</description>
+    <expiration-cache>-1</expiration-cache>
+    <supports id="Minimal support">
+      <mime-type>text/html</mime-type>
+      <portlet-mode>EDIT</portlet-mode>
+      <portlet-mode>VIEW</portlet-mode>
+      <portlet-mode>HELP</portlet-mode>
+    </supports>
+    <portlet-info>
+      <title>HelloWorldTitle</title>
+      <short-title>This is the short title</short-title>
+      <keywords>Test,David</keywords>
+    </portlet-info>
+    <portlet-preferences>
+      <preference>
+        <name>time-server</name>
+        <value>http://timeserver.myco.com</value>
+        <value>http://timeserver.foo.com</value>
+        <read-only>false</read-only>
+      </preference>
+      <preference>
+        <name>port</name>
+        <value>404</value>
+        <read-only>true</read-only>
+      </preference>
+    </portlet-preferences>
+
+  </portlet>
+
+ </portlet-app>
+
+

Added: portals/jetspeed-2/trunk/components/portal/test/deployment/deploy/security-app/WEB-INF/web.xml
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/components/portal/test/deployment/deploy/security-app/WEB-INF/web.xml?rev=209403&view=auto
==============================================================================
--- portals/jetspeed-2/trunk/components/portal/test/deployment/deploy/security-app/WEB-INF/web.xml (added)
+++ portals/jetspeed-2/trunk/components/portal/test/deployment/deploy/security-app/WEB-INF/web.xml Tue Jul  5 20:26:25 2005
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright 2004 The Apache Software Foundation
+
+Licensed 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.
+-->
+<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
+                         "http://java.sun.com/dtd/web-app_2_3.dtd">
+<web-app>
+  <display-name>Jetspeed Container Application</display-name>
+  <description>MVC Servlet for Jetspeed Portlet Applications</description>
+
+
+  <!-- The Usual Welcome File List -->
+  <welcome-file-list>
+    <welcome-file>index.jsp</welcome-file>
+  </welcome-file-list>
+
+
+
+</web-app>

Added: portals/jetspeed-2/trunk/components/portal/test/deployment/redeploy/demo.war
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/components/portal/test/deployment/redeploy/demo.war?rev=209403&view=auto
==============================================================================
Binary file - no diff available.

Propchange: portals/jetspeed-2/trunk/components/portal/test/deployment/redeploy/demo.war
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: portals/jetspeed-2/trunk/components/portal/test/deployment/webapps/.cvsignore
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/components/portal/test/deployment/webapps/.cvsignore?rev=209403&view=auto
==============================================================================
--- portals/jetspeed-2/trunk/components/portal/test/deployment/webapps/.cvsignore (added)
+++ portals/jetspeed-2/trunk/components/portal/test/deployment/webapps/.cvsignore Tue Jul  5 20:26:25 2005
@@ -0,0 +1,2 @@
+META-INF
+WEB-INF

Added: portals/jetspeed-2/trunk/components/portal/test/jetspeed.jmx
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/components/portal/test/jetspeed.jmx?rev=209403&view=auto
==============================================================================
--- portals/jetspeed-2/trunk/components/portal/test/jetspeed.jmx (added)
+++ portals/jetspeed-2/trunk/components/portal/test/jetspeed.jmx Tue Jul  5 20:26:25 2005
@@ -0,0 +1,414 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright 2004 The Apache Software Foundation
+
+Licensed 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.
+-->
+<node>
+<testelement class="org.apache.jmeter.testelement.TestPlan">
+<property name="TestElement.test_class" xml:space="preserve">org.apache.jmeter.testelement.TestPlan</property>
+<property name="TestElement.name" xml:space="preserve">Jetspeed Test Plan</property>
+<property name="TestPlan.functional_mode" xml:space="preserve">false</property>
+<collection name="TestPlan.thread_groups" class="java.util.LinkedList"/>
+<testelement name="TestPlan.user_defined_variables" class="org.apache.jmeter.config.Arguments">
+<property name="TestElement.name" xml:space="preserve">Argument List</property>
+<property name="TestElement.test_class" xml:space="preserve">org.apache.jmeter.config.Arguments</property>
+<collection name="Arguments.arguments" class="java.util.ArrayList"/>
+<property name="TestElement.gui_class" xml:space="preserve">org.apache.jmeter.config.gui.ArgumentsPanel</property>
+</testelement>
+<property name="TestElement.gui_class" xml:space="preserve">org.apache.jmeter.control.gui.TestPlanGui</property>
+</testelement>
+<node>
+<testelement class="org.apache.jmeter.threads.ThreadGroup">
+<property name="TestElement.name" xml:space="preserve">Thread Group</property>
+<property name="TestElement.test_class" xml:space="preserve">org.apache.jmeter.threads.ThreadGroup</property>
+<testelement name="ThreadGroup.main_controller" class="org.apache.jmeter.control.LoopController">
+<property name="TestElement.test_class" xml:space="preserve">org.apache.jmeter.control.LoopController</property>
+<property name="TestElement.name" xml:space="preserve">Loop Controller</property>
+<property name="LoopController.continue_forever" xml:space="preserve">false</property>
+<property name="LoopController.loops" xml:space="preserve">1</property>
+<property name="TestElement.gui_class" xml:space="preserve">org.apache.jmeter.control.gui.LoopControlPanel</property>
+</testelement>
+<property name="ThreadGroup.num_threads" xml:space="preserve">30</property>
+<property name="ThreadGroup.ramp_time" xml:space="preserve">15</property>
+<property name="TestElement.gui_class" xml:space="preserve">org.apache.jmeter.threads.gui.ThreadGroupGui</property>
+</testelement>
+<node>
+<testelement class="org.apache.jmeter.protocol.http.control.CookieManager">
+<property name="TestElement.test_class" xml:space="preserve">org.apache.jmeter.protocol.http.control.CookieManager</property>
+<property name="TestElement.name" xml:space="preserve">HTTP Cookie Manager</property>
+<collection name="CookieManager.cookies" class="java.util.ArrayList"/>
+<property name="TestElement.gui_class" xml:space="preserve">org.apache.jmeter.protocol.http.gui.CookiePanel</property>
+</testelement>
+</node>
+<node>
+<testelement class="org.apache.jmeter.control.OnceOnlyController">
+<property name="TestElement.test_class" xml:space="preserve">org.apache.jmeter.control.OnceOnlyController</property>
+<property name="TestElement.name" xml:space="preserve">Once Only Controller</property>
+<property name="TestElement.gui_class" xml:space="preserve">org.apache.jmeter.control.gui.OnceOnlyControllerGui</property>
+</testelement>
+<node>
+<testelement class="org.apache.jmeter.protocol.http.sampler.HTTPSampler">
+<property name="TestElement.name" xml:space="preserve">Login</property>
+<property name="TestElement.test_class" xml:space="preserve">org.apache.jmeter.protocol.http.sampler.HTTPSampler</property>
+<property name="HTTPSampler.port" xml:space="preserve">8080</property>
+<property name="HTTPSampler.method" xml:space="preserve">POST</property>
+<property name="HTTPSampler.mimetype" xml:space="preserve"/>
+<collection name="AbstractSampler.assertions" class="java.util.ArrayList"/>
+<testelement name="HTTPsampler.Arguments" class="org.apache.jmeter.config.Arguments">
+<property name="TestElement.test_class" xml:space="preserve">org.apache.jmeter.config.Arguments</property>
+<property name="TestElement.name" xml:space="preserve">Argument List</property>
+<collection name="Arguments.arguments" class="java.util.ArrayList">
+<testelement class="org.apache.jmeter.protocol.http.util.HTTPArgument">
+<property name="HTTPArgument.always_encode" xml:space="preserve">false</property>
+<property name="Argument.name" xml:space="preserve">username</property>
+<property name="HTTPArgument.encoded_value" xml:space="preserve">turbine</property>
+<property name="HTTPArgument.encoded_name" xml:space="preserve">username</property>
+<property name="Argument.value" xml:space="preserve">turbine</property>
+</testelement>
+<testelement class="org.apache.jmeter.protocol.http.util.HTTPArgument">
+<property name="HTTPArgument.always_encode" xml:space="preserve">false</property>
+<property name="Argument.name" xml:space="preserve">password</property>
+<property name="HTTPArgument.encoded_value" xml:space="preserve">turbine</property>
+<property name="HTTPArgument.encoded_name" xml:space="preserve">password</property>
+<property name="Argument.value" xml:space="preserve">turbine</property>
+</testelement>
+<testelement class="org.apache.jmeter.protocol.http.util.HTTPArgument">
+<property name="HTTPArgument.always_encode" xml:space="preserve">false</property>
+<property name="Argument.name" xml:space="preserve">submit</property>
+<property name="HTTPArgument.encoded_value" xml:space="preserve">login</property>
+<property name="HTTPArgument.encoded_name" xml:space="preserve">submit</property>
+<property name="Argument.value" xml:space="preserve">login</property>
+</testelement>
+<testelement class="org.apache.jmeter.protocol.http.util.HTTPArgument">
+<property name="HTTPArgument.always_encode" xml:space="preserve">false</property>
+<property name="Argument.name" xml:space="preserve">action</property>
+<property name="HTTPArgument.encoded_value" xml:space="preserve">JLoginUser</property>
+<property name="HTTPArgument.encoded_name" xml:space="preserve">action</property>
+<property name="Argument.value" xml:space="preserve">JLoginUser</property>
+</testelement>
+</collection>
+<property name="TestElement.gui_class" xml:space="preserve">org.apache.jmeter.protocol.http.gui.HTTPArgumentsPanel</property>
+</testelement>
+<property name="HTTPSampler.follow_redirects" xml:space="preserve">true</property>
+<property name="HTTPSampler.protocol" xml:space="preserve">http</property>
+<property name="HTTPSampler.FILE_FIELD" xml:space="preserve"/>
+<property name="HTTPSampler.path" xml:space="preserve">/jetspeed/portal/</property>
+<property name="HTTPSampler.domain" xml:space="preserve">localhost</property>
+<property name="HTTPSampler.use_keepalive" xml:space="preserve">true</property>
+<property name="TestElement.gui_class" xml:space="preserve">org.apache.jmeter.protocol.http.control.gui.HttpTestSampleGui</property>
+<property name="HTTPSampler.FILE_NAME" xml:space="preserve"/>
+</testelement>
+<node>
+<testelement class="org.apache.jmeter.assertions.ResponseAssertion">
+<property name="TestElement.test_class" xml:space="preserve">org.apache.jmeter.assertions.ResponseAssertion</property>
+<property name="TestElement.name" xml:space="preserve">Login Assertion</property>
+<property name="Assertion.test_type" xml:space="preserve">2</property>
+<property name="Assertion.test_field" xml:space="preserve">Assertion.response_data</property>
+<collection name="Asserion.test_strings" class="java.util.ArrayList">
+<string xml:space="preserve">Welcome</string>
+</collection>
+<property name="TestElement.gui_class" xml:space="preserve">org.apache.jmeter.assertions.gui.AssertionGui</property>
+</testelement>
+</node>
+<node>
+<testelement class="org.apache.jmeter.reporters.ResultCollector">
+<property name="TestElement.name" xml:space="preserve">View Results in Table</property>
+<property name="TestElement.test_class" xml:space="preserve">org.apache.jmeter.reporters.ResultCollector</property>
+<property name="ResultCollector.error_logging" xml:space="preserve">false</property>
+<property name="TestElement.gui_class" xml:space="preserve">org.apache.jmeter.visualizers.TableVisualizer</property>
+</testelement>
+</node>
+</node>
+</node>
+<node>
+<testelement class="org.apache.jmeter.protocol.http.sampler.HTTPSampler">
+<property name="TestElement.name" xml:space="preserve">Load Group Page</property>
+<property name="TestElement.test_class" xml:space="preserve">org.apache.jmeter.protocol.http.sampler.HTTPSampler</property>
+<property name="HTTPSampler.port" xml:space="preserve">8080</property>
+<property name="HTTPSampler.method" xml:space="preserve">GET</property>
+<property name="HTTPSampler.mimetype" xml:space="preserve"/>
+<collection name="AbstractSampler.assertions" class="java.util.ArrayList"/>
+<testelement name="HTTPsampler.Arguments" class="org.apache.jmeter.config.Arguments">
+<property name="TestElement.test_class" xml:space="preserve">org.apache.jmeter.config.Arguments</property>
+<property name="TestElement.name" xml:space="preserve">Argument List</property>
+<collection name="Arguments.arguments" class="java.util.ArrayList"/>
+<property name="TestElement.gui_class" xml:space="preserve">org.apache.jmeter.protocol.http.gui.HTTPArgumentsPanel</property>
+</testelement>
+<property name="HTTPSampler.follow_redirects" xml:space="preserve">true</property>
+<property name="HTTPSampler.protocol" xml:space="preserve">http</property>
+<property name="HTTPSampler.FILE_FIELD" xml:space="preserve"/>
+<property name="HTTPSampler.path" xml:space="preserve">/jetspeed/portal/group/apache/page/news</property>
+<property name="HTTPSampler.domain" xml:space="preserve">localhost</property>
+<property name="HTTPSampler.use_keepalive" xml:space="preserve">true</property>
+<property name="TestElement.gui_class" xml:space="preserve">org.apache.jmeter.protocol.http.control.gui.HttpTestSampleGui</property>
+<property name="HTTPSampler.FILE_NAME" xml:space="preserve"/>
+</testelement>
+<node>
+<testelement class="org.apache.jmeter.assertions.ResponseAssertion">
+<property name="TestElement.test_class" xml:space="preserve">org.apache.jmeter.assertions.ResponseAssertion</property>
+<property name="TestElement.name" xml:space="preserve">Response Assertion</property>
+<property name="Assertion.test_type" xml:space="preserve">2</property>
+<property name="Assertion.test_field" xml:space="preserve">Assertion.response_data</property>
+<collection name="Asserion.test_strings" class="java.util.ArrayList">
+<string xml:space="preserve">Apacheweek</string>
+</collection>
+<property name="TestElement.gui_class" xml:space="preserve">org.apache.jmeter.assertions.gui.AssertionGui</property>
+</testelement>
+</node>
+<node>
+<testelement class="org.apache.jmeter.reporters.ResultCollector">
+<property name="TestElement.name" xml:space="preserve">View Results in Table</property>
+<property name="TestElement.test_class" xml:space="preserve">org.apache.jmeter.reporters.ResultCollector</property>
+<property name="ResultCollector.error_logging" xml:space="preserve">false</property>
+<property name="TestElement.gui_class" xml:space="preserve">org.apache.jmeter.visualizers.TableVisualizer</property>
+</testelement>
+</node>
+</node>
+<node>
+<testelement class="org.apache.jmeter.protocol.http.sampler.HTTPSampler">
+<property name="TestElement.name" xml:space="preserve">Back Home</property>
+<property name="TestElement.test_class" xml:space="preserve">org.apache.jmeter.protocol.http.sampler.HTTPSampler</property>
+<property name="HTTPSampler.port" xml:space="preserve">8080</property>
+<property name="HTTPSampler.method" xml:space="preserve">GET</property>
+<property name="HTTPSampler.mimetype" xml:space="preserve"/>
+<collection name="AbstractSampler.assertions" class="java.util.ArrayList"/>
+<testelement name="HTTPsampler.Arguments" class="org.apache.jmeter.config.Arguments">
+<property name="TestElement.test_class" xml:space="preserve">org.apache.jmeter.config.Arguments</property>
+<property name="TestElement.name" xml:space="preserve">Argument List</property>
+<collection name="Arguments.arguments" class="java.util.ArrayList"/>
+<property name="TestElement.gui_class" xml:space="preserve">org.apache.jmeter.protocol.http.gui.HTTPArgumentsPanel</property>
+</testelement>
+<property name="HTTPSampler.follow_redirects" xml:space="preserve">true</property>
+<property name="HTTPSampler.protocol" xml:space="preserve">http</property>
+<property name="HTTPSampler.FILE_FIELD" xml:space="preserve"/>
+<property name="HTTPSampler.path" xml:space="preserve">/jetspeed/portal/</property>
+<property name="HTTPSampler.domain" xml:space="preserve">localhost</property>
+<property name="HTTPSampler.use_keepalive" xml:space="preserve">true</property>
+<property name="TestElement.gui_class" xml:space="preserve">org.apache.jmeter.protocol.http.control.gui.HttpTestSampleGui</property>
+<property name="HTTPSampler.FILE_NAME" xml:space="preserve"/>
+</testelement>
+<node>
+<testelement class="org.apache.jmeter.reporters.ResultCollector">
+<property name="TestElement.name" xml:space="preserve">View Results in Table</property>
+<property name="TestElement.test_class" xml:space="preserve">org.apache.jmeter.reporters.ResultCollector</property>
+<property name="ResultCollector.error_logging" xml:space="preserve">false</property>
+<property name="TestElement.gui_class" xml:space="preserve">org.apache.jmeter.visualizers.TableVisualizer</property>
+</testelement>
+</node>
+</node>
+<node>
+<testelement class="org.apache.jmeter.timers.ConstantTimer">
+<property name="TestElement.test_class" xml:space="preserve">org.apache.jmeter.timers.ConstantTimer</property>
+<property name="TestElement.name" xml:space="preserve">Constant Timer</property>
+<property name="ConstantTimer.delay" xml:space="preserve">2000</property>
+<property name="TestElement.gui_class" xml:space="preserve">org.apache.jmeter.timers.gui.ConstantTimerGui</property>
+</testelement>
+</node>
+<node>
+<testelement class="org.apache.jmeter.reporters.ResultCollector">
+<property name="TestElement.name" xml:space="preserve">Graph Results</property>
+<property name="TestElement.test_class" xml:space="preserve">org.apache.jmeter.reporters.ResultCollector</property>
+<property name="ResultCollector.error_logging" xml:space="preserve">false</property>
+<property name="TestElement.gui_class" xml:space="preserve">org.apache.jmeter.visualizers.GraphVisualizer</property>
+</testelement>
+</node>
+</node>
+<node>
+<testelement class="org.apache.jmeter.threads.ThreadGroup">
+<property name="TestElement.name" xml:space="preserve">Thread Group 2</property>
+<property name="TestElement.test_class" xml:space="preserve">org.apache.jmeter.threads.ThreadGroup</property>
+<testelement name="ThreadGroup.main_controller" class="org.apache.jmeter.control.LoopController">
+<property name="TestElement.test_class" xml:space="preserve">org.apache.jmeter.control.LoopController</property>
+<property name="TestElement.name" xml:space="preserve">Loop Controller</property>
+<property name="LoopController.continue_forever" xml:space="preserve">false</property>
+<property name="LoopController.loops" xml:space="preserve">1</property>
+<property name="TestElement.gui_class" xml:space="preserve">org.apache.jmeter.control.gui.LoopControlPanel</property>
+</testelement>
+<property name="ThreadGroup.num_threads" xml:space="preserve">20</property>
+<property name="ThreadGroup.ramp_time" xml:space="preserve">1</property>
+<property name="TestElement.gui_class" xml:space="preserve">org.apache.jmeter.threads.gui.ThreadGroupGui</property>
+</testelement>
+<node>
+<testelement class="org.apache.jmeter.protocol.http.control.CookieManager">
+<property name="TestElement.test_class" xml:space="preserve">org.apache.jmeter.protocol.http.control.CookieManager</property>
+<property name="TestElement.name" xml:space="preserve">HTTP Cookie Manager</property>
+<collection name="CookieManager.cookies" class="java.util.ArrayList"/>
+<property name="TestElement.gui_class" xml:space="preserve">org.apache.jmeter.protocol.http.gui.CookiePanel</property>
+</testelement>
+</node>
+<node>
+<testelement class="org.apache.jmeter.control.OnceOnlyController">
+<property name="TestElement.test_class" xml:space="preserve">org.apache.jmeter.control.OnceOnlyController</property>
+<property name="TestElement.name" xml:space="preserve">Once Only Controller</property>
+<property name="TestElement.gui_class" xml:space="preserve">org.apache.jmeter.control.gui.OnceOnlyControllerGui</property>
+</testelement>
+<node>
+<testelement class="org.apache.jmeter.protocol.http.sampler.HTTPSampler">
+<property name="TestElement.name" xml:space="preserve">Login</property>
+<property name="TestElement.test_class" xml:space="preserve">org.apache.jmeter.protocol.http.sampler.HTTPSampler</property>
+<property name="HTTPSampler.port" xml:space="preserve">8080</property>
+<property name="HTTPSampler.method" xml:space="preserve">POST</property>
+<property name="HTTPSampler.mimetype" xml:space="preserve"/>
+<collection name="AbstractSampler.assertions" class="java.util.ArrayList"/>
+<testelement name="HTTPsampler.Arguments" class="org.apache.jmeter.config.Arguments">
+<property name="TestElement.test_class" xml:space="preserve">org.apache.jmeter.config.Arguments</property>
+<property name="TestElement.name" xml:space="preserve">Argument List</property>
+<collection name="Arguments.arguments" class="java.util.ArrayList">
+<testelement class="org.apache.jmeter.protocol.http.util.HTTPArgument">
+<property name="HTTPArgument.always_encode" xml:space="preserve">false</property>
+<property name="Argument.name" xml:space="preserve">username</property>
+<property name="HTTPArgument.encoded_value" xml:space="preserve">callcenter</property>
+<property name="HTTPArgument.encoded_name" xml:space="preserve">username</property>
+<property name="Argument.value" xml:space="preserve">callcenter</property>
+</testelement>
+<testelement class="org.apache.jmeter.protocol.http.util.HTTPArgument">
+<property name="HTTPArgument.always_encode" xml:space="preserve">false</property>
+<property name="Argument.name" xml:space="preserve">password</property>
+<property name="HTTPArgument.encoded_value" xml:space="preserve">password</property>
+<property name="HTTPArgument.encoded_name" xml:space="preserve">password</property>
+<property name="Argument.value" xml:space="preserve">password</property>
+</testelement>
+<testelement class="org.apache.jmeter.protocol.http.util.HTTPArgument">
+<property name="HTTPArgument.always_encode" xml:space="preserve">false</property>
+<property name="Argument.name" xml:space="preserve">submit</property>
+<property name="HTTPArgument.encoded_value" xml:space="preserve">login</property>
+<property name="HTTPArgument.encoded_name" xml:space="preserve">submit</property>
+<property name="Argument.value" xml:space="preserve">login</property>
+</testelement>
+<testelement class="org.apache.jmeter.protocol.http.util.HTTPArgument">
+<property name="HTTPArgument.always_encode" xml:space="preserve">false</property>
+<property name="Argument.name" xml:space="preserve">action</property>
+<property name="HTTPArgument.encoded_value" xml:space="preserve">JLoginUser</property>
+<property name="HTTPArgument.encoded_name" xml:space="preserve">action</property>
+<property name="Argument.value" xml:space="preserve">JLoginUser</property>
+</testelement>
+</collection>
+<property name="TestElement.gui_class" xml:space="preserve">org.apache.jmeter.protocol.http.gui.HTTPArgumentsPanel</property>
+</testelement>
+<property name="HTTPSampler.follow_redirects" xml:space="preserve">true</property>
+<property name="HTTPSampler.protocol" xml:space="preserve">http</property>
+<property name="HTTPSampler.FILE_FIELD" xml:space="preserve"/>
+<property name="HTTPSampler.path" xml:space="preserve">/wts28223/portal/</property>
+<property name="HTTPSampler.domain" xml:space="preserve">localhost</property>
+<property name="HTTPSampler.use_keepalive" xml:space="preserve">true</property>
+<property name="TestElement.gui_class" xml:space="preserve">org.apache.jmeter.protocol.http.control.gui.HttpTestSampleGui</property>
+<property name="HTTPSampler.FILE_NAME" xml:space="preserve"/>
+</testelement>
+<node>
+<testelement class="org.apache.jmeter.assertions.ResponseAssertion">
+<property name="TestElement.test_class" xml:space="preserve">org.apache.jmeter.assertions.ResponseAssertion</property>
+<property name="TestElement.name" xml:space="preserve">Login Assertion</property>
+<property name="Assertion.test_type" xml:space="preserve">2</property>
+<property name="Assertion.test_field" xml:space="preserve">Assertion.response_data</property>
+<collection name="Asserion.test_strings" class="java.util.ArrayList">
+<string xml:space="preserve">Welcome</string>
+</collection>
+<property name="TestElement.gui_class" xml:space="preserve">org.apache.jmeter.assertions.gui.AssertionGui</property>
+</testelement>
+</node>
+<node>
+<testelement class="org.apache.jmeter.reporters.ResultCollector">
+<property name="TestElement.name" xml:space="preserve">Assertion Results</property>
+<property name="TestElement.test_class" xml:space="preserve">org.apache.jmeter.reporters.ResultCollector</property>
+<property name="ResultCollector.error_logging" xml:space="preserve">false</property>
+<property name="filename" xml:space="preserve">/tmp/Assertions.txt</property>
+<property name="TestElement.gui_class" xml:space="preserve">org.apache.jmeter.visualizers.AssertionVisualizer</property>
+</testelement>
+</node>
+</node>
+</node>
+<node>
+<testelement class="org.apache.jmeter.protocol.http.sampler.HTTPSampler">
+<property name="TestElement.name" xml:space="preserve">Load Group Page</property>
+<property name="TestElement.test_class" xml:space="preserve">org.apache.jmeter.protocol.http.sampler.HTTPSampler</property>
+<property name="HTTPSampler.port" xml:space="preserve">8080</property>
+<property name="HTTPSampler.method" xml:space="preserve">GET</property>
+<property name="HTTPSampler.mimetype" xml:space="preserve"/>
+<collection name="AbstractSampler.assertions" class="java.util.ArrayList"/>
+<testelement name="HTTPsampler.Arguments" class="org.apache.jmeter.config.Arguments">
+<property name="TestElement.test_class" xml:space="preserve">org.apache.jmeter.config.Arguments</property>
+<property name="TestElement.name" xml:space="preserve">Argument List</property>
+<collection name="Arguments.arguments" class="java.util.ArrayList"/>
+<property name="TestElement.gui_class" xml:space="preserve">org.apache.jmeter.protocol.http.gui.HTTPArgumentsPanel</property>
+</testelement>
+<property name="HTTPSampler.follow_redirects" xml:space="preserve">true</property>
+<property name="HTTPSampler.protocol" xml:space="preserve">http</property>
+<property name="HTTPSampler.FILE_FIELD" xml:space="preserve"/>
+<property name="HTTPSampler.path" xml:space="preserve">/jetspeed/portal/group/apache/page/news</property>
+<property name="HTTPSampler.domain" xml:space="preserve">localhost</property>
+<property name="HTTPSampler.use_keepalive" xml:space="preserve">true</property>
+<property name="TestElement.gui_class" xml:space="preserve">org.apache.jmeter.protocol.http.control.gui.HttpTestSampleGui</property>
+<property name="HTTPSampler.FILE_NAME" xml:space="preserve"/>
+</testelement>
+<node>
+<testelement class="org.apache.jmeter.reporters.ResultCollector">
+<property name="TestElement.name" xml:space="preserve">Assertion Results</property>
+<property name="TestElement.test_class" xml:space="preserve">org.apache.jmeter.reporters.ResultCollector</property>
+<property name="ResultCollector.error_logging" xml:space="preserve">false</property>
+<property name="filename" xml:space="preserve">/tmp/Assertions.txt</property>
+<property name="TestElement.gui_class" xml:space="preserve">org.apache.jmeter.visualizers.AssertionVisualizer</property>
+</testelement>
+</node>
+</node>
+<node>
+<testelement class="org.apache.jmeter.protocol.http.sampler.HTTPSampler">
+<property name="TestElement.name" xml:space="preserve">Back Home</property>
+<property name="TestElement.test_class" xml:space="preserve">org.apache.jmeter.protocol.http.sampler.HTTPSampler</property>
+<property name="HTTPSampler.port" xml:space="preserve">8080</property>
+<property name="HTTPSampler.method" xml:space="preserve">GET</property>
+<property name="HTTPSampler.mimetype" xml:space="preserve"/>
+<collection name="AbstractSampler.assertions" class="java.util.ArrayList"/>
+<testelement name="HTTPsampler.Arguments" class="org.apache.jmeter.config.Arguments">
+<property name="TestElement.test_class" xml:space="preserve">org.apache.jmeter.config.Arguments</property>
+<property name="TestElement.name" xml:space="preserve">Argument List</property>
+<collection name="Arguments.arguments" class="java.util.ArrayList"/>
+<property name="TestElement.gui_class" xml:space="preserve">org.apache.jmeter.protocol.http.gui.HTTPArgumentsPanel</property>
+</testelement>
+<property name="HTTPSampler.follow_redirects" xml:space="preserve">true</property>
+<property name="HTTPSampler.protocol" xml:space="preserve">http</property>
+<property name="HTTPSampler.FILE_FIELD" xml:space="preserve"/>
+<property name="HTTPSampler.path" xml:space="preserve">/jetspeed/portal/</property>
+<property name="HTTPSampler.domain" xml:space="preserve">localhost</property>
+<property name="HTTPSampler.use_keepalive" xml:space="preserve">true</property>
+<property name="TestElement.gui_class" xml:space="preserve">org.apache.jmeter.protocol.http.control.gui.HttpTestSampleGui</property>
+<property name="HTTPSampler.FILE_NAME" xml:space="preserve"/>
+</testelement>
+<node>
+<testelement class="org.apache.jmeter.reporters.ResultCollector">
+<property name="TestElement.name" xml:space="preserve">Assertion Results</property>
+<property name="TestElement.test_class" xml:space="preserve">org.apache.jmeter.reporters.ResultCollector</property>
+<property name="ResultCollector.error_logging" xml:space="preserve">false</property>
+<property name="filename" xml:space="preserve">/tmp/Assertions.txt</property>
+<property name="TestElement.gui_class" xml:space="preserve">org.apache.jmeter.visualizers.AssertionVisualizer</property>
+</testelement>
+</node>
+</node>
+<node>
+<testelement class="org.apache.jmeter.timers.ConstantTimer">
+<property name="TestElement.test_class" xml:space="preserve">org.apache.jmeter.timers.ConstantTimer</property>
+<property name="TestElement.name" xml:space="preserve">Constant Timer</property>
+<property name="ConstantTimer.delay" xml:space="preserve">5000</property>
+<property name="TestElement.gui_class" xml:space="preserve">org.apache.jmeter.timers.gui.ConstantTimerGui</property>
+</testelement>
+</node>
+<node>
+<testelement class="org.apache.jmeter.reporters.ResultCollector">
+<property name="TestElement.name" xml:space="preserve">Graph Results</property>
+<property name="TestElement.test_class" xml:space="preserve">org.apache.jmeter.reporters.ResultCollector</property>
+<property name="ResultCollector.error_logging" xml:space="preserve">false</property>
+<property name="TestElement.gui_class" xml:space="preserve">org.apache.jmeter.visualizers.GraphVisualizer</property>
+</testelement>
+</node>
+</node>
+</node>

Added: portals/jetspeed-2/trunk/components/portal/test/testdata/deploy/jetspeed-portlet.xml
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/components/portal/test/testdata/deploy/jetspeed-portlet.xml?rev=209403&view=auto
==============================================================================
--- portals/jetspeed-2/trunk/components/portal/test/testdata/deploy/jetspeed-portlet.xml (added)
+++ portals/jetspeed-2/trunk/components/portal/test/testdata/deploy/jetspeed-portlet.xml Tue Jul  5 20:26:25 2005
@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright 2004 The Apache Software Foundation
+
+Licensed 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.
+-->
+<portlet-app id="HW_App" version="1.0" 
+    xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" 
+    xmlns:js="http://portals.apache.org/jetspeed" 
+    xmlns:dc="http://www.purl.org/dc">
+    
+    <dc:title>Title 1</dc:title>
+    <dc:title xml:lang="en">Eng Title</dc:title>
+    <dc:title xml:lang="fr">Fr Title</dc:title>
+    <dc:subject xml:lang="sp">Spanish Subject</dc:subject>
+    <dc:creator>Default Jeremy Ford</dc:creator>
+    <dc:coverage>Default Coverage</dc:coverage>
+    <dc:contributor>Default Contributor</dc:contributor>
+    <dc:description>Default Description</dc:description>
+    <dc:format>Default Format</dc:format>
+    <dc:identifer>Default Identifier</dc:identifer>
+    <dc:language>Default Language</dc:language>
+    <dc:publisher>Default Publisher</dc:publisher>
+    <dc:relation>Default Relation</dc:relation>
+    <dc:right>Default Right</dc:right>
+    <dc:source>Default Source</dc:source>
+    <dc:type>Default Type</dc:type>
+    <js:metadata name="my_metadata" xml:lang="en">English My_Metadata</js:metadata>
+        
+    <portlet>
+        <portlet-name>HelloWorld Portlet</portlet-name>
+        <dc:title>HelloWorldTitle</dc:title>
+        <dc:title xml:lang="en">HP Eng Title</dc:title>
+        <dc:title xml:lang="fr">HP Fr Title</dc:title>
+        <dc:title xml:lang="sp">HP Sp Title</dc:title>
+    </portlet>
+    
+    <portlet>
+        <portlet-name>Display the Portlet Request Information</portlet-name>
+        <dc:subject xml:lang="sp">HP Spanish Subject</dc:subject>
+        <dc:subject xml:lang="sp">HP Spanish Subject</dc:subject>
+        <dc:subject xml:lang="sp">HP Spanish Subject</dc:subject>
+        <dc:subject xml:lang="sp">HP Spanish Subject</dc:subject>
+        <dc:subject xml:lang="sp">HP Spanish Subject</dc:subject>
+    </portlet>
+    
+    <portlet>
+        <portlet-name>PortletThatDoesNotExist</portlet-name>
+        <js:metadata name="field1" xml:lang="en">Value 1</js:metadata>
+        <js:metadata name="field1" xml:lang="en">Value 2</js:metadata>
+        <js:metadata name="field1" xml:lang="en">Value 3</js:metadata>
+        <js:metadata name="field2" xml:lang="en">Value 1</js:metadata>
+        <js:metadata name="field2" xml:lang="en">Value 2</js:metadata>
+    </portlet>
+    
+    <portlet>
+        <portlet-name>Pick a number game</portlet-name>
+        <dc:creator>Scott</dc:creator>
+        <dc:creator>DST</dc:creator>
+        <dc:creator>DLS</dc:creator>
+        <dc:creator>Jeremy</dc:creator>
+    </portlet>
+    
+    <portlet>
+        <portlet-name>Attribute Scope Demo</portlet-name>
+        <js:metadata name="field1" xml:lang="en">Value 1</js:metadata>
+        <js:metadata name="field1" xml:lang="en">Value 2</js:metadata>
+        <js:metadata name="field1" xml:lang="en">Value 3</js:metadata>
+        <js:metadata name="field2" xml:lang="en">Value 1</js:metadata>
+        <js:metadata name="field2" xml:lang="en">Value 2</js:metadata>
+    </portlet>
+    
+    <js:user-attribute-ref>
+		<js:name>user-name-given</js:name>
+		<js:name-link>user.name.given</js:name-link>
+  	</js:user-attribute-ref>
+  	<js:user-attribute-ref>
+		<js:name>user-name-family</js:name>
+		<js:name-link>user.name.family</js:name-link>
+  	</js:user-attribute-ref>
+
+    <js:services>
+    	<js:service name='PortletRegistryComponent' />
+    	<js:service name='PortletEntityAccessComponent'/>		
+    </js:services>
+
+</portlet-app>
\ No newline at end of file

Added: portals/jetspeed-2/trunk/components/portal/test/testdata/deploy/layout-portlets/portlet.xml
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/components/portal/test/testdata/deploy/layout-portlets/portlet.xml?rev=209403&view=auto
==============================================================================
--- portals/jetspeed-2/trunk/components/portal/test/testdata/deploy/layout-portlets/portlet.xml (added)
+++ portals/jetspeed-2/trunk/components/portal/test/testdata/deploy/layout-portlets/portlet.xml Tue Jul  5 20:26:25 2005
@@ -0,0 +1,77 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright 2004 The Apache Software Foundation
+Licensed 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.
+-->
+
+<portlet-app id="jetspeed" version="1.0">
+    <portlet id="TwoColumns">
+    <portlet-name>TwoColumns</portlet-name>
+    <display-name>Two Columns Layout</display-name>
+    <init-param>
+      <name>ViewPage</name>
+      <value>/WEB-INF/layout/columns.jsp</value>
+    </init-param>
+    <init-param>
+      <name>columns</name>
+      <value>2</value>
+    </init-param>
+    <init-param>
+      <name>sizes</name>
+      <value>50%,50%</value>
+    </init-param>
+    <portlet-class>org.apache.jetspeed.portlets.layout.MultiColumnPortlet</portlet-class>
+    <expiration-cache>-1</expiration-cache>
+    <supports>
+      <mime-type>text/html</mime-type>
+      <portlet-mode>VIEW</portlet-mode>
+    </supports>
+    <portlet-info>
+      <title>TwoColumns</title>
+      <short-title>TwoColumns</short-title>
+    </portlet-info>
+</portlet>
+
+<portlet id="VelocityTwoColumns">
+    <portlet-name>VelocityTwoColumns</portlet-name>
+    <display-name>Two Columns Layout Using Velocity</display-name>
+    <init-param>
+      <name>ViewPage</name>
+      <value>columns</value>
+    </init-param>
+    <init-param>
+      <name>MaxPage</name>
+      <value>maximized</value>
+    </init-param>
+    <init-param>
+      <name>columns</name>
+      <value>2</value>
+    </init-param>
+    <init-param>
+      <name>sizes</name>
+      <value>50%,50%</value>
+    </init-param>
+    <portlet-class>org.apache.jetspeed.portlets.layout.MultiColumnPortlet</portlet-class>
+    <expiration-cache>-1</expiration-cache>
+    <supports>
+      <mime-type>text/html</mime-type>
+      <portlet-mode>VIEW</portlet-mode>
+    </supports>
+    <portlet-info>
+      <title>VelocityTwoColumns</title>
+      <short-title>TwoColumns</short-title>
+    </portlet-info>
+</portlet>
+
+</portlet-app>
+

Added: portals/jetspeed-2/trunk/components/portal/test/testdata/deploy/portlet.xml
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/components/portal/test/testdata/deploy/portlet.xml?rev=209403&view=auto
==============================================================================
--- portals/jetspeed-2/trunk/components/portal/test/testdata/deploy/portlet.xml (added)
+++ portals/jetspeed-2/trunk/components/portal/test/testdata/deploy/portlet.xml Tue Jul  5 20:26:25 2005
@@ -0,0 +1,118 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright 2004 The Apache Software Foundation
+
+Licensed 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.
+-->
+<portlet-app id="TestRegistry" version="1.0">
+ <portlet id="HelloPortlet">
+    <init-param>
+			<description xml:lang="en">test init param</description>
+			<name>hello</name>
+			<value>Hello Portlet</value>
+     </init-param>  
+    <portlet-name>HelloWorld Portlet</portlet-name>
+    <portlet-class>org.apache.jetspeed.portlet.helloworld.HelloWorld</portlet-class>
+    <display-name xml:lang="en">HelloWorld Portlet Wrapper</display-name>  
+    <description xml:lang="en">This is a desciption of the HelloWorld portlet</description>
+    <expiration-cache>-1</expiration-cache>
+    <supports id="Minimal support">
+      <mime-type>text/html</mime-type>
+      <portlet-mode>EDIT</portlet-mode>
+      <portlet-mode>VIEW</portlet-mode>
+      <portlet-mode>HELP</portlet-mode>
+    </supports>
+    <portlet-info>
+      <title>HelloWorldTitle</title>
+      <short-title>This is the short title</short-title>
+      <keywords>Test,David</keywords>
+    </portlet-info>
+    <portlet-preferences>
+      <preference> 
+        <name>time-server</name>
+        <value>http://timeserver.myco.com</value>
+        <value>http://timeserver.foo.com</value>
+        <read-only>false</read-only>
+      </preference>
+      <preference>
+        <name>port</name>
+        <value>404</value>
+        <read-only>true</read-only>
+      </preference>    
+    </portlet-preferences>
+    <security-role-ref>
+    	<description xml:lang="en">This is the admin role</description>
+    	<role-name>admin</role-name>
+    	<role-link>users/admin</role-link>
+    </security-role-ref>
+  </portlet>
+ 
+  <portlet id="DisplayRequestPortlet">
+    <portlet-name>Display the Portlet Request Information</portlet-name>
+    <portlet-class>org.apache.jetspeed.demo.simple.DisplayRequestServlet</portlet-class>
+    <expiration-cache>-1</expiration-cache>
+    <supports>
+      <mime-type>text/html</mime-type>
+      <portlet-mode>VIEW</portlet-mode>
+      <portlet-mode>HELP</portlet-mode>
+    </supports>
+    <portlet-info>
+      <title>Display the Portlet Request Information</title>
+    </portlet-info>
+  </portlet>
+  
+  <portlet id="PickANumberPortlet">
+    <portlet-name>Pick a number game</portlet-name>
+    <portlet-class>org.apache.jetspeed.demo.simple.PickANumberServlet</portlet-class>
+    <expiration-cache>-1</expiration-cache>
+    <supports>
+      <mime-type>text/html</mime-type>
+      <portlet-mode>VIEW</portlet-mode>
+      <portlet-mode>HELP</portlet-mode>
+    </supports>
+    <portlet-info>
+      <title>Pick a Number</title>
+    </portlet-info>
+  </portlet>
+  
+  <portlet id="AttributeScopePortlet">
+    <portlet-name>Attribute Scope Demo</portlet-name>
+    <portlet-class>org.apache.jetspeed.demo.simple.AttributeScopeServlet</portlet-class>
+    <expiration-cache>-1</expiration-cache>
+    <supports>
+      <mime-type>text/html</mime-type>
+      <portlet-mode>VIEW</portlet-mode>
+      <portlet-mode>HELP</portlet-mode>
+    </supports>
+    <portlet-info>
+      <title>Attribute Scope Demo Portlet</title>
+    </portlet-info>
+   
+  </portlet>
+  
+  <user-attribute>
+	<description>User Given Name</description>
+	<name>user.name.given</name>
+  </user-attribute>
+  <user-attribute>
+	<description>User Last Name</description>
+	<name>user.name.family</name>
+  </user-attribute>
+  <user-attribute>
+	<description>User eMail</description>
+	<name>user.home-info.online.email</name>
+  </user-attribute>
+  
+ </portlet-app>
+
+

Added: portals/jetspeed-2/trunk/components/portal/test/testdata/deploy/portlet2.xml
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/components/portal/test/testdata/deploy/portlet2.xml?rev=209403&view=auto
==============================================================================
--- portals/jetspeed-2/trunk/components/portal/test/testdata/deploy/portlet2.xml (added)
+++ portals/jetspeed-2/trunk/components/portal/test/testdata/deploy/portlet2.xml Tue Jul  5 20:26:25 2005
@@ -0,0 +1,213 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright 2004 The Apache Software Foundation
+
+Licensed 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.
+-->
+<portlet-app id="HW_App" version="1.0">
+  <portlet id="HelloPortlet">
+    <init-param>
+			<description>test init param</description>
+			<name>hello</name>
+			<value>Hello Portlet</value>
+     </init-param>   
+    <portlet-name>HelloPortlet</portlet-name>
+    <display-name>HelloWorld Portlet Wrapper</display-name>
+    <description>This is the hello world of portlets, it doesn't do much</description>
+    <portlet-class>org.apache.jetspeed.portlet.helloworld.HelloWorld</portlet-class>
+    <expiration-cache>-1</expiration-cache>
+    <supports>
+      <mime-type>text/html</mime-type>
+      <portlet-mode>EDIT</portlet-mode>
+      <portlet-mode>VIEW</portlet-mode>
+      <portlet-mode>HELP</portlet-mode>
+    </supports>
+    <portlet-info>
+      <title>HelloWorldTitle</title>
+      <short-title>This is the short title</short-title>
+      <keywords>Test</keywords>
+    </portlet-info>
+  </portlet>
+  
+   <portlet id="JMXPortlet">
+      
+    <portlet-name>JMXPortlet</portlet-name>
+    <display-name>JMX Registry Access portlet</display-name>
+    <portlet-class>org.apache.jetspeed.demo.jmx.JMXPortlet</portlet-class>
+    <expiration-cache>-1</expiration-cache>
+    <supports>
+      <mime-type>text/html</mime-type>
+      <portlet-mode>VIEW</portlet-mode>
+    </supports>
+    <portlet-info>
+      <title>JMX Portal Console</title>
+      <short-title>JMX Portlet Console</short-title>
+      <keywords>JMX</keywords>
+    </portlet-info>
+  </portlet>
+  
+  <portlet id="PreferencePortlet">      
+    <portlet-name>PreferencePortlet</portlet-name>
+    <display-name>PreferencePortlet</display-name>
+    <portlet-class>org.apache.jetspeed.demo.preferences.PreferencePortlet</portlet-class>
+    <expiration-cache>-1</expiration-cache>
+    <supports>
+      <mime-type>text/html</mime-type>
+      <portlet-mode>VIEW</portlet-mode>
+    </supports>
+    <portlet-info>
+      <title>Preference Test</title>
+      <short-title>Preference Test</short-title>
+      <keywords>Preferences</keywords>
+    </portlet-info>
+    <portlet-preferences>
+    	 <preference>
+    	 	 <name>pref1</name>
+    	 	 <value>Hello</value>
+    	 	 <value>Hello2</value>
+    	  </preference>
+    </portlet-preferences>
+  </portlet>
+ 
+  <portlet id="DisplayRequestPortlet">
+    <init-param> 
+	    <name>HelpPage</name>
+	    <value>/WEB-INF/demo/simple/DisplayRequestHelp.jsp</value>
+    </init-param> 
+    <init-param> 
+	    <name>ViewPage</name>
+  	  <value>/WEB-INF/demo/simple/DisplayRequest.jsp</value>
+    </init-param> 
+    <portlet-name>DisplayRequestPortlet</portlet-name>
+    <display-name>DisplayRequest Portlet Wrapper</display-name>
+    <portlet-class>org.apache.jetspeed.portlet.ServletPortlet</portlet-class>
+    <expiration-cache>-1</expiration-cache>
+    <supports>
+      <mime-type>text/html</mime-type>
+      <portlet-mode>VIEW</portlet-mode>
+      <portlet-mode>HELP</portlet-mode>
+    </supports>
+    <portlet-info>
+      <title>Display the Portlet Request Information</title>
+      <short-title>Portlet Request Information</short-title>
+    </portlet-info>
+  </portlet>
+ 
+  <portlet id="PickANumberPortlet">
+    <portlet-name>PickANumberPortlet</portlet-name>
+    <display-name>Pick a number game</display-name>
+    <portlet-class>org.apache.jetspeed.demo.simple.PickANumberServlet</portlet-class>
+    <expiration-cache>-1</expiration-cache>
+    <supports>
+      <mime-type>text/html</mime-type>
+      <portlet-mode>VIEW</portlet-mode>
+      <portlet-mode>HELP</portlet-mode>
+    </supports>
+    <portlet-info>
+      <title>Pick a Number</title>
+    </portlet-info>
+  </portlet>
+  
+  <portlet id="AttributeScopePortlet">
+    <portlet-name>AttributeScopePortlet</portlet-name>
+    <display-name>Attribute Scope Demo</display-name>
+    <portlet-class>org.apache.jetspeed.demo.simple.AttributeScopeServlet</portlet-class>
+    <expiration-cache>-1</expiration-cache>
+    <supports>
+      <mime-type>text/html</mime-type>
+      <portlet-mode>VIEW</portlet-mode>
+      <portlet-mode>HELP</portlet-mode>
+    </supports>
+    <portlet-info>
+      <title>Attribute Scope Demo Portlet</title>
+    </portlet-info>
+  </portlet>
+
+  <portlet id="CustomerList">
+    <init-param> 
+	  <name>ViewPage</name>
+  	  <value>/WEB-INF/demo/customerInfo/Page1.jsp</value>
+    </init-param> 
+    <portlet-name>CustomerList</portlet-name>
+    <display-name>Customer List</display-name>
+    <portlet-class>org.apache.jetspeed.demo.customerInfo.CustomerPortlet</portlet-class>
+    <expiration-cache>-1</expiration-cache>
+    <supports>
+      <mime-type>text/html</mime-type>
+      <portlet-mode>VIEW</portlet-mode>
+    </supports>
+    <portlet-info>
+      <title>Customer List</title>
+      <short-title>Customer List</short-title>
+    </portlet-info>
+  </portlet>
+
+  <portlet id="CustomerInfo">
+    <init-param> 
+	  <name>ViewPage</name>
+  	  <value>/WEB-INF/demo/customerInfo/Page2.jsp</value>
+    </init-param> 
+    <portlet-name>CustomerInfo</portlet-name>
+    <display-name>Customer Information</display-name>
+    <portlet-class>org.apache.jetspeed.demo.customerInfo.CustomerPortlet</portlet-class>
+    <expiration-cache>-1</expiration-cache>
+    <supports>
+      <mime-type>text/html</mime-type>
+      <portlet-mode>VIEW</portlet-mode>
+    </supports>
+    <portlet-info>
+      <title>Customer Information</title>
+      <short-title>Customer Info</short-title>
+    </portlet-info>
+  </portlet>
+
+  <portlet id="CustomerDetail">
+    <init-param> 
+	  <name>ViewPage</name>
+  	  <value>/WEB-INF/demo/customerInfo/Page3.jsp</value>
+    </init-param> 
+    <portlet-name>CustomerDetail</portlet-name>
+    <display-name>Customer Detail</display-name>
+    <portlet-class>org.apache.jetspeed.demo.customerInfo.CustomerPortlet</portlet-class>
+    <expiration-cache>-1</expiration-cache>
+    <supports>
+      <mime-type>text/html</mime-type>
+      <portlet-mode>VIEW</portlet-mode>
+    </supports>
+    <portlet-info>
+      <title>Customer Detail</title>
+      <short-title>Customer Detail</short-title>
+    </portlet-info>
+  </portlet>
+
+  <portlet id="LoginPortlet">
+    <init-param> 
+	    <name>ViewPage</name>
+  	  <value>/WEB-INF/demo/simple/Login.jsp</value>
+    </init-param> 
+    <portlet-name>LoginPortlet</portlet-name>
+    <display-name>LoginRequest Portlet Wrapper</display-name>
+    <portlet-class>org.apache.jetspeed.portlet.ServletPortlet</portlet-class>
+    <expiration-cache>-1</expiration-cache>
+    <supports>
+      <mime-type>text/html</mime-type>
+      <portlet-mode>VIEW</portlet-mode>
+   </supports>
+    <portlet-info>
+      <title>Login/Logout  Request Information</title>
+      <short-title>Portlet Request Information</short-title>
+    </portlet-info>
+  </portlet>
+
+</portlet-app>
+

Added: portals/jetspeed-2/trunk/components/portal/test/testdata/deploy/security-roles/portlet.xml
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/components/portal/test/testdata/deploy/security-roles/portlet.xml?rev=209403&view=auto
==============================================================================
--- portals/jetspeed-2/trunk/components/portal/test/testdata/deploy/security-roles/portlet.xml (added)
+++ portals/jetspeed-2/trunk/components/portal/test/testdata/deploy/security-roles/portlet.xml Tue Jul  5 20:26:25 2005
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright 2004 The Apache Software Foundation
+
+Licensed 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.
+-->
+<portlet-app id="TestSecurityRoles" version="1.0">
+ <portlet id="TestPortlet">
+    <portlet-name>TestPortlet</portlet-name>
+    <portlet-class>org.apache.jetspeed.portlet.helloworld.HelloWorld</portlet-class>
+    <display-name xml:lang="en">HelloWorld Portlet Wrapper</display-name>
+    <description xml:lang="en">This is a desciption of the HelloWorld portlet</description>
+    <expiration-cache>-1</expiration-cache>
+    <supports id="Minimal support">
+      <mime-type>text/html</mime-type>
+      <portlet-mode>EDIT</portlet-mode>
+      <portlet-mode>VIEW</portlet-mode>
+      <portlet-mode>HELP</portlet-mode>
+    </supports>
+    <portlet-info>
+      <title>HelloWorldTitle</title>
+      <short-title>This is the short title</short-title>
+      <keywords>Test,David</keywords>
+    </portlet-info>
+    <portlet-preferences>
+      <preference>
+        <name>time-server</name>
+        <value>http://timeserver.myco.com</value>
+        <value>http://timeserver.foo.com</value>
+        <read-only>false</read-only>
+      </preference>
+      <preference>
+        <name>port</name>
+        <value>404</value>
+        <read-only>true</read-only>
+      </preference>
+    </portlet-preferences>
+    <security-role-ref>
+        <description xml:lang="en">This is the admin role</description>
+        <role-name>admin</role-name>
+        <role-link>users.admin</role-link>
+    </security-role-ref>
+    <security-role-ref>
+        <description xml:lang="en">This is the manager role</description>
+        <role-name>users.manager</role-name>
+    </security-role-ref>
+  </portlet>
+
+ </portlet-app>
+
+

Added: portals/jetspeed-2/trunk/components/portal/test/testdata/deploy/security-roles/web.xml
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/components/portal/test/testdata/deploy/security-roles/web.xml?rev=209403&view=auto
==============================================================================
--- portals/jetspeed-2/trunk/components/portal/test/testdata/deploy/security-roles/web.xml (added)
+++ portals/jetspeed-2/trunk/components/portal/test/testdata/deploy/security-roles/web.xml Tue Jul  5 20:26:25 2005
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright 2004 The Apache Software Foundation
+
+Licensed 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.
+-->
+<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
+                         "http://java.sun.com/j2ee/dtds/web-app_2.2.dtd">
+<web-app>
+  <display-name>Jetspeed Container Application</display-name>
+  <description>MVC Servlet for Jetspeed Portlet Applications</description>
+  <servlet>
+    <servlet-name>JetspeedContainer</servlet-name>
+    <display-name>Jetspeed Container</display-name>
+    <description>MVC Servlet for Jetspeed Portlet Applications</description>
+    <servlet-class>org.apache.jetspeed.container.JetspeedContainerServlet</servlet-class>
+  </servlet>
+
+  <servlet-mapping>
+       <servlet-name>
+          JetspeedContainer
+       </servlet-name>
+       <url-pattern>
+         /portal/*
+       </url-pattern>
+    </servlet-mapping>
+    <servlet-mapping>
+       <servlet-name>
+          JetspeedContainer
+       </servlet-name>
+       <url-pattern>
+         /container/*
+       </url-pattern>
+    </servlet-mapping>
+
+  <!-- The Usual Welcome File List -->
+  <welcome-file-list>
+    <welcome-file>index.jsp</welcome-file>
+  </welcome-file-list>
+
+  <!-- Security roles used by this web application -->
+  <security-role>
+    <description>
+      The users.admin role
+    </description>
+    <role-name>users.admin</role-name>
+  </security-role>
+
+</web-app>

Added: portals/jetspeed-2/trunk/components/portal/test/testdata/deploy/web.xml
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/components/portal/test/testdata/deploy/web.xml?rev=209403&view=auto
==============================================================================
--- portals/jetspeed-2/trunk/components/portal/test/testdata/deploy/web.xml (added)
+++ portals/jetspeed-2/trunk/components/portal/test/testdata/deploy/web.xml Tue Jul  5 20:26:25 2005
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright 2004 The Apache Software Foundation
+
+Licensed 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.
+-->
+<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
+                         "http://java.sun.com/j2ee/dtds/web-app_2.2.dtd">
+<web-app>
+  <display-name>Jetspeed Container Application</display-name>
+  <description>MVC Servlet for Jetspeed Portlet Applications</description>
+  <servlet>
+    <servlet-name>JetspeedContainer</servlet-name>
+    <display-name>Jetspeed Container</display-name>
+    <description>MVC Servlet for Jetspeed Portlet Applications</description>
+    <servlet-class>org.apache.jetspeed.container.JetspeedContainerServlet</servlet-class>
+  </servlet>
+
+  <servlet-mapping>
+       <servlet-name>
+          JetspeedContainer
+       </servlet-name>
+       <url-pattern>
+         /portal/*
+       </url-pattern>
+    </servlet-mapping>
+    <servlet-mapping>
+       <servlet-name>
+          JetspeedContainer
+       </servlet-name>
+       <url-pattern>
+         /container/*
+       </url-pattern>
+    </servlet-mapping>    
+
+  <!-- The Usual Welcome File List -->
+  <welcome-file-list>
+    <welcome-file>index.jsp</welcome-file>
+  </welcome-file-list>
+
+</web-app>

Added: portals/jetspeed-2/trunk/components/portal/test/testdata/deploy/webapp/WEB-INF/portlet.xml
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/components/portal/test/testdata/deploy/webapp/WEB-INF/portlet.xml?rev=209403&view=auto
==============================================================================
--- portals/jetspeed-2/trunk/components/portal/test/testdata/deploy/webapp/WEB-INF/portlet.xml (added)
+++ portals/jetspeed-2/trunk/components/portal/test/testdata/deploy/webapp/WEB-INF/portlet.xml Tue Jul  5 20:26:25 2005
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright 2004 The Apache Software Foundation
+
+Licensed 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.
+-->
+<portlet-app id="TestSecurityRoles" version="1.0">
+ <portlet id="TestPortlet">
+    <portlet-name>TestPortlet</portlet-name>
+    <portlet-class>org.apache.jetspeed.portlet.helloworld.HelloWorld</portlet-class>
+    <display-name xml:lang="en">HelloWorld Portlet Wrapper</display-name>
+    <description xml:lang="en">This is a desciption of the HelloWorld portlet</description>
+    <expiration-cache>-1</expiration-cache>
+    <supports id="Minimal support">
+      <mime-type>text/html</mime-type>
+      <portlet-mode>EDIT</portlet-mode>
+      <portlet-mode>VIEW</portlet-mode>
+      <portlet-mode>HELP</portlet-mode>
+    </supports>
+    <portlet-info>
+      <title>HelloWorldTitle</title>
+      <short-title>This is the short title</short-title>
+      <keywords>Test,David</keywords>
+    </portlet-info>
+    <portlet-preferences>
+      <preference>
+        <name>time-server</name>
+        <value>http://timeserver.myco.com</value>
+        <value>http://timeserver.foo.com</value>
+        <read-only>false</read-only>
+      </preference>
+      <preference>
+        <name>port</name>
+        <value>404</value>
+        <read-only>true</read-only>
+      </preference>
+    </portlet-preferences>
+    <security-role-ref>
+        <description xml:lang="en">This is the admin role</description>
+        <role-name>admin</role-name>
+        <role-link>users.admin</role-link>
+    </security-role-ref>
+    <security-role-ref>
+        <description xml:lang="en">This is the manager role</description>
+        <role-name>users.manager</role-name>
+    </security-role-ref>
+  </portlet>
+
+ </portlet-app>
+
+

Added: portals/jetspeed-2/trunk/components/portal/test/testdata/deploy/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/components/portal/test/testdata/deploy/webapp/WEB-INF/web.xml?rev=209403&view=auto
==============================================================================
--- portals/jetspeed-2/trunk/components/portal/test/testdata/deploy/webapp/WEB-INF/web.xml (added)
+++ portals/jetspeed-2/trunk/components/portal/test/testdata/deploy/webapp/WEB-INF/web.xml Tue Jul  5 20:26:25 2005
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright 2004 The Apache Software Foundation
+
+Licensed 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.
+-->
+<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
+                         "http://java.sun.com/dtd/web-app_2_3.dtd">
+<web-app>
+  <display-name>Jetspeed Container Application</display-name>
+  <description>MVC Servlet for Jetspeed Portlet Applications</description>
+
+
+  <!-- The Usual Welcome File List -->
+  <welcome-file-list>
+    <welcome-file>index.jsp</welcome-file>
+  </welcome-file-list>
+
+  <!-- Security roles used by this web application -->
+  <security-role>
+    <description>
+      The users.admin role
+    </description>
+    <role-name>users.admin</role-name>
+  </security-role>
+
+</web-app>



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message