portals-pluto-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From msnickl...@apache.org
Subject [5/9] portals-pluto git commit: removed mistakenly added files
Date Mon, 02 May 2016 14:03:31 GMT
removed mistakenly added files


Project: http://git-wip-us.apache.org/repos/asf/portals-pluto/repo
Commit: http://git-wip-us.apache.org/repos/asf/portals-pluto/commit/c9fc14b3
Tree: http://git-wip-us.apache.org/repos/asf/portals-pluto/tree/c9fc14b3
Diff: http://git-wip-us.apache.org/repos/asf/portals-pluto/diff/c9fc14b3

Branch: refs/heads/master
Commit: c9fc14b39d1801a76ccb986bb314cfda6a491eda
Parents: 018036b
Author: Scott Nicklous <msnicklous@apache.org>
Authored: Sat Apr 30 04:44:17 2016 +0200
Committer: Scott Nicklous <msnicklous@apache.org>
Committed: Sat Apr 30 04:44:17 2016 +0200

----------------------------------------------------------------------
 .../xml-resources/plutoMultiPortletPage.xsl     | 85 --------------------
 .../xml-resources/plutoSinglePortletPage.xsl    | 80 ------------------
 portlet-tck_3.0/xml-resources/test.xsl          | 78 ------------------
 3 files changed, 243 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/c9fc14b3/portlet-tck_3.0/xml-resources/plutoMultiPortletPage.xsl
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/xml-resources/plutoMultiPortletPage.xsl b/portlet-tck_3.0/xml-resources/plutoMultiPortletPage.xsl
deleted file mode 100644
index 9364e2e..0000000
--- a/portlet-tck_3.0/xml-resources/plutoMultiPortletPage.xsl
+++ /dev/null
@@ -1,85 +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.	   
--->
-
-<!--
-   This stylesheet generates a valid page configuration file for pluto by
-   transforming the portlet.xml file. The servlet context is provided through
-   a parameter. The page name is set to the portlet name, which is also a
-   test case name.
-   
-   It places all portlets from the portlet application on the same page.
--->
-
-<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:pa="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd">
-  <xsl:strip-space elements="pa:portlet-app"/>
-  <xsl:output method="xml" indent="yes"/>
-  <xsl:param name="portlet-app-context"/>
-  <xsl:variable name="pageName" select="pa:portlet-app/@id"/>
-  <xsl:template match="/">
-  <pluto-portal-driver
-    xmlns="http://portals.apache.org/pluto/xsd/pluto-portal-driver-config.xsd"
-    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-    xsi:schemaLocation="http://portals.apache.org/pluto/xsd/pluto-portal-driver-config.xsd
-                        http://portals.apache.org/pluto/pluto-portal/1.1/pluto-portal-driver-config.xsd"
-    version="1.1">
-
-
-    <portal-name>pluto-portal-driver</portal-name>
-    <portal-version>2.1.0-SNAPSHOT</portal-version>
-    <container-name>Pluto Portal Driver</container-name>
-
-    <supports>
-      <portlet-mode>view</portlet-mode>
-      <portlet-mode>edit</portlet-mode>
-      <portlet-mode>help</portlet-mode>
-      <portlet-mode>config</portlet-mode>
-
-      <window-state>normal</window-state>
-      <window-state>maximized</window-state>
-      <window-state>minimized</window-state>
-    </supports>
-    <xsl:element name="render-config">
-      <xsl:attribute name="default">About Apache Pluto</xsl:attribute>
-    <page name="About Apache Pluto" uri="/WEB-INF/themes/pluto-default-theme.jsp">
-      <portlet context="/pluto" name="AboutPortlet"/>
-    </page>
-         <xsl:apply-templates/>
-    </xsl:element>
-    </pluto-portal-driver>
-  </xsl:template>
-
-  <xsl:template match="pa:portlet-app">
-      <xsl:element name="page">
-        <xsl:attribute name="name"><xsl:value-of select="$pageName"/></xsl:attribute>
-        <xsl:attribute name="uri">/WEB-INF/themes/pluto-default-theme.jsp</xsl:attribute>
-         <xsl:apply-templates/>
-      </xsl:element>    
-  </xsl:template>
-
-  <xsl:template match="pa:portlet">
-          <xsl:element name="portlet">
-            <xsl:attribute name="context">/<xsl:value-of select='$portlet-app-context'/></xsl:attribute>
-            <xsl:attribute name="name"><xsl:value-of select="pa:portlet-name"/></xsl:attribute>
-          </xsl:element>
-  </xsl:template>
-  
-  <!-- ignore all other children of pa:portlet-app -->
-  <xsl:template match="pa:portlet-app/*[not(pa:portlet-name)]"/>
-
-</xsl:stylesheet>

