Author: mwringe
Date: 2009-03-27 16:58:26 -0400 (Fri, 27 Mar 2009)
New Revision: 13096
Added:
modules/deployer/trunk/deployer/src/main/deployer/dtd/portal-layouts_2_7.dtd
modules/deployer/trunk/deployer/src/main/deployer/dtd/portal-renderset_2_7.dtd
modules/deployer/trunk/deployer/src/main/deployer/dtd/portal-theme_2_7.dtd
Removed:
modules/deployer/trunk/deployer/src/main/java/
Modified:
modules/deployer/trunk/build/pom.xml
modules/deployer/trunk/deployer/pom.xml
modules/deployer/trunk/deployer/src/assemble/jboss-portal-deployer-components.xml
modules/deployer/trunk/deployer/src/assemble/jboss-portal-deployer.xml
modules/deployer/trunk/deployer/src/main/deployer/META-INF/deployer-jboss-beans.xml
Log:
Remove code from main deployer module into submodules.
Add theme dtd files to the deployer.
Modified: modules/deployer/trunk/build/pom.xml
===================================================================
--- modules/deployer/trunk/build/pom.xml 2009-03-27 20:54:55 UTC (rev 13095)
+++ modules/deployer/trunk/build/pom.xml 2009-03-27 20:58:26 UTC (rev 13096)
@@ -52,15 +52,7 @@
</releases>
</repository>
</repositories>
-<!-- <pluginRepositories>
- <pluginRepository>
- <id>maven.jboss.org</id>
- <name>JBoss Maven Repository</name>
- <
url>http://repository.jboss.com/maven2</url>
- </pluginRepository>
- </pluginRepositories> -->
-
<build>
<plugins>
<plugin>
@@ -101,41 +93,11 @@
<artifactId>metadata-metadata</artifactId>
<version>${version.jboss.portal.metadata}</version>
</dependency>
-<!-- <dependency>
- <groupId>org.jboss.portal.web</groupId>
- <artifactId>web-web</artifactId>
- <version>${version.jboss.portal.web}</version>
- </dependency>
<dependency>
- <groupId>org.jboss.portal.portlet</groupId>
- <artifactId>portlet-portlet</artifactId>
- <version>${version.jboss.portal.portlet}</version>
+ <groupId>org.jboss.portal.metadata</groupId>
+ <artifactId>metadata-theme</artifactId>
+ <version>${version.jboss.portal.metadata}</version>
</dependency>
- <dependency>
- <groupId>org.jboss.portal.portlet</groupId>
- <artifactId>portlet-mc</artifactId>
- <version>${version.jboss.portal.portlet}</version>
- </dependency>
- <dependency>
- <groupId>org.jboss.portal.core</groupId>
- <artifactId>server</artifactId>
- <version>${version.jboss.portal.server}</version>
- </dependency>
- <dependency>
- <groupId>org.jboss.portal.server</groupId>
- <artifactId>portlet-server</artifactId>
- <version>${version.jboss.portlet.server}</version>
- </dependency>
- <dependency>
- <groupId>org.jboss.portal.core</groupId>
- <artifactId>core</artifactId>
- <version>${version.jboss.portal.server}</version>
- </dependency>
- <dependency>
- <groupId>org.jboss.portal.core</groupId>
- <artifactId>security</artifactId>
- <version>${version.jboss.portal.server}</version>
- </dependency> -->
<dependency>
<groupId>org.jboss.maven.plugins</groupId>
Modified: modules/deployer/trunk/deployer/pom.xml
===================================================================
--- modules/deployer/trunk/deployer/pom.xml 2009-03-27 20:54:55 UTC (rev 13095)
+++ modules/deployer/trunk/deployer/pom.xml 2009-03-27 20:58:26 UTC (rev 13096)
@@ -8,88 +8,33 @@
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>deployer-deployer</artifactId>
- <packaging>jar</packaging>
+ <packaging>pom</packaging>
<name>JBoss Portal Modules Deployer</name>
<dependencies>
-
<dependency>
- <groupId>org.jboss.deployers</groupId>
- <artifactId>jboss-deployers-spi</artifactId>
- <scope>provided</scope>
+ <groupId>org.jboss.portal.deployer</groupId>
+ <artifactId>deployer-portal</artifactId>
+ <version>${project.version}</version>
</dependency>
<dependency>
- <groupId>org.jboss.deployers</groupId>
- <artifactId>jboss-deployers-vfs</artifactId>
- <scope>provided</scope>
+ <groupId>org.jboss.portal.deployer</groupId>
+ <artifactId>deployer-portlet</artifactId>
+ <version>${project.version}</version>
</dependency>
<dependency>
- <groupId>org.jboss.metadata</groupId>
- <artifactId>jboss-metadata</artifactId>
- <scope>provided</scope>
+ <groupId>org.jboss.portal.deployer</groupId>
+ <artifactId>deployer-theme</artifactId>
+ <version>${project.version}</version>
</dependency>
<dependency>
- <groupId>org.jboss.jbossas</groupId>
- <artifactId>jboss-as-server</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>saxon</groupId>
- <artifactId>saxon</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
<groupId>org.jboss.portal.metadata</groupId>
<artifactId>metadata-metadata</artifactId>
</dependency>
-<!-- <dependency>
- <groupId>org.jboss.portal.web</groupId>
- <artifactId>web-web</artifactId>
- </dependency>
<dependency>
- <groupId>org.jboss.portal.portlet</groupId>
- <artifactId>portlet-portlet</artifactId>
+ <groupId>org.jboss.portal.metadata</groupId>
+ <artifactId>metadata-theme</artifactId>
</dependency>
- <dependency>
- <groupId>org.jboss.portal.portlet</groupId>
- <artifactId>portlet-mc</artifactId>
- </dependency>
- <dependency>
- <groupId>org.jboss.portal.core</groupId>
- <artifactId>server</artifactId>
- </dependency>
- <dependency>
- <groupId>org.jboss.portal.server</groupId>
- <artifactId>portlet-server</artifactId>
- </dependency>
- <dependency>
- <groupId>org.jboss.portal.core</groupId>
- <artifactId>core</artifactId>
- </dependency>
- <dependency>
- <groupId>org.jboss.portal.core</groupId>
- <artifactId>security</artifactId>
- </dependency>
-
-
- <dependency>
- <groupId>org.jboss.portal</groupId>
- <artifactId>test</artifactId>
- <version>0.0</version>
- <scope>provided</scope>
- </dependency> -->
-
- <dependency>
- <groupId>org.jboss.aspects</groupId>
- <artifactId>jboss-security-aspects</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.aspects</groupId>
- <artifactId>jboss-transaction-aspects</artifactId>
- <scope>provided</scope>
- </dependency>
-
</dependencies>
<build>
@@ -118,7 +63,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
- <!-- <version>${version.assembly}</version> -->
<configuration>
<finalName>jboss-portal.deployer</finalName>
<descriptors>
@@ -135,45 +79,6 @@
</execution>
</executions>
</plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <version>2.2</version>
- <configuration>
- <excludes>
- <exclude>**/base-aop.xml</exclude>
- <exclude>**/deployment-aop.xml</exclude>
- </excludes>
- </configuration>
- </plugin>
-<!--
- <plugin>
- <groupId>org.jboss.maven.plugins</groupId>
- <artifactId>maven-jbossaop-plugin</artifactId>
- <version>${version.jboss.aop}</version>
- <executions>
- <execution>
- <id>compile</id>
- <configuration>
- <includeProjectDependency>true</includeProjectDependency>
- <aoppaths>
- <aoppath>src/main/resources/base-aop.xml</aoppath>
- <aoppath>src/main/resources/deployment-aop.xml</aoppath>
- </aoppaths>
- <includes>
-
<include>org/jboss/portal/deployer/portlet/InstanceDeployerImpl.class</include>
- </includes>
- </configuration>
- <goals>
- <goal>compile</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
--->
- </plugins>
-
-
+ </plugins>
</build>
</project>
Modified:
modules/deployer/trunk/deployer/src/assemble/jboss-portal-deployer-components.xml
===================================================================
---
modules/deployer/trunk/deployer/src/assemble/jboss-portal-deployer-components.xml 2009-03-27
20:54:55 UTC (rev 13095)
+++
modules/deployer/trunk/deployer/src/assemble/jboss-portal-deployer-components.xml 2009-03-27
20:58:26 UTC (rev 13096)
@@ -7,12 +7,5 @@
</fileSet>
</fileSets>
- <files>
- <file>
- <source>src/main/resources/deployment-aop.xml</source>
- <outputDirectory>/</outputDirectory>
- </file>
- </files>
-
</component>
Modified: modules/deployer/trunk/deployer/src/assemble/jboss-portal-deployer.xml
===================================================================
--- modules/deployer/trunk/deployer/src/assemble/jboss-portal-deployer.xml 2009-03-27
20:54:55 UTC (rev 13095)
+++ modules/deployer/trunk/deployer/src/assemble/jboss-portal-deployer.xml 2009-03-27
20:58:26 UTC (rev 13096)
@@ -14,18 +14,11 @@
<outputDirectory>/</outputDirectory>
<useProjectArtifact>true</useProjectArtifact>
<includes>
- <include>org.jboss.portal.deployer:deployer-deployer</include>
+ <include>org.jboss.portal.deployer:deployer-portal</include>
+ <include>org.jboss.portal.deployer:deployer-portlet</include>
+ <include>org.jboss.portal.deployer:deployer-theme</include>
<include>org.jboss.portal.metadata:metadata-metadata</include>
- <include>org.jboss.portal.common:common-common</include>
- <include>org.jboss.portal.common:common-portal</include>
- <include>org.jboss.portal.web:web-web</include>
- <include>org.jboss.portal.portlet:portlet-portlet</include>
- <include>org.jboss.portal.portlet:portlet-mc</include>
- <include>org.jboss.portal.server:server-server</include>
- <include>org.jboss.portal.server:portlet-server</include>
- <include>javax.ccpp:ccpp</include>
- <include>javax.portlet:portlet-api</include>
-
+ <include>org.jboss.portal.metadata:metadata-theme</include>
</includes>
</dependencySet>
<dependencySet>
Modified:
modules/deployer/trunk/deployer/src/main/deployer/META-INF/deployer-jboss-beans.xml
===================================================================
---
modules/deployer/trunk/deployer/src/main/deployer/META-INF/deployer-jboss-beans.xml 2009-03-27
20:54:55 UTC (rev 13095)
+++
modules/deployer/trunk/deployer/src/main/deployer/META-INF/deployer-jboss-beans.xml 2009-03-27
20:58:26 UTC (rev 13096)
@@ -11,7 +11,7 @@
*********************************************************************************************************************
-->
<!-- portal custom dtd's -->
- <bean name="PortalEntityResolver"
class="org.jboss.portal.deployer.PortalEntityResolver">
+ <bean name="PortalEntityResolver"
class="org.jboss.portal.deployer.portal.PortalEntityResolver">
<property name="DTDMapping">
<map class="java.util.Properties"
keyClass="java.lang.String" valueClass="java.lang.String">
<entry>
@@ -34,12 +34,24 @@
<key>-//JBoss Portal//DTD Portal Object 2.6//EN</key>
<value>dtd/portal-object_2_6.dtd</value>
</entry>
+ <entry>
+ <key>-//JBoss Portal//DTD JBoss Portal Theme 2.8//EN</key>
+ <value>dtd/portal-theme_2_7.dtd</value>
+ </entry>
+ <entry>
+ <key>-//JBoss Portal//DTD JBoss Portal Layout 2.8//EN</key>
+ <value>dtd/portal-layouts_2_7.dtd</value>
+ </entry>
+ <entry>
+ <key>-//JBoss Portal//DTD JBoss Portal RenderSet 2.8//EN</key>
+ <value>dtd/portal-rendersets_2_7.dtd</value>
+ </entry>
</map>
</property>
</bean>
- <bean name="PortalResolverFactory"
class="org.jboss.portal.deployer.PortalResolverFactory">
- <constructor
factoryClass="org.jboss.portal.deployer.PortalResolverFactory"
factoryMethod="getInstance"/>
+ <bean name="PortalResolverFactory"
class="org.jboss.portal.deployer.portal.PortalResolverFactory">
+ <constructor
factoryClass="org.jboss.portal.deployer.portal.PortalResolverFactory"
factoryMethod="getInstance"/>
<property name="DTDMapping">
<map class="java.util.Properties"
keyClass="java.lang.String" valueClass="java.lang.String">
<entry>
@@ -58,6 +70,30 @@
<key>jboss-portlet_2_6.dtd</key>
<value>org.jboss.portal.metadata.jboss.portlet.JBossPortletAppMetaData</value>
</entry>
+ <entry>
+ <key>themes</key>
+
<value>org.jboss.portal.metadata.theme.PortalThemesMetaData</value>
+ </entry>
+ <entry>
+ <key>portal-theme_2_7.dtd</key>
+
<value>org.jboss.portal.metadata.theme.PortalThemesMetaData</value>
+ </entry>
+ <entry>
+ <key>layouts</key>
+
<value>org.jboss.portal.metadata.layout.PortalLayoutsMetaData</value>
+ </entry>
+ <entry>
+ <key>portal-layout_2_7.dtd</key>
+
<value>org.jboss.portal.metadata.layout.PortalLayoutsMetaData</value>
+ </entry>
+ <entry>
+ <key>portal-renderSet</key>
+
<value>org.jboss.portal.metadata.renderset.PortalRenderSetsMetaData</value>
+ </entry>
+ <entry>
+ <key>portal-renderset_2_7.dtd</key>
+
<value>org.jboss.portal.metadata.renderset.PortalRenderSetsMetaData</value>
+ </entry>
</map>
</property>
<property name="XSDMapping">
@@ -74,8 +110,8 @@
</property>
</bean>
- <bean name="PortalUnmarshallerFactory"
class="org.jboss.portal.deployer.PortalUnmarshallerFactory">
- <constructor
factoryClass="org.jboss.portal.deployer.PortalUnmarshallerFactory"
factoryMethod="getInstance"/>
+ <bean name="PortalUnmarshallerFactory"
class="org.jboss.portal.deployer.portal.PortalUnmarshallerFactory">
+ <constructor
factoryClass="org.jboss.portal.deployer.portal.PortalUnmarshallerFactory"
factoryMethod="getInstance"/>
<property name="entityResolver"><inject
bean="PortalEntityResolver"/></property>
</bean>
@@ -104,6 +140,15 @@
<!-- portlet.xml parsing -->
<bean name="PortletParsingDeployer"
class="org.jboss.portal.deployer.parsing.PortletParsingDeployer"/>
+ <!-- *-themes.xml parsing -->
+ <bean name="PortletThemeParsingDeployer"
class="org.jboss.portal.deployer.theme.parsing.PortalThemeParsingDeployer"/>
+
+ <!-- *-layouts.xml parsing -->
+ <bean name="PortalLayoutParsingDeployer"
class="org.jboss.portal.deployer.theme.parsing.PortalLayoutParsingDeployer"/>
+
+ <!-- *-renderSet.xml parsing -->
+ <bean name="PortalRenderSetParsingDeployer"
class="org.jboss.portal.deployer.theme.parsing.PortalRenderSetParsingDeployer"/>
+
<bean name="MergedPortletParsingDeployer"
class="org.jboss.portal.deployer.parsing.MergedPortletParsingDeployer">
<property
name="standardPortletFileLocation">conf/standardjboss-portlet.xml</property>
</bean>
@@ -125,10 +170,10 @@
</bean>
<!-- Used to get information from the WarDeployer-->
- <bean name="PortalWebAppDeployer"
class="org.jboss.portal.deployer.webapp.WebAppDeployer">
+ <bean name="PortalWebAppDeployer"
class="org.jboss.portal.deployer.portal.webapp.WebAppDeployer">
<property name="warDeployer"><inject
bean="WarDeployer"/></property>
</bean>
- <bean name="PortalWebAppContextDeployer"
class="org.jboss.portal.deployer.webapp.WebAppContextDeployer">
+ <bean name="PortalWebAppContextDeployer"
class="org.jboss.portal.deployer.portal.webapp.WebAppContextDeployer">
<property name="MBeanServer"><inject bean="JMXKernel"
property="mbeanServer"/></property>
</bean>
<bean name="PortletTLDDeployer"
class="org.jboss.portal.deployer.portlet.PortletTLDDeployer">
@@ -150,4 +195,10 @@
<bean name="PortalObjectDeployer"
class="org.jboss.portal.deployer.portlet.ObjectDeployer"/>
+ <bean name="ThemeDeployer"
class="org.jboss.portal.deployer.theme.ThemeDeployer"/>
+
+ <bean name="LayoutDeployer"
class="org.jboss.portal.deployer.theme.LayoutDeployer"/>
+
+ <bean name="RenderSetDeployer"
class="org.jboss.portal.deployer.theme.RenderSetDeployer"/>
+
</deployment>
Added: modules/deployer/trunk/deployer/src/main/deployer/dtd/portal-layouts_2_7.dtd
===================================================================
--- modules/deployer/trunk/deployer/src/main/deployer/dtd/portal-layouts_2_7.dtd
(rev 0)
+++
modules/deployer/trunk/deployer/src/main/deployer/dtd/portal-layouts_2_7.dtd 2009-03-27
20:58:26 UTC (rev 13096)
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ ~ JBoss, a division of Red Hat ~
+ ~ Copyright 2006, Red Hat Middleware, LLC, and individual ~
+ ~ contributors as indicated by the @authors tag. See the ~
+ ~ copyright.txt in the distribution for a full listing of ~
+ ~ individual contributors. ~
+ ~ ~
+ ~ This is free software; you can redistribute it and/or modify it ~
+ ~ under the terms of the GNU Lesser General Public License as ~
+ ~ published by the Free Software Foundation; either version 2.1 of ~
+ ~ the License, or (at your option) any later version. ~
+ ~ ~
+ ~ This software is distributed in the hope that it will be useful, ~
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of ~
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ~
+ ~ Lesser General Public License for more details. ~
+ ~ ~
+ ~ You should have received a copy of the GNU Lesser General Public ~
+ ~ License along with this software; if not, write to the Free ~
+ ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA ~
+ ~ 02110-1301 USA, or see the FSF site:
http://www.fsf.org. ~
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<!--
+<!DOCTYPE identity-configuration PUBLIC
+ "-//JBoss Portal//DTD JBoss Portal 2.8//EN"
+ "http://www.jboss.org/portal/dtd/portal-theme-layouts_2_7.dtd">
+-->
+
+<!ELEMENT layouts (layout*) >
+
+<!ELEMENT layout (name, layout-implementation?, uri*, regions) >
+
+<!ELEMENT name (#PCDATA) >
+
+<!ELEMENT layout-implementation (#PCDATA) >
+
+<!ELEMENT uri (#PCDATA) >
+<!ATTLIST uri state CDATA #IMPLIED >
+
+<!ELEMENT regions (region*) >
+
+<!ELEMENT region EMPTY >
+<!ATTLIST region name CDATA #REQUIRED >
Added: modules/deployer/trunk/deployer/src/main/deployer/dtd/portal-renderset_2_7.dtd
===================================================================
--- modules/deployer/trunk/deployer/src/main/deployer/dtd/portal-renderset_2_7.dtd
(rev 0)
+++
modules/deployer/trunk/deployer/src/main/deployer/dtd/portal-renderset_2_7.dtd 2009-03-27
20:58:26 UTC (rev 13096)
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ ~ JBoss, a division of Red Hat ~
+ ~ Copyright 2006, Red Hat Middleware, LLC, and individual ~
+ ~ contributors as indicated by the @authors tag. See the ~
+ ~ copyright.txt in the distribution for a full listing of ~
+ ~ individual contributors. ~
+ ~ ~
+ ~ This is free software; you can redistribute it and/or modify it ~
+ ~ under the terms of the GNU Lesser General Public License as ~
+ ~ published by the Free Software Foundation; either version 2.1 of ~
+ ~ the License, or (at your option) any later version. ~
+ ~ ~
+ ~ This software is distributed in the hope that it will be useful, ~
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of ~
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ~
+ ~ Lesser General Public License for more details. ~
+ ~ ~
+ ~ You should have received a copy of the GNU Lesser General Public ~
+ ~ License along with this software; if not, write to the Free ~
+ ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA ~
+ ~ 02110-1301 USA, or see the FSF site:
http://www.fsf.org. ~
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<!--
+<!DOCTYPE portal-renderSet PUBLIC
+ "-//JBoss Portal//DTD JBoss Portal RenderSet 2.8//EN"
+ "http://www.jboss.org/portal/dtd/portal-theme-renderset_2_7.dtd">
+-->
+
+<!ELEMENT portal-renderSet (renderSet*) >
+
+<!ELEMENT renderSet (set*) >
+<!ATTLIST renderSet name CDATA #REQUIRED >
+
+<!ELEMENT set (ajax-enabled, region-renderer, window-renderer, portlet-renderer,
decoration-renderer) >
+<!ATTLIST set content-type CDATA
+
+<!ELEMENT ajax-enabled (#PCDATA) >
+<!ELEMENT region-renderer (#PCDATA) >
+<!ELEMENT window-renderer (#PCDATA) >
+<!ELEMENT portlet-renderer (#PCDATA) >
+<!ELEMENT decoration-renderer (#PCDATA) >
Added: modules/deployer/trunk/deployer/src/main/deployer/dtd/portal-theme_2_7.dtd
===================================================================
--- modules/deployer/trunk/deployer/src/main/deployer/dtd/portal-theme_2_7.dtd
(rev 0)
+++ modules/deployer/trunk/deployer/src/main/deployer/dtd/portal-theme_2_7.dtd 2009-03-27
20:58:26 UTC (rev 13096)
@@ -0,0 +1,72 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ ~ JBoss, a division of Red Hat ~
+ ~ Copyright 2006, Red Hat Middleware, LLC, and individual ~
+ ~ contributors as indicated by the @authors tag. See the ~
+ ~ copyright.txt in the distribution for a full listing of ~
+ ~ individual contributors. ~
+ ~ ~
+ ~ This is free software; you can redistribute it and/or modify it ~
+ ~ under the terms of the GNU Lesser General Public License as ~
+ ~ published by the Free Software Foundation; either version 2.1 of ~
+ ~ the License, or (at your option) any later version. ~
+ ~ ~
+ ~ This software is distributed in the hope that it will be useful, ~
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of ~
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ~
+ ~ Lesser General Public License for more details. ~
+ ~ ~
+ ~ You should have received a copy of the GNU Lesser General Public ~
+ ~ License along with this software; if not, write to the Free ~
+ ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA ~
+ ~ 02110-1301 USA, or see the FSF site:
http://www.fsf.org. ~
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<!--
+<!DOCTYPE themes PUBLIC
+ "-//JBoss Portal//DTD JBoss Portal Theme 2.8//EN"
+ "http://www.jboss.org/portal/dtd/portal-theme_2_7.dtd">
+-->
+
+<!--
+-->
+<!ELEMENT themes (theme*) >
+
+<!--
+-->
+<!ELEMENT theme (name?, link*, script*, theme-implementation?)>
+
+<!--
+-->
+<!ELEMENT name (#PCDATA) >
+
+<!--
+-->
+<!ELEMENT theme-implementation (#PCDATA) >
+
+<!--
+-->
+<!ATTLIST script
+ id CDATA #IMPLIED
+ src CDATA #IMPLIED
+ type CDATA #IMPLIED
+ charset CDATA #IMPLIED >
+
+<!--
+-->
+<!ELEMENT script (#CDATA) >
+
+<!--
+-->
+<!ATTLIST link
+ id CDATA #IMPLIED
+ title CDATA #IMPLIED
+ type CDATA #IMPLIED
+ href CDATA #IMPLIED
+ media CDATA #IMPLIED
+ rel CDATA #IMPLIED >
+
+<!--
+-->
+<!ELEMENT link EMPTY >