Author: nbelaevski
Date: 2011-02-17 12:44:39 -0500 (Thu, 17 Feb 2011)
New Revision: 21739
Removed:
trunk/examples/richfaces-showcase/src/main/java-gae-jsf-ri/
Modified:
trunk/examples/richfaces-showcase/pom.xml
trunk/examples/richfaces-showcase/src/main/webapp-gae/WEB-INF/appengine-web.xml
trunk/examples/richfaces-showcase/src/main/webapp-gae/WEB-INF/web.xml
Log:
https://issues.jboss.org/browse/RF-10450
Modified: trunk/examples/richfaces-showcase/pom.xml
===================================================================
--- trunk/examples/richfaces-showcase/pom.xml 2011-02-17 15:34:11 UTC (rev 21738)
+++ trunk/examples/richfaces-showcase/pom.xml 2011-02-17 17:44:39 UTC (rev 21739)
@@ -183,24 +183,6 @@
</resources>
<plugins>
<plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>add-source</id>
- <phase>generate-sources</phase>
- <goals>
- <goal>add-source</goal>
- </goals>
- <configuration>
- <sources>
-
<source>src/main/java-gae-jsf-ri</source>
- </sources>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<webResources>
@@ -245,6 +227,10 @@
<skin>ruby</skin>
<skin>wine</skin>
</skins>
+ <excludedFiles>
+
<exclude>^\Qorg.richfaces.renderkit.html.images.\E.*</exclude>
+
<exclude>^\Qorg.richfaces.renderkit.html.iconimages.\E.*</exclude>
+ </excludedFiles>
<includedContentTypes>
<include>application/javascript</include>
<include>text/css</include>
Modified: trunk/examples/richfaces-showcase/src/main/webapp-gae/WEB-INF/appengine-web.xml
===================================================================
---
trunk/examples/richfaces-showcase/src/main/webapp-gae/WEB-INF/appengine-web.xml 2011-02-17
15:34:11 UTC (rev 21738)
+++
trunk/examples/richfaces-showcase/src/main/webapp-gae/WEB-INF/appengine-web.xml 2011-02-17
17:44:39 UTC (rev 21739)
@@ -1,11 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<appengine-web-app
xmlns="http://appengine.google.com/ns/1.0">
<application>richfaces-showcase</application>
- <version>21</version>
+ <version>28</version>
<sessions-enabled>true</sessions-enabled>
<system-properties>
<property name="java.util.logging.config.file"
value="WEB-INF/classes/logging.properties"/>
</system-properties>
+ <resource-files>
+ <exclude path="/static-resources/**" />
+ </resource-files>
+
</appengine-web-app>
Modified: trunk/examples/richfaces-showcase/src/main/webapp-gae/WEB-INF/web.xml
===================================================================
--- trunk/examples/richfaces-showcase/src/main/webapp-gae/WEB-INF/web.xml 2011-02-17
15:34:11 UTC (rev 21738)
+++ trunk/examples/richfaces-showcase/src/main/webapp-gae/WEB-INF/web.xml 2011-02-17
17:44:39 UTC (rev 21739)
@@ -45,9 +45,29 @@
<param-value>client</param-value>
</context-param>
<context-param>
+ <param-name>org.apache.myfaces.SECRET</param-name>
+ <param-value>-- Insert some secret here --</param-value>
+ </context-param>
+ <context-param>
+ <param-name>org.apache.myfaces.MAC_SECRET</param-name>
+ <param-value>-- Insert some secret here --</param-value>
+ </context-param>
+ <context-param>
+ <param-name>org.apache.myfaces.algorithm</param-name>
+ <param-value>Blowfish</param-value>
+ </context-param>
+ <context-param>
<param-name>org.richfaces.staticResourceLocation</param-name>
<param-value>#{facesContext.externalContext.requestContextPath}/static-resources/#{resourceLocation}</param-value>
</context-param>
+ <!--
+ We need to set annotation lifecycyle provider manually as
org.apache.myfaces.config.annotation.NoInjectionAnnotationLifecycleProvider.
+ Other providers use some classes that are restricted on Google App Engine.
+ -->
+ <context-param>
+
<param-name>org.apache.myfaces.config.annotation.LifecycleProvider</param-name>
+
<param-value>org.apache.myfaces.config.annotation.NoInjectionAnnotationLifecycleProvider</param-value>
+ </context-param>
<context-param>
<param-name>org.ajax4jsf.cache.CACHE_MANAGER_FACTORY_CLASS</param-name>
@@ -55,34 +75,11 @@
</context-param>
<context-param>
- <description>
- Set this flag to true if you want the JavaServer Faces
- Reference Implementation to validate the XML in your
- faces-config.xml resources against the DTD. Default
- value is false.
- </description>
- <param-name>com.sun.faces.validateXml</param-name>
- <param-value>true</param-value>
+ <param-name>org.apache.myfaces.EXPRESSION_FACTORY</param-name>
+ <param-value>com.sun.el.ExpressionFactoryImpl</param-value>
</context-param>
- <!-- ***** Accommodate Single-Threaded Requirement of Google AppEngine -->
- <context-param>
- <description>
- When enabled, the runtime initialization and default ResourceHandler
- implementation will use threads to perform their functions. Set this
- value to false if threads aren't desired (as in the case of running
- within the Google Application Engine).
- Note that when this option is disabled, the ResourceHandler will not
- pick up new versions of resources when ProjectStage is development.
- </description>
- <param-name>com.sun.faces.enableThreading</param-name>
- <param-value>false</param-value>
- </context-param>
<context-param>
- <param-name>com.sun.faces.expressionFactory</param-name>
- <param-value>com.sun.el.ExpressionFactoryImpl</param-value>
- </context-param>
- <context-param>
<param-name>org.richfaces.executeAWTInitializer</param-name>
<param-value>false</param-value>
</context-param>