http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/c9fc14b3/portlet-tck_3.0/xml-resources/plutoSinglePortletPage.xsl
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/xml-resources/plutoSinglePortletPage.xsl b/portlet-tck_3.0/xml-resources/plutoSinglePortletPage.xsl
deleted file mode 100644
index 6e5610f..0000000
--- a/portlet-tck_3.0/xml-resources/plutoSinglePortletPage.xsl
+++ /dev/null
@@ -1,80 +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.	   
--->
-
-<!--
-   This stylesheet generates a valid page configuration file for pluto by
-   transforming the portlet.xml file. The servlet context is provided through
-   a parameter. The page name is set to the portlet name, which is also a
-   test case name.
-   
-   It places each portlet from the portlet application on a separate page.
--->
-
-<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:pa="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd">
-  <xsl:strip-space elements="pa:portlet-app"/>
-  <xsl:output method="xml" indent="yes"/>
-  <xsl:param name="portlet-app-context"/>
-  <xsl:template match="/">
-  <pluto-portal-driver
-    xmlns="http://portals.apache.org/pluto/xsd/pluto-portal-driver-config.xsd"
-    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-    xsi:schemaLocation="http://portals.apache.org/pluto/xsd/pluto-portal-driver-config.xsd
-                        http://portals.apache.org/pluto/pluto-portal/1.1/pluto-portal-driver-config.xsd"
-    version="1.1">
-
-
-    <portal-name>pluto-portal-driver</portal-name>
-    <portal-version>2.1.0-SNAPSHOT</portal-version>
-    <container-name>Pluto Portal Driver</container-name>
-
-    <supports>
-      <portlet-mode>view</portlet-mode>
-      <portlet-mode>edit</portlet-mode>
-      <portlet-mode>help</portlet-mode>
-      <portlet-mode>config</portlet-mode>
-
-      <window-state>normal</window-state>
-      <window-state>maximized</window-state>
-      <window-state>minimized</window-state>
-    </supports>
-    <xsl:element name="render-config">
-      <xsl:attribute name="default">About Apache Pluto</xsl:attribute>
-    <page name="About Apache Pluto" uri="/WEB-INF/themes/pluto-default-theme.jsp">
-      <portlet context="/pluto" name="AboutPortlet"/>
-    </page>
-      <xsl:apply-templates/>
-    </xsl:element>
-    </pluto-portal-driver>
-  </xsl:template>
-
-  <xsl:template match="pa:portlet-app/pa:portlet">
-      <xsl:element name="page">
-        <xsl:attribute name="name"><xsl:value-of select="pa:portlet-name"/></xsl:attribute>
-        <xsl:attribute name="uri">/WEB-INF/themes/pluto-default-theme.jsp</xsl:attribute>
-          <xsl:element name="portlet">
-            <xsl:attribute name="context">/<xsl:value-of select='$portlet-app-context'/></xsl:attribute>
-            <xsl:attribute name="name"><xsl:value-of select="pa:portlet-name"/></xsl:attribute>
-          </xsl:element>
-      </xsl:element>    
-  </xsl:template>
-  
-  <!-- ignore all other children of pa:portlet-app -->
-  <xsl:template match="pa:portlet-app/*[not(pa:portlet-name)]"/>
-
-</xsl:stylesheet>

http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/c9fc14b3/portlet-tck_3.0/xml-resources/test.xsl
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/xml-resources/test.xsl b/portlet-tck_3.0/xml-resources/test.xsl
deleted file mode 100644
index 63d45d3..0000000
--- a/portlet-tck_3.0/xml-resources/test.xsl
+++ /dev/null
@@ -1,78 +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.	   
--->
-
-<!--
-   This stylesheet creates a list of test cases from the portlet.xml file.
-   
-   A naming convention is used in order to be able to automatically create a
-   properties file containing test case names mapping to the page to be accessed
-   to execute the test. The test case name is used as the portlet name and as 
-   the page name for the test.
-   
-   Note that the test case name must be unique within the TCK.
-   
-   In addition, an additional file containing test case name - page name mappings
-   can be provided. This allows a page and portlet to contain multiple test cases
-   that the test driver will execute sequentially. The parameter "additionalTCs"
-   must be set in the project pom with an absolute URI to the file. If the 
-   parameter is not set, no additional test cases will be added.
--->
-
-<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:pa="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd">
-  <xsl:output method="xml" indent="yes" doctype-system="http://java.sun.com/dtd/properties.dtd"/>

-  <xsl:strip-space elements="pa:portlet-app"/>
-  <xsl:param name="additionalTCs"/>
-  <xsl:param name="copyOnly"/>
-  <xsl:template match="/">
-    <xsl:element name="properties">
-      <xsl:if test="$copyOnly!='true'">
-         <xsl:apply-templates/>
-      </xsl:if>
-      <xsl:if test="$additionalTCs!='false'">
-         <xsl:variable name="addi" select="document($additionalTCs)"/>
-         <xsl:for-each select="$addi//entry">
-            <xsl:element name="entry">
-               <xsl:attribute name="key"><xsl:value-of select="@key"/></xsl:attribute>
-               <xsl:value-of select="."/>
-            </xsl:element>
-         </xsl:for-each>
-      </xsl:if>
-    </xsl:element>
-  </xsl:template>
- 
-  <!-- Create entry element for every portlet. For each entry: 
-       key attribute    = test case name                                
-       value            = page to be addressed to execute the TC
-       
-       The test driver will use the name / value pairs along with the context
-       base to construct URLs of the following form for test case execution:
-       
-       http://<test.server.host>:<test.server.port>/<test.context.base><value>
-  -->
-  <xsl:template match="pa:portlet-app/pa:portlet">
-    <xsl:element name="entry">
-      <xsl:attribute name="key"><xsl:value-of select="pa:portlet-name"/></xsl:attribute>
-      <xsl:value-of select="pa:portlet-name"/>
-    </xsl:element>
-  </xsl:template>
-  
-  <!-- ignore all other children of pa:portlet-app -->
-  <xsl:template match="pa:portlet-app/*[not(pa:portlet-name)]"/>
-
-</xsl:stylesheet>


Mime
View raw message