manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From piergior...@apache.org
Subject svn commit: r1491531 - in /manifoldcf/trunk: build.xml test-materials/alfresco-4-war/pom.xml test-materials/alfresco-4-war/src/main/webapp/WEB-INF/faces-config-custom.xml test-materials/alfresco-4-war/src/main/webapp/WEB-INF/web.xml
Date Mon, 10 Jun 2013 17:09:01 GMT
Author: piergiorgio
Date: Mon Jun 10 17:09:01 2013
New Revision: 1491531

URL: http://svn.apache.org/r1491531
Log:
Alfresco Connector upgraded to the latest Community version: 4.2.c (CONNECTORS-635)

Added:
    manifoldcf/trunk/test-materials/alfresco-4-war/pom.xml   (with props)
    manifoldcf/trunk/test-materials/alfresco-4-war/src/main/webapp/WEB-INF/faces-config-custom.xml   (with props)
    manifoldcf/trunk/test-materials/alfresco-4-war/src/main/webapp/WEB-INF/web.xml   (with props)
Modified:
    manifoldcf/trunk/build.xml

Modified: manifoldcf/trunk/build.xml
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/build.xml?rev=1491531&r1=1491530&r2=1491531&view=diff
==============================================================================
--- manifoldcf/trunk/build.xml (original)
+++ manifoldcf/trunk/build.xml Mon Jun 10 17:09:01 2013
@@ -1342,7 +1342,7 @@
     </target>
 
     <target name="calculate-alfresco-testmaterials-condition" depends="calculate-alfresco-condition,build-alfresco-connector-testmaterials">
-        <available file="connectors/alfresco/build/alfresco-war" type="dir" property="alfresco-testmaterials.exists"/>
+        <available file="connectors/alfresco/build/alfresco-4-war" type="dir" property="alfresco-testmaterials.exists"/>
         <condition property="alfresco-testmaterials.include">
           <and>
               <isset property="alfresco-testmaterials.exists"/>

Added: manifoldcf/trunk/test-materials/alfresco-4-war/pom.xml
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/test-materials/alfresco-4-war/pom.xml?rev=1491531&view=auto
==============================================================================
--- manifoldcf/trunk/test-materials/alfresco-4-war/pom.xml (added)
+++ manifoldcf/trunk/test-materials/alfresco-4-war/pom.xml Mon Jun 10 17:09:01 2013
@@ -0,0 +1,140 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- 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. -->
+    
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+    <artifactId>alfresco-4-war</artifactId>
+    <version>1.3-SNAPSHOT</version>
+    <name>ManifoldCF - Test Materials - Alfresco WAR</name>
+    <description>Alfresco WAR builder</description>
+    <packaging>war</packaging>
+
+    <parent>
+        <groupId>org.apache.manifoldcf</groupId>
+        <artifactId>mcf-test-materials</artifactId>
+        <version>1.3-SNAPSHOT</version>
+    </parent>
+    
+    <properties>
+        <alfresco.groupId>org.alfresco</alfresco.groupId>
+        <alfresco.version>4.2.c</alfresco.version>
+        <app.log.root.level>WARN</app.log.root.level>
+        <alfresco.data.location>alf_data_dev</alfresco.data.location>
+        <!-- This controls which properties will be picked in src/test/properties for embedded run -->
+        <env>local</env>
+        <alfresco.db.name>alf_jetty</alfresco.db.name>
+        <alfresco.db.url>jdbc:h2:${alfresco.data.location}/h2_data/${alfresco.db.name}</alfresco.db.url>
+        <alfresco.db.driver>org.h2.Driver</alfresco.db.driver>
+        <alfresco.db.username>alfresco</alfresco.db.username>
+        <alfresco.db.password>alfresco</alfresco.db.password>
+        <alfresco.db.hibernate.dialect>org.hibernate.dialect.H2Dialect</alfresco.db.hibernate.dialect>
+    </properties>
+    
+    <!-- Here we realize the connection with the Alfresco selected platform (e.g.version and edition) -->
+   <dependencyManagement>
+     <dependencies>
+          <!-- This will import the dependencyManagement for all artifacts in the selected Alfresco plaftorm
+               (see http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#Importing_Dependencies)
+               NOTE: You still need to define dependencies in your POM, but you can omit version as it's enforced by this dependencyManagement.
+               NOTE: It defaults to the latest version this SDK pom has been tested with, but alfresco version can/should be overridden in your project's pom   
+           -->
+          <dependency>
+              <groupId>${alfresco.groupId}</groupId>
+              <artifactId>alfresco-platform-distribution</artifactId>
+              <version>${alfresco.version}</version>
+              <type>pom</type>
+              <scope>import</scope>
+          </dependency>
+     </dependencies>
+  </dependencyManagement>
+  
+    <!--
+    No more repos are needed since they will be inherited by the parent POM. 
+    This is needed to download the alfresco-plaftorm POM.
+    -->
+    <repositories>
+        <repository>
+            <id>alfresco-artifacts</id>
+            <url>https://artifacts.alfresco.com/nexus/content/groups/public</url>
+        </repository>
+        <repository>
+            <id>alfresco-artifacts-snapshots</id>
+            <url>https://artifacts.alfresco.com/nexus/content/groups/public-snapshots</url>
+        </repository>
+    </repositories>
+
+    <dependencies>
+        <dependency>
+            <groupId>${alfresco.groupId}</groupId>
+            <artifactId>alfresco</artifactId>
+            <type>war</type>
+        </dependency>
+        <dependency>
+		      <groupId>tk.skuro.alfresco</groupId>
+		      <artifactId>h2-support</artifactId>
+		      <version>1.5</version>
+		    </dependency>
+		    <dependency>
+		        <groupId>com.h2database</groupId>
+		        <artifactId>h2</artifactId>
+		        <version>1.3.172</version>
+		    </dependency>
+    </dependencies>
+
+    <build>
+        <finalName>alfresco</finalName>
+        <!--
+      In certain cases we do build time filtering with the single sourcing
+      alfresco-global.properties
+    -->
+    <filters>
+      <filter>src/main/properties/${env}/alfresco-global.properties</filter>
+    </filters>
+    
+    <resources>
+      <resource>
+        <directory>src/main/properties/${env}</directory>
+        <includes>
+          <include>alfresco-global.properties</include>
+        </includes>
+        <filtering>true</filtering>
+      </resource>
+    </resources>
+    
+        <plugins>
+            <plugin>
+                <artifactId>maven-war-plugin</artifactId>
+                <configuration>
+                    <!--  Here is can control the order of overlay of your (WAR, AMP, etc.) dependencies
+                        | NOTE: At least one WAR dependency must be uncompressed first
+                        | NOTE: In order to have a dependency effectively added to the WAR you need to 
+                        | explicitly mention it in the overlay section.
+                        | NOTE: First-win resource strategy is used by the WAR plugin
+                         -->
+                    <overlays>
+                        <!-- Current project customizations -->
+                        <overlay/>
+                        <!-- The Alfresco WAR -->
+                        <overlay>
+                            <groupId>${alfresco.groupId}</groupId>
+                            <artifactId>alfresco</artifactId>
+                            <type>war</type>
+                            <!-- To allow inclusion of META-INF -->
+                            <excludes/>
+                        </overlay>
+                    </overlays>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+</project>

Propchange: manifoldcf/trunk/test-materials/alfresco-4-war/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: manifoldcf/trunk/test-materials/alfresco-4-war/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: manifoldcf/trunk/test-materials/alfresco-4-war/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: manifoldcf/trunk/test-materials/alfresco-4-war/src/main/webapp/WEB-INF/faces-config-custom.xml
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/test-materials/alfresco-4-war/src/main/webapp/WEB-INF/faces-config-custom.xml?rev=1491531&view=auto
==============================================================================
--- manifoldcf/trunk/test-materials/alfresco-4-war/src/main/webapp/WEB-INF/faces-config-custom.xml (added)
+++ manifoldcf/trunk/test-materials/alfresco-4-war/src/main/webapp/WEB-INF/faces-config-custom.xml Mon Jun 10 17:09:01 2013
@@ -0,0 +1,33 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!--
+    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.
+    
+-->
+<!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
+                              "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
+<faces-config>
+	<!--
+		|
+		|  Insert here custom faces configurations like:
+		|  <managed-bean>
+		|  <navigation-rule>
+		|
+		|  This is loaded as part of the alfresco convention over configuration
+		-->
+
+
+</faces-config>
+

Propchange: manifoldcf/trunk/test-materials/alfresco-4-war/src/main/webapp/WEB-INF/faces-config-custom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: manifoldcf/trunk/test-materials/alfresco-4-war/src/main/webapp/WEB-INF/faces-config-custom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: manifoldcf/trunk/test-materials/alfresco-4-war/src/main/webapp/WEB-INF/faces-config-custom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: manifoldcf/trunk/test-materials/alfresco-4-war/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/test-materials/alfresco-4-war/src/main/webapp/WEB-INF/web.xml?rev=1491531&view=auto
==============================================================================
--- manifoldcf/trunk/test-materials/alfresco-4-war/src/main/webapp/WEB-INF/web.xml (added)
+++ manifoldcf/trunk/test-materials/alfresco-4-war/src/main/webapp/WEB-INF/web.xml Mon Jun 10 17:09:01 2013
@@ -0,0 +1,911 @@
+<?xml version='1.0' encoding='UTF-8'?>
+
+<!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>Alfresco Web Client</display-name>
+
+   <description>Alfresco Web Client</description>
+
+   <context-param>
+      <param-name>org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL</param-name>
+      <param-value>true</param-value>
+   </context-param>
+
+   <context-param>
+      <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
+      <param-value>server</param-value>
+   </context-param>
+
+   <context-param>
+      <param-name>javax.faces.PARTIAL_STATE_SAVING_METHOD</param-name>
+      <param-value>false</param-value>
+   </context-param>
+
+   <context-param>
+      <param-name>javax.faces.CONFIG_FILES</param-name>
+      <param-value>/WEB-INF/faces-config-app.xml,/WEB-INF/faces-config-beans.xml,/WEB-INF/faces-config-navigation.xml,/WEB-INF/faces-config-common.xml,/WEB-INF/faces-config-repo.xml,/WEB-INF/faces-config-wcm.xml,/WEB-INF/faces-config-custom.xml</param-value>
+   </context-param>
+
+   <context-param>
+      <param-name>org.apache.myfaces.ALLOW_JAVASCRIPT</param-name>
+      <param-value>true</param-value>
+   </context-param>
+
+   <context-param>
+      <param-name>org.apache.myfaces.DETECT_JAVASCRIPT</param-name>
+      <param-value>false</param-value>
+      <description>This is an EXPERIMENTAL feature, so leave it off for now!</description>
+   </context-param>
+
+   <context-param>
+      <param-name>org.apache.myfaces.SERIALIZE_STATE_IN_SESSION</param-name>
+      <param-value>false</param-value>
+      <description>Stop MyFaces from Serializing the state to the session</description>
+   </context-param>
+
+    <!-- TODO: Change this to false for production -->
+    <context-param>
+        <param-name>org.apache.myfaces.PRETTY_HTML</param-name>
+        <param-value>true</param-value>
+        <description>
+            If true, rendered HTML code will be formatted, so that it is "human readable".
+            i.e. additional line separators and whitespace will be written, that do not
+            influence the HTML code.
+            Default: "true"
+        </description>
+    </context-param>
+
+    <context-param>
+        <param-name>org.apache.myfaces.AUTO_SCROLL</param-name>
+        <param-value>false</param-value>
+        <description>
+            If true, a javascript function will be rendered that is able to restore the
+            former vertical scroll on every request. Convenient feature if you have pages
+            with long lists and you do not want the browser page to always jump to the top
+            if you trigger a link or button action that stays on the same page.
+            Default: "false"
+        </description>
+    </context-param>
+
+   <!-- Spring Application Context location -->
+   <context-param>
+      <param-name>contextConfigLocation</param-name>
+      <param-value>/WEB-INF/web-application-context.xml</param-value>
+      <description>Spring config file location</description>
+   </context-param>
+   
+   <context-param>
+      <param-name>log4jExposeWebAppRoot</param-name>
+      <param-value>false</param-value>
+      <description>Do not try to resolve web app root as file</description>
+   </context-param>
+
+    <!--  These were previously init params for the WebDAV servlet,
+          but since they are also needed to MT-enable the 
+          ExternalAccess servlet, I have made them context wide. -->
+   <context-param>
+         <param-name>store</param-name>
+         <param-value>workspace://SpacesStore</param-value>
+   </context-param>
+   <context-param>
+         <param-name>rootPath</param-name>
+         <param-value>/app:company_home</param-value>
+   </context-param>
+
+   <context-param>
+      <param-name>org.apache.myfaces.ERROR_HANDLING</param-name>
+      <param-value>false</param-value>
+   </context-param>
+   
+   <!-- Activiti context param placeholder -->
+
+   <context-param> 
+      <param-name>com.ibm.ws.jsf.loadExternalDtd</param-name> 
+      <param-value>false</param-value> 
+      <description>Sets "http://apache.org/xml/features/nonvalidating/load-external-dtd" feature on the SAXParser to false if this parameter is false</description> 
+   </context-param>
+   
+   <filter>
+      <filter-name>Authentication Filter</filter-name>
+      <description>Authentication filter mapped only to faces URLs. Other URLs generally use proprietary means to talk to the AuthenticationComponent</description>
+      <filter-class>org.alfresco.repo.web.filter.beans.BeanProxyFilter</filter-class>
+      <init-param>
+         <param-name>beanName</param-name>
+         <param-value>AuthenticationFilter</param-value>
+      </init-param>
+   </filter>
+   
+   <filter>
+      <filter-name>Global Authentication Filter</filter-name>
+      <description>Authentication filter mapped to all authenticated URLs. Mainly for SSO support</description>
+      <filter-class>org.alfresco.repo.web.filter.beans.BeanProxyFilter</filter-class>
+      <init-param>
+         <param-name>beanName</param-name>
+         <param-value>GlobalAuthenticationFilter</param-value>
+      </init-param>
+   </filter>
+
+   <filter>
+      <filter-name>WebScript Authentication Filter</filter-name>
+      <description>Authentication filter mapped to web script URLs. Mainly for SSO support</description>
+      <filter-class>org.alfresco.repo.web.filter.beans.BeanProxyFilter</filter-class>
+      <init-param>
+         <param-name>beanName</param-name>
+         <param-value>WebscriptAuthenticationFilter</param-value>
+      </init-param>
+   </filter>
+   
+   <filter>
+      <filter-name>WebDAV Authentication Filter</filter-name>
+      <filter-class>org.alfresco.repo.web.filter.beans.BeanProxyFilter</filter-class>
+      <init-param>
+         <param-name>beanName</param-name>
+         <param-value>WebDavAuthenticationFilter</param-value>
+      </init-param>
+   </filter>
+
+   <filter>
+      <filter-name>Admin Authentication Filter</filter-name>
+      <filter-class>org.alfresco.web.app.servlet.AdminAuthenticationFilter</filter-class>
+   </filter>
+   
+   <filter>
+      <filter-name>CacheExpiresFilter</filter-name>
+      <description>Set HTTP cache Expires header 30 days forward for a mapping.</description>
+      <filter-class>org.alfresco.web.scripts.servlet.StaticAssetCacheFilter</filter-class>
+      <init-param>
+         <param-name>expires</param-name>
+         <param-value>30</param-value>
+         <description>Add an Expires Header 30 days forward</description>
+      </init-param>
+   </filter>
+
+   <filter>
+      <filter-name>Global Localization Filter</filter-name>
+      <description>Sets fallback default locale for ALL requests</description>
+      <filter-class>org.alfresco.web.app.servlet.GlobalLocalizationFilter</filter-class>
+   </filter>
+
+   <filter>
+      <filter-name>JSF Session Synchronized Filter</filter-name>
+      <filter-class>org.alfresco.repo.web.filter.beans.SessionSynchronizedFilter</filter-class>
+   </filter>
+
+   <filter-mapping>
+      <filter-name>Global Localization Filter</filter-name>
+      <url-pattern>/*</url-pattern>
+   </filter-mapping>
+
+   <filter-mapping>
+      <filter-name>Global Authentication Filter</filter-name>
+      <url-pattern>/navigate/*</url-pattern>
+   </filter-mapping>
+
+   <filter-mapping>
+      <filter-name>Global Authentication Filter</filter-name>
+      <url-pattern>/command/*</url-pattern>
+   </filter-mapping>
+
+   <filter-mapping>
+      <filter-name>Global Authentication Filter</filter-name>
+      <url-pattern>/download/*</url-pattern>
+   </filter-mapping>
+   
+   <filter-mapping>
+      <filter-name>Global Authentication Filter</filter-name>
+      <url-pattern>/template/*</url-pattern>
+   </filter-mapping>
+   
+   <filter-mapping>
+      <filter-name>Global Authentication Filter</filter-name>
+      <url-pattern>/n/*</url-pattern>
+   </filter-mapping>
+   
+   <filter-mapping>
+      <filter-name>Global Authentication Filter</filter-name>
+      <url-pattern>/c/*</url-pattern>
+   </filter-mapping>
+
+   <filter-mapping>
+      <filter-name>Global Authentication Filter</filter-name>
+      <url-pattern>/t/*</url-pattern>
+   </filter-mapping>
+   
+   <filter-mapping>
+      <filter-name>Global Authentication Filter</filter-name>
+      <url-pattern>/d/*</url-pattern>
+   </filter-mapping>
+   
+   <!-- The WebScript Authentication filter sits in front of web service URLs in addition to the global authentication filter -->
+   <filter-mapping>
+      <filter-name>WebScript Authentication Filter</filter-name>
+      <url-pattern>/wcservice/*</url-pattern>
+   </filter-mapping>
+   
+   <filter-mapping>
+      <filter-name>WebScript Authentication Filter</filter-name>
+      <url-pattern>/wcs/*</url-pattern>
+   </filter-mapping>
+   
+   <filter-mapping>
+      <filter-name>Global Authentication Filter</filter-name>
+      <url-pattern>/wcservice/*</url-pattern>
+   </filter-mapping>
+   
+   <filter-mapping>
+      <filter-name>Global Authentication Filter</filter-name>
+      <url-pattern>/wcs/*</url-pattern>
+   </filter-mapping>
+
+   <filter-mapping>
+      <filter-name>Global Authentication Filter</filter-name>
+      <url-pattern>/ajax/*</url-pattern>
+   </filter-mapping>
+   
+   <filter-mapping>
+      <filter-name>Global Authentication Filter</filter-name>
+      <url-pattern>/faces/*</url-pattern>
+   </filter-mapping>
+
+   <filter-mapping>
+      <filter-name>Authentication Filter</filter-name>
+      <url-pattern>/faces/*</url-pattern>
+   </filter-mapping>
+
+   <filter-mapping>
+      <filter-name>WebDAV Authentication Filter</filter-name>
+      <url-pattern>/webdav/*</url-pattern>
+   </filter-mapping>
+
+   <filter-mapping>
+      <filter-name>Admin Authentication Filter</filter-name>
+      <url-pattern>/faces/jsp/admin/*</url-pattern>
+   </filter-mapping>
+
+   <filter-mapping>
+      <filter-name>Admin Authentication Filter</filter-name>
+      <url-pattern>/faces/jsp/categories/*</url-pattern>
+   </filter-mapping>
+
+   <filter-mapping>
+      <filter-name>Admin Authentication Filter</filter-name>
+      <url-pattern>/faces/jsp/groups/*</url-pattern>
+   </filter-mapping>
+
+   <filter-mapping>
+      <filter-name>Admin Authentication Filter</filter-name>
+      <url-pattern>/faces/jsp/users/delete-user.jsp</url-pattern>
+   </filter-mapping>
+
+   <filter-mapping>
+      <filter-name>Admin Authentication Filter</filter-name>
+      <url-pattern>/faces/jsp/users/users.jsp</url-pattern>
+   </filter-mapping>
+
+   <filter-mapping>
+      <filter-name>Admin Authentication Filter</filter-name>
+      <url-pattern>/faces/jsp/admin/system-info.jsp</url-pattern>
+   </filter-mapping>
+   
+   <filter-mapping>
+      <filter-name>JSF Session Synchronized Filter</filter-name>
+      <url-pattern>/faces/*</url-pattern>
+   </filter-mapping>
+   
+   <filter-mapping>
+      <filter-name>CacheExpiresFilter</filter-name>
+      <url-pattern>*.jpg</url-pattern>
+   </filter-mapping>
+   <filter-mapping>
+      <filter-name>CacheExpiresFilter</filter-name>
+      <url-pattern>*.png</url-pattern>
+   </filter-mapping>
+   <filter-mapping>
+      <filter-name>CacheExpiresFilter</filter-name>
+      <url-pattern>*.gif</url-pattern>
+   </filter-mapping>
+   <filter-mapping>
+      <filter-name>CacheExpiresFilter</filter-name>
+      <url-pattern>*.css</url-pattern>
+   </filter-mapping>
+   <filter-mapping>
+      <filter-name>CacheExpiresFilter</filter-name>
+      <url-pattern>*.js</url-pattern>
+   </filter-mapping>
+
+   <listener>
+      <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
+   </listener>
+
+   <listener>
+      <listener-class>org.springframework.web.util.Log4jConfigListener</listener-class>
+   </listener>
+   
+   <!-- Spring Context Loader listener - can disable loading of context if runtime config changes are needed -->
+   <listener>
+      <listener-class>org.alfresco.web.app.ContextLoaderListener</listener-class>
+   </listener>
+
+   <!-- Web Application Context listener - session create/destroy debugging and bootstrap Spring init -->
+   <listener>
+      <listener-class>org.alfresco.web.app.ContextListener</listener-class>
+   </listener>
+
+   <!-- WebDAV session listener - ensures that no locked resources is left after session expires -->
+   <listener>
+      <listener-class>org.alfresco.repo.webdav.WebDAVSessionListener</listener-class>
+   </listener>
+
+   <!-- Web Services context listener for OpenCMIS -->
+   <listener>
+      <listener-class>com.sun.xml.ws.transport.http.servlet.WSServletContextListener</listener-class>
+   </listener>
+   
+   <!-- Activiti listener placeholder -->
+
+
+   <!-- Faces Servlet -->
+   <servlet>
+      <servlet-name>Faces Servlet</servlet-name>
+      <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
+      <load-on-startup>1</load-on-startup>
+   </servlet>
+
+   <servlet>
+      <servlet-name>uploadFile</servlet-name>
+      <servlet-class>org.alfresco.web.app.servlet.UploadFileServlet</servlet-class>
+   </servlet>
+
+   <servlet>
+      <servlet-name>uploadContent</servlet-name>
+      <servlet-class>org.alfresco.web.app.servlet.UploadContentServlet</servlet-class>
+   </servlet>
+
+   <servlet>
+      <servlet-name>downloadContent</servlet-name>
+      <servlet-class>org.alfresco.web.app.servlet.DownloadContentServlet</servlet-class>
+   </servlet>
+
+   <servlet>
+      <servlet-name>downloadRawContent</servlet-name>
+      <servlet-class>org.alfresco.web.app.servlet.DownloadRawContentServlet</servlet-class>
+   </servlet>
+
+   <servlet>
+      <servlet-name>guestDownloadContent</servlet-name>
+      <servlet-class>org.alfresco.web.app.servlet.GuestDownloadContentServlet</servlet-class>
+   </servlet>
+
+   <servlet>
+      <servlet-name>guestTemplateContent</servlet-name>
+      <servlet-class>org.alfresco.web.app.servlet.GuestTemplateContentServlet</servlet-class>
+   </servlet>
+
+   <servlet>
+      <servlet-name>externalAccess</servlet-name>
+      <servlet-class>org.alfresco.web.app.servlet.ExternalAccessServlet</servlet-class>
+   </servlet>
+
+   <servlet>
+      <servlet-name>templateContent</servlet-name>
+      <servlet-class>org.alfresco.web.app.servlet.TemplateContentServlet</servlet-class>
+   </servlet>
+
+   <servlet>
+      <servlet-name>commandServlet</servlet-name>
+      <servlet-class>org.alfresco.web.app.servlet.CommandServlet</servlet-class>
+   </servlet>
+
+   <servlet>
+      <servlet-name>ajaxServlet</servlet-name>
+      <servlet-class>org.alfresco.web.app.servlet.ajax.AjaxServlet</servlet-class>
+   </servlet>
+
+   <servlet>
+      <servlet-name>axis</servlet-name>
+      <servlet-class>org.apache.axis.transport.http.AxisServlet</servlet-class>
+      <load-on-startup>5</load-on-startup>
+   </servlet>
+
+   <servlet>
+      <servlet-name>CXFServlet</servlet-name>
+      <servlet-class>org.apache.cxf.transport.servlet.CXFServlet</servlet-class>
+      <load-on-startup>6</load-on-startup>
+   </servlet>
+
+   <servlet>
+      <servlet-name>WebDAV</servlet-name>
+      <servlet-class>org.alfresco.repo.webdav.WebDAVServlet</servlet-class>
+      <load-on-startup>5</load-on-startup>
+   </servlet>
+
+   <servlet>
+      <servlet-name>apiServlet</servlet-name>
+      <servlet-class>org.springframework.extensions.webscripts.servlet.WebScriptServlet</servlet-class>
+      <init-param>
+         <param-name>authenticator</param-name>
+         <param-value>webscripts.authenticator.basic</param-value>
+      </init-param>
+   </servlet>
+   
+   <servlet>
+      <servlet-name>wcapiServlet</servlet-name>
+      <servlet-class>org.springframework.extensions.webscripts.servlet.WebScriptServlet</servlet-class>
+      <init-param>
+         <param-name>authenticator</param-name>
+         <param-value>webscripts.authenticator.webclient</param-value>
+      </init-param>
+   </servlet>
+
+   <servlet>
+      <servlet-name>portalapiServlet</servlet-name>
+      <servlet-class>org.springframework.extensions.webscripts.servlet.WebScriptServlet</servlet-class>
+      <init-param>
+         <param-name>authenticator</param-name>
+         <param-value>webscripts.authenticator.webclient</param-value>
+      </init-param>
+   </servlet>
+
+   <servlet>
+      <servlet-name>facebookServlet</servlet-name>
+      <servlet-class>org.alfresco.repo.web.scripts.facebook.FacebookServlet</servlet-class>
+      <init-param>
+         <param-name>authenticator</param-name>
+         <param-value>webscripts.authenticator.facebook</param-value>
+      </init-param>
+   </servlet>
+
+   <servlet>
+      <servlet-name>fbapiServlet</servlet-name>
+      <servlet-class>org.alfresco.repo.web.scripts.facebook.FacebookAPIServlet</servlet-class>
+      <init-param>
+         <param-name>authenticator</param-name>
+         <param-value>webscripts.authenticator.facebook</param-value>
+      </init-param>
+   </servlet>
+
+   <servlet>
+      <servlet-name>proxyServlet</servlet-name>
+      <servlet-class>org.alfresco.web.app.servlet.HTTPProxyServlet</servlet-class>
+   </servlet>
+
+   <servlet>
+      <servlet-name>workflowDefinitionImageServlet</servlet-name>
+      <servlet-class>org.alfresco.web.app.servlet.WorkflowDefinitionImageServlet</servlet-class>
+   </servlet>
+
+   <servlet>
+      <servlet-name>JBPMDeployProcessServlet</servlet-name>
+      <servlet-class>org.alfresco.web.app.servlet.JBPMDeployProcessServlet</servlet-class>
+   </servlet>
+
+   <servlet>
+      <servlet-name>CMISFileShareServlet</servlet-name>
+      <servlet-class>org.apache.chemistry.opencmis.browser.BrowseServlet</servlet-class>
+      <init-param>
+         <param-name>auxroot</param-name>
+         <param-value>cmisfs/browser/</param-value>
+      </init-param>
+      <init-param>
+         <param-name>allow</param-name>
+         <param-value>http.*</param-value>
+      </init-param>
+      <init-param>
+         <param-name>stylesheet:application/atomsvc+xml</param-name>
+         <param-value>/cmisfs/stylesheets/service.xsl</param-value>
+      </init-param>
+      <init-param>
+         <param-name>stylesheet:application/atom+xml;type=feed</param-name>
+         <param-value>/cmisfs/stylesheets/feed.xsl</param-value>
+      </init-param>
+      <init-param>
+         <param-name>stylesheet:application/cmistree+xml</param-name>
+         <param-value>/cmisfs/stylesheets/feed.xsl</param-value>
+      </init-param>
+      <init-param>
+         <param-name>stylesheet:application/atom+xml;type=entry</param-name>
+         <param-value>/cmisfs/stylesheets/entry.xsl</param-value>
+      </init-param>
+      <init-param>
+         <param-name>stylesheet:application/cmisallowableactions+xml</param-name>
+         <param-value>/cmisfs/stylesheets/actions.xsl</param-value>
+      </init-param>
+      <init-param>
+         <param-name>stylesheet:application/cmisacl+xml</param-name>
+         <param-value>/cmisfs/stylesheets/acl.xsl</param-value>
+      </init-param>
+      <init-param>
+         <param-name>override-stylesheet:renditions</param-name>
+         <param-value>/cmisfs/stylesheets/renditions.xsl</param-value>
+      </init-param>
+      <init-param>
+         <param-name>override-stylesheet:relationships</param-name>
+         <param-value>/cmisfs/stylesheets/relationships.xsl</param-value>
+      </init-param>
+      <init-param>
+         <param-name>override-stylesheet:thumbnails</param-name>
+         <param-value>/cmisfs/stylesheets/thumbnails.xsl</param-value>
+      </init-param>
+   </servlet>
+
+   <servlet>
+      <servlet-name>cmisws</servlet-name>
+      <servlet-class>com.sun.xml.ws.transport.http.servlet.WSServlet</servlet-class>
+      <load-on-startup>7</load-on-startup>
+   </servlet>
+
+   <servlet>
+      <servlet-name>cmisatom</servlet-name>
+      <servlet-class>org.apache.chemistry.opencmis.server.impl.atompub.CmisAtomPubServlet</servlet-class>
+      <init-param>
+         <param-name>callContextHandler</param-name>
+         <param-value>org.apache.chemistry.opencmis.server.shared.BasicAuthCallContextHandler</param-value>
+      </init-param>
+      <load-on-startup>8</load-on-startup>
+   </servlet>
+
+   <servlet>
+      <servlet-name>cmisbrowser</servlet-name>
+      <servlet-class>org.apache.chemistry.opencmis.server.impl.browser.CmisBrowserBindingServlet</servlet-class>
+      <init-param>
+         <param-name>callContextHandler</param-name>
+         <param-value>org.apache.chemistry.opencmis.server.shared.BasicAuthCallContextHandler</param-value>
+      </init-param>
+      <load-on-startup>8</load-on-startup>
+   </servlet>
+
+   <servlet>
+      <servlet-name>cmistck</servlet-name>
+      <servlet-class>org.apache.chemistry.opencmis.tck.runner.WebRunnerServlet</servlet-class>
+      <load-on-startup>8</load-on-startup>
+   </servlet>
+
+   <servlet>
+      <servlet-name>authenticatorServlet</servlet-name>
+      <servlet-class>org.alfresco.repo.web.scripts.servlet.AuthenticatorServlet</servlet-class>
+   </servlet>
+   
+   <!-- Activiti servlet placeholder -->
+    
+   <servlet-mapping>
+      <servlet-name>Faces Servlet</servlet-name>
+      <url-pattern>/faces/*</url-pattern>
+   </servlet-mapping>
+
+   <servlet-mapping>
+      <servlet-name>uploadFile</servlet-name>
+      <url-pattern>/uploadFileServlet</url-pattern>
+   </servlet-mapping>
+
+   <servlet-mapping>
+      <servlet-name>uploadContent</servlet-name>
+      <url-pattern>/upload/*</url-pattern>
+   </servlet-mapping>
+
+   <servlet-mapping>
+      <servlet-name>downloadContent</servlet-name>
+      <url-pattern>/download/*</url-pattern>
+   </servlet-mapping>
+
+   <servlet-mapping>
+      <servlet-name>downloadContent</servlet-name>
+      <url-pattern>/d/*</url-pattern>
+   </servlet-mapping>
+
+   <servlet-mapping>
+      <servlet-name>downloadRawContent</servlet-name>
+      <url-pattern>/dr</url-pattern>
+   </servlet-mapping>
+
+   <servlet-mapping>
+      <servlet-name>guestDownloadContent</servlet-name>
+      <url-pattern>/guestDownload/*</url-pattern>
+   </servlet-mapping>
+
+   <servlet-mapping>
+      <servlet-name>guestDownloadContent</servlet-name>
+      <url-pattern>/gd/*</url-pattern>
+   </servlet-mapping>
+
+   <servlet-mapping>
+      <servlet-name>templateContent</servlet-name>
+      <url-pattern>/template/*</url-pattern>
+   </servlet-mapping>
+
+   <servlet-mapping>
+      <servlet-name>templateContent</servlet-name>
+      <url-pattern>/t/*</url-pattern>
+   </servlet-mapping>
+
+   <servlet-mapping>
+      <servlet-name>guestTemplateContent</servlet-name>
+      <url-pattern>/guestTemplate/*</url-pattern>
+   </servlet-mapping>
+
+   <servlet-mapping>
+      <servlet-name>guestTemplateContent</servlet-name>
+      <url-pattern>/gt/*</url-pattern>
+   </servlet-mapping>
+
+   <servlet-mapping>
+      <servlet-name>externalAccess</servlet-name>
+      <url-pattern>/navigate/*</url-pattern>
+   </servlet-mapping>
+
+   <servlet-mapping>
+      <servlet-name>externalAccess</servlet-name>
+      <url-pattern>/n/*</url-pattern>
+   </servlet-mapping>
+
+   <servlet-mapping>
+      <servlet-name>commandServlet</servlet-name>
+      <url-pattern>/command/*</url-pattern>
+   </servlet-mapping>
+
+   <servlet-mapping>
+      <servlet-name>commandServlet</servlet-name>
+      <url-pattern>/c/*</url-pattern>
+   </servlet-mapping>
+
+   <servlet-mapping>
+      <servlet-name>ajaxServlet</servlet-name>
+      <url-pattern>/ajax/*</url-pattern>
+   </servlet-mapping>
+
+   <servlet-mapping>
+      <servlet-name>axis</servlet-name>
+      <url-pattern>/api/*</url-pattern>
+   </servlet-mapping>
+
+   <servlet-mapping>
+      <servlet-name>CXFServlet</servlet-name>
+      <url-pattern>/cmis/*</url-pattern>
+   </servlet-mapping>
+
+   <servlet-mapping>
+        <servlet-name>WebDAV</servlet-name>
+        <url-pattern>/webdav/*</url-pattern>
+   </servlet-mapping>
+
+   <servlet-mapping>
+      <servlet-name>apiServlet</servlet-name>
+      <url-pattern>/service/*</url-pattern>
+   </servlet-mapping>
+
+   <servlet-mapping>
+      <servlet-name>apiServlet</servlet-name>
+      <url-pattern>/s/*</url-pattern>
+   </servlet-mapping>
+
+   <servlet-mapping>
+      <servlet-name>wcapiServlet</servlet-name>
+      <url-pattern>/wcservice/*</url-pattern>
+   </servlet-mapping>
+
+   <servlet-mapping>
+      <servlet-name>wcapiServlet</servlet-name>
+      <url-pattern>/wcs/*</url-pattern>
+   </servlet-mapping>
+
+   <servlet-mapping>
+      <servlet-name>portalapiServlet</servlet-name>
+      <url-pattern>/168service/*</url-pattern>
+   </servlet-mapping>
+
+   <servlet-mapping>
+      <servlet-name>portalapiServlet</servlet-name>
+      <url-pattern>/168s/*</url-pattern>
+   </servlet-mapping>
+
+   <servlet-mapping>
+      <servlet-name>facebookServlet</servlet-name>
+      <url-pattern>/facebook/*</url-pattern>
+   </servlet-mapping>
+
+   <servlet-mapping>
+      <servlet-name>facebookServlet</servlet-name>
+      <url-pattern>/fb/*</url-pattern>
+   </servlet-mapping>
+
+   <servlet-mapping>
+      <servlet-name>fbapiServlet</servlet-name>
+      <url-pattern>/fbservice/*</url-pattern>
+   </servlet-mapping>
+
+   <servlet-mapping>
+      <servlet-name>fbapiServlet</servlet-name>
+      <url-pattern>/fbs/*</url-pattern>
+   </servlet-mapping>
+
+   <servlet-mapping>
+      <servlet-name>proxyServlet</servlet-name>
+      <url-pattern>/proxy</url-pattern>
+   </servlet-mapping>
+
+   <servlet-mapping>
+      <servlet-name>JBPMDeployProcessServlet</servlet-name>
+      <url-pattern>/jbpm/deployprocess</url-pattern>
+   </servlet-mapping>
+
+   <servlet-mapping>
+      <servlet-name>workflowDefinitionImageServlet</servlet-name>
+      <url-pattern>/workflowdefinitionimage/*</url-pattern>
+   </servlet-mapping>
+
+   <servlet-mapping>
+      <servlet-name>CMISFileShareServlet</servlet-name>
+      <url-pattern>/cmisbrowse</url-pattern>
+   </servlet-mapping>
+
+   <servlet-mapping>
+      <servlet-name>cmisws</servlet-name>
+      <url-pattern>/cmisws/*</url-pattern>
+   </servlet-mapping>
+
+   <servlet-mapping>
+      <servlet-name>cmisatom</servlet-name>
+      <url-pattern>/cmisatom/*</url-pattern>
+   </servlet-mapping>
+
+   <servlet-mapping>
+      <servlet-name>cmisbrowser</servlet-name>
+      <url-pattern>/cmisbrowser/*</url-pattern>
+   </servlet-mapping>
+    
+   <!-- The CMIS TCK is deactivated by default. -->
+   <!-- CMISTCK
+   <servlet-mapping>
+      <servlet-name>cmistck</servlet-name>
+      <url-pattern>/cmistck</url-pattern>
+   </servlet-mapping>
+   CMISTCK -->
+   
+   <!-- Activiti servlet mapping placeholder -->
+
+   <session-config>
+      <session-timeout>60</session-timeout>
+   </session-config>
+
+   <welcome-file-list>
+      <welcome-file>index.jsp</welcome-file>
+   </welcome-file-list>
+
+   <error-page>
+      <exception-type>java.lang.Exception</exception-type>
+      <location>/jsp/error.jsp</location>
+   </error-page>
+
+   <resource-ref>
+      <description>The Alfresco database connection</description>
+      <res-ref-name>jdbc/dataSource</res-ref-name>
+      <res-type>javax.sql.DataSource</res-type>
+      <res-auth>Container</res-auth>
+      <res-sharing-scope>Unshareable</res-sharing-scope>
+   </resource-ref>
+   <!-- 
+   <security-constraint>
+      <web-resource-collection>
+         <web-resource-name>SOLR</web-resource-name>
+         <url-pattern>/service/api/solr/*</url-pattern>
+      </web-resource-collection>
+
+      <auth-constraint>
+         <role-name>repoclient</role-name>
+      </auth-constraint>
+
+      <user-data-constraint>
+         <transport-guarantee>CONFIDENTIAL</transport-guarantee>
+      </user-data-constraint>
+   </security-constraint>
+
+   <security-constraint>
+      <web-resource-collection>
+         <web-resource-name>SOLR</web-resource-name>
+         <url-pattern>/s/api/solr/*</url-pattern>
+      </web-resource-collection>
+
+      <auth-constraint>
+         <role-name>repoclient</role-name>
+      </auth-constraint>
+
+      <user-data-constraint>
+         <transport-guarantee>CONFIDENTIAL</transport-guarantee>
+      </user-data-constraint>
+   </security-constraint>
+   
+   <security-constraint>
+      <web-resource-collection>
+         <web-resource-name>SOLR</web-resource-name>
+         <url-pattern>/wcservice/api/solr/*</url-pattern>
+      </web-resource-collection>
+
+      <auth-constraint>
+         <role-name>repoclient</role-name>
+      </auth-constraint>
+
+      <user-data-constraint>
+         <transport-guarantee>CONFIDENTIAL</transport-guarantee>
+      </user-data-constraint>
+   </security-constraint>
+   
+   <security-constraint>
+      <web-resource-collection>
+         <web-resource-name>SOLR</web-resource-name>
+         <url-pattern>/wcs/api/solr/*</url-pattern>
+      </web-resource-collection>
+
+      <auth-constraint>
+         <role-name>repoclient</role-name>
+      </auth-constraint>
+
+      <user-data-constraint>
+         <transport-guarantee>CONFIDENTIAL</transport-guarantee>
+      </user-data-constraint>
+   </security-constraint>
+   
+   <login-config>
+      <auth-method>CLIENT-CERT</auth-method>
+      <realm-name>Repository</realm-name>
+   </login-config>
+
+   <security-role>
+     <role-name>repoclient</role-name>
+   </security-role>
+    -->
+
+   <env-entry>
+      <description>A flag that globally enables or disables startup of the major Alfresco subsystems.</description>
+      <env-entry-name>properties/startup.enable</env-entry-name>
+      <env-entry-value>true</env-entry-value>
+      <env-entry-type>java.lang.Boolean</env-entry-type>
+   </env-entry>
+
+   <env-entry>
+      <description>The filesystem directory below which content and index data is stored. Should be on a shared disk
+         if this is a clustered installation.</description>
+      <env-entry-name>properties/dir.root</env-entry-name>
+      <env-entry-value/> <!-- Empty value included for JBoss compatibility -->
+      <env-entry-type>java.lang.String</env-entry-type>
+   </env-entry>
+
+   <env-entry>
+      <description>The fully qualified name of a org.hibernate.dialect.Dialect subclass that allows Hibernate to
+         generate SQL optimized for a particular relational database. Choose from org.hibernate.dialect.DerbyDialect,
+         org.hibernate.dialect.MySQLInnoDBDialect,
+         org.alfresco.repo.domain.hibernate.dialect.AlfrescoOracle9Dialect,
+         org.alfresco.repo.domain.hibernate.dialect.AlfrescoSybaseAnywhereDialect,
+         org.alfresco.repo.domain.hibernate.dialect.AlfrescoSQLServerDialect, org.hibernate.dialect.PostgreSQLDialect</description>
+      <env-entry-name>properties/hibernate.dialect</env-entry-name>
+      <env-entry-value/> <!-- Empty value included for JBoss compatibility -->
+      <env-entry-type>java.lang.String</env-entry-type>
+   </env-entry>
+
+   <env-entry>
+      <description>Mapping from tokens in Hibernate queries to SQL tokens. For PostgreSQL, set this to "true
+         TRUE, false FALSE".</description>
+      <env-entry-name>properties/hibernate.query.substitutions</env-entry-name>
+      <env-entry-value/> <!-- Empty value included for JBoss compatibility -->
+      <env-entry-type>java.lang.String</env-entry-type>
+   </env-entry>
+
+   <env-entry>
+      <description>Enable use of JDBC3 PreparedStatement.getGeneratedKeys() to retrieve natively generated keys
+         after insert. Requires JDBC3+ driver. Set to false if your driver has problems with the Hibernate identifier
+         generators. By default, tries to determine the driver capabilities using connection metadata. </description>
+      <env-entry-name>properties/hibernate.jdbc.use_get_generated_keys</env-entry-name>
+      <env-entry-value/> <!-- Empty value included for JBoss compatibility -->
+      <env-entry-type>java.lang.String</env-entry-type>
+   </env-entry>
+
+   <env-entry>
+      <description>Qualify unqualified table names with the given schema/tablespace in generated SQL. It may be
+         necessary to set this when the target database has more than one schema.</description>
+      <env-entry-name>properties/hibernate.default_schema</env-entry-name>
+      <env-entry-value/> <!-- Empty value included for JBoss compatibility -->
+      <env-entry-type>java.lang.String</env-entry-type>
+   </env-entry>
+
+</web-app>
\ No newline at end of file

Propchange: manifoldcf/trunk/test-materials/alfresco-4-war/src/main/webapp/WEB-INF/web.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: manifoldcf/trunk/test-materials/alfresco-4-war/src/main/webapp/WEB-INF/web.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: manifoldcf/trunk/test-materials/alfresco-4-war/src/main/webapp/WEB-INF/web.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml



Mime
View raw message