r1506 - in xwiki/trunk: . web/exo/src/main/webapp/WEB-INF

Vincent Massol vmassol at users.forge.objectweb.org
Fri Nov 3 15:07:47 CET 2006


Author: vmassol
Date: 2006-11-03 15:07:46 +0100 (Fri, 03 Nov 2006)
New Revision: 1506

Added:
   xwiki/trunk/web/exo/src/main/webapp/WEB-INF/web.xml
Removed:
   xwiki/trunk/web/exo/src/main/webapp/WEB-INF/web-exo.xml
Modified:
   xwiki/trunk/build.xml
Log:
XWIKI-12: Reorganize directory structure to match Maven2 best practices and cleanup build

* Renamed web-exo.xml in web.xml as this is the target name that we need for Maven2's build.


Modified: xwiki/trunk/build.xml
===================================================================
--- xwiki/trunk/build.xml	2006-11-03 14:04:53 UTC (rev 1505)
+++ xwiki/trunk/build.xml	2006-11-03 14:07:46 UTC (rev 1506)
@@ -498,7 +498,7 @@
       </war>
       <copy file="${build.dir}/web/WEB-INF/xwiki.cfg" tofile="${build.dir}/web/WEB-INF/xwiki-normal.cfg" overwrite="true" />
       <copy file="${build.dir}/web/WEB-INF/xwiki-exo.cfg" tofile="${build.dir}/web/WEB-INF/xwiki.cfg" overwrite="true" />
-      <war warfile="${exo.warfile}" basedir="${build.dir}/web" webxml="${web.exo.webapp.main.src.dir}/WEB-INF/web-exo.xml" >
+      <war warfile="${exo.warfile}" basedir="${build.dir}/web" webxml="${web.exo.webapp.main.src.dir}/WEB-INF/web.xml" >
         <exclude name="**/web*.xml" />
         <exclude name="**/xwiki-*.cfg" />
           <lib refid="libs.main.fileset" />

Deleted: xwiki/trunk/web/exo/src/main/webapp/WEB-INF/web-exo.xml
===================================================================
--- xwiki/trunk/web/exo/src/main/webapp/WEB-INF/web-exo.xml	2006-11-03 14:04:53 UTC (rev 1505)
+++ xwiki/trunk/web/exo/src/main/webapp/WEB-INF/web-exo.xml	2006-11-03 14:07:46 UTC (rev 1506)
@@ -1,159 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-
-<!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>xwiki</display-name>
-    <description>This application is a servlet and a portlet</description>
-
-    <filter>
-        <filter-name>ExoFilter</filter-name>
-        <filter-class>com.xpn.xwiki.user.impl.exo.ExoFilter</filter-class>
-    </filter>
-
-    <filter>
-            <filter-name>Set Character Encoding</filter-name>
-            <filter-class>com.xpn.xwiki.web.SetCharacterEncodingFilter</filter-class>
-            <init-param>
-                <param-name>encoding</param-name>
-                <param-value>ISO-8859-1</param-value>
-            </init-param>
-   </filter>
-
-      <filter-mapping>
-            <filter-name>Set Character Encoding</filter-name>
-            <url-pattern>/*</url-pattern>
-      </filter-mapping>
-
-
-    <filter-mapping>
-        <filter-name>ExoFilter</filter-name>
-        <url-pattern>/*</url-pattern>
-    </filter-mapping>
-
-    <listener>
-        <listener-class>org.exoplatform.services.portletcontainer.impl.servlet.PortletApplicationListener</listener-class>
-    </listener>
-
-    <servlet>
-        <servlet-name>PortletWrapper</servlet-name>
-        <servlet-class>org.exoplatform.services.portletcontainer.impl.servlet.ServletWrapper</servlet-class>
-    </servlet>
-
-
-    <servlet>
-        <servlet-name>action</servlet-name>
-        <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
-        <init-param>
-            <param-name>application</param-name>
-            <param-value>ApplicationResources</param-value>
-        </init-param>
-        <init-param>
-            <param-name>xwiki</param-name>
-            <param-value>com.xpn.xwiki.XWiki</param-value>
-        </init-param>
-        <init-param>
-            <param-name>config</param-name>
-            <param-value>/WEB-INF/struts-config.xml</param-value>
-        </init-param>
-        <init-param>
-            <param-name>debug</param-name>
-            <param-value>2</param-value>
-        </init-param>
-        <init-param>
-            <param-name>detail</param-name>
-            <param-value>2</param-value>
-        </init-param>
-        <init-param>
-            <param-name>validate</param-name>
-            <param-value>true</param-value>
-        </init-param>
-        <load-on-startup>2</load-on-startup>
-    </servlet>
-
-
-    <servlet>
-        <servlet-name>velocity</servlet-name>
-        <servlet-class>org.apache.velocity.tools.view.servlet.VelocityViewServlet</servlet-class>
-
-        <init-param>
-            <param-name>org.apache.velocity.toolbox</param-name>
-            <param-value>/WEB-INF/toolbox.xml</param-value>
-        </init-param>
-
-        <init-param>
-            <param-name>org.apache.velocity.properties</param-name>
-            <param-value>/WEB-INF/velocity.properties</param-value>
-        </init-param>
-
-        <load-on-startup>10</load-on-startup>
-    </servlet>
-
-    <servlet-mapping>
-        <servlet-name>action</servlet-name>
-        <url-pattern>/bin/*</url-pattern>
-    </servlet-mapping>
-
-    <servlet-mapping>
-        <servlet-name>action</servlet-name>
-        <url-pattern>/testbin/*</url-pattern>
-    </servlet-mapping>
-
-    <servlet-mapping>
-        <servlet-name>PortletWrapper</servlet-name>
-        <url-pattern>/PortletWrapper</url-pattern>
-    </servlet-mapping>
-
-    <servlet-mapping>
-        <servlet-name>action</servlet-name>
-        <url-pattern>/xwiki/*</url-pattern>
-    </servlet-mapping>
-
-    <!--
-    <error-page>
-      <error-code>500</error-code>
-      <location>/error.jsp</location>
-    </error-page>
-    <error-page>
-      <error-code>404</error-code>
-      <location>/error.jsp</location>
-    </error-page>
-    -->
-
-    <!-- The Usual Welcome File List -->
-    <welcome-file-list>
-        <welcome-file>index.html</welcome-file>
-    </welcome-file-list>
-
-    <!-- Example Application Tag Library Descriptor
-<taglib>
-<taglib-uri>/WEB-INF/app.tld</taglib-uri>
-<taglib-location>/WEB-INF/app.tld</taglib-location>
-</taglib>
-  -->
-
-    <!-- Struts Tag Library Descriptors -->
-    <taglib>
-        <taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>
-        <taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
-    </taglib>
-
-    <taglib>
-        <taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
-        <taglib-location>/WEB-INF/struts-html.tld</taglib-location>
-    </taglib>
-
-    <taglib>
-        <taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri>
-        <taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
-    </taglib>
-    <env-entry>
-        <env-entry-name>XWikiConfig</env-entry-name>
-        <env-entry-value>/WEB-INF/xwiki.cfg</env-entry-value>
-        <env-entry-type>java.lang.String</env-entry-type>
-    </env-entry>
-
-
-</web-app>

Copied: xwiki/trunk/web/exo/src/main/webapp/WEB-INF/web.xml (from rev 1505, xwiki/trunk/web/exo/src/main/webapp/WEB-INF/web-exo.xml)
===================================================================
--- xwiki/trunk/web/exo/src/main/webapp/WEB-INF/web-exo.xml	2006-11-03 14:04:53 UTC (rev 1505)
+++ xwiki/trunk/web/exo/src/main/webapp/WEB-INF/web.xml	2006-11-03 14:07:46 UTC (rev 1506)
@@ -0,0 +1,159 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<!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>xwiki</display-name>
+    <description>This application is a servlet and a portlet</description>
+
+    <filter>
+        <filter-name>ExoFilter</filter-name>
+        <filter-class>com.xpn.xwiki.user.impl.exo.ExoFilter</filter-class>
+    </filter>
+
+    <filter>
+            <filter-name>Set Character Encoding</filter-name>
+            <filter-class>com.xpn.xwiki.web.SetCharacterEncodingFilter</filter-class>
+            <init-param>
+                <param-name>encoding</param-name>
+                <param-value>ISO-8859-1</param-value>
+            </init-param>
+   </filter>
+
+      <filter-mapping>
+            <filter-name>Set Character Encoding</filter-name>
+            <url-pattern>/*</url-pattern>
+      </filter-mapping>
+
+
+    <filter-mapping>
+        <filter-name>ExoFilter</filter-name>
+        <url-pattern>/*</url-pattern>
+    </filter-mapping>
+
+    <listener>
+        <listener-class>org.exoplatform.services.portletcontainer.impl.servlet.PortletApplicationListener</listener-class>
+    </listener>
+
+    <servlet>
+        <servlet-name>PortletWrapper</servlet-name>
+        <servlet-class>org.exoplatform.services.portletcontainer.impl.servlet.ServletWrapper</servlet-class>
+    </servlet>
+
+
+    <servlet>
+        <servlet-name>action</servlet-name>
+        <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
+        <init-param>
+            <param-name>application</param-name>
+            <param-value>ApplicationResources</param-value>
+        </init-param>
+        <init-param>
+            <param-name>xwiki</param-name>
+            <param-value>com.xpn.xwiki.XWiki</param-value>
+        </init-param>
+        <init-param>
+            <param-name>config</param-name>
+            <param-value>/WEB-INF/struts-config.xml</param-value>
+        </init-param>
+        <init-param>
+            <param-name>debug</param-name>
+            <param-value>2</param-value>
+        </init-param>
+        <init-param>
+            <param-name>detail</param-name>
+            <param-value>2</param-value>
+        </init-param>
+        <init-param>
+            <param-name>validate</param-name>
+            <param-value>true</param-value>
+        </init-param>
+        <load-on-startup>2</load-on-startup>
+    </servlet>
+
+
+    <servlet>
+        <servlet-name>velocity</servlet-name>
+        <servlet-class>org.apache.velocity.tools.view.servlet.VelocityViewServlet</servlet-class>
+
+        <init-param>
+            <param-name>org.apache.velocity.toolbox</param-name>
+            <param-value>/WEB-INF/toolbox.xml</param-value>
+        </init-param>
+
+        <init-param>
+            <param-name>org.apache.velocity.properties</param-name>
+            <param-value>/WEB-INF/velocity.properties</param-value>
+        </init-param>
+
+        <load-on-startup>10</load-on-startup>
+    </servlet>
+
+    <servlet-mapping>
+        <servlet-name>action</servlet-name>
+        <url-pattern>/bin/*</url-pattern>
+    </servlet-mapping>
+
+    <servlet-mapping>
+        <servlet-name>action</servlet-name>
+        <url-pattern>/testbin/*</url-pattern>
+    </servlet-mapping>
+
+    <servlet-mapping>
+        <servlet-name>PortletWrapper</servlet-name>
+        <url-pattern>/PortletWrapper</url-pattern>
+    </servlet-mapping>
+
+    <servlet-mapping>
+        <servlet-name>action</servlet-name>
+        <url-pattern>/xwiki/*</url-pattern>
+    </servlet-mapping>
+
+    <!--
+    <error-page>
+      <error-code>500</error-code>
+      <location>/error.jsp</location>
+    </error-page>
+    <error-page>
+      <error-code>404</error-code>
+      <location>/error.jsp</location>
+    </error-page>
+    -->
+
+    <!-- The Usual Welcome File List -->
+    <welcome-file-list>
+        <welcome-file>index.html</welcome-file>
+    </welcome-file-list>
+
+    <!-- Example Application Tag Library Descriptor
+<taglib>
+<taglib-uri>/WEB-INF/app.tld</taglib-uri>
+<taglib-location>/WEB-INF/app.tld</taglib-location>
+</taglib>
+  -->
+
+    <!-- Struts Tag Library Descriptors -->
+    <taglib>
+        <taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>
+        <taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
+    </taglib>
+
+    <taglib>
+        <taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
+        <taglib-location>/WEB-INF/struts-html.tld</taglib-location>
+    </taglib>
+
+    <taglib>
+        <taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri>
+        <taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
+    </taglib>
+    <env-entry>
+        <env-entry-name>XWikiConfig</env-entry-name>
+        <env-entry-value>/WEB-INF/xwiki.cfg</env-entry-value>
+        <env-entry-type>java.lang.String</env-entry-type>
+    </env-entry>
+
+
+</web-app>


Property changes on: xwiki/trunk/web/exo/src/main/webapp/WEB-INF/web.xml
___________________________________________________________________
Name: svn:keywords
   + Author Date Id Revision
Name: svn:eol-style
   + native





More information about the Xwiki-notifications mailing list