You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lu...@apache.org on 2011/05/16 22:19:16 UTC

svn commit: r1103866 - in /myfaces/tomahawk/trunk/sandbox/core20: pom.xml src/main/conf/META-INF/faces-config-base.xml

Author: lu4242
Date: Mon May 16 20:19:16 2011
New Revision: 1103866

URL: http://svn.apache.org/viewvc?rev=1103866&view=rev
Log:
TOMAHAWK-1586 Update sandbox module for JSF 2.0

Modified:
    myfaces/tomahawk/trunk/sandbox/core20/pom.xml
    myfaces/tomahawk/trunk/sandbox/core20/src/main/conf/META-INF/faces-config-base.xml

Modified: myfaces/tomahawk/trunk/sandbox/core20/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/sandbox/core20/pom.xml?rev=1103866&r1=1103865&r2=1103866&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/sandbox/core20/pom.xml (original)
+++ myfaces/tomahawk/trunk/sandbox/core20/pom.xml Mon May 16 20:19:16 2011
@@ -6,7 +6,9 @@
     <packaging>jar</packaging>
     <name>Sandbox Core 20</name>
     <description>
-        This is the Sandbox Subproject Description [INSERT MORE STUFF HERE]
+        Sandbox is a place to put new JSF 2.0 ideas (components, converters,
+        validators, ...). If the code is good enough, it could be promoted 
+        to tomahawk, myfaces commons or other MyFaces projects.
     </description>
 
     <parent>
@@ -184,11 +186,6 @@
                    <exclude>**/*.vm</exclude>
                 </excludes>
             </resource>
-            <!-- 
-            <resource>
-                <directory>src/main/resources-facesconfig</directory>
-            </resource>
-             -->
             <resource>
                 <directory>target/tomahawk12_resources</directory>
             </resource>
@@ -215,33 +212,29 @@
                   </execution>
               </executions>
             </plugin>
+
             <plugin>
               <groupId>org.apache.myfaces.buildtools</groupId>
               <artifactId>myfaces-builder-plugin</artifactId>
               <version>${myfaces-builder-plugin-version}</version>
               <executions>
+                <!--
                 <execution>
                   <id>unpack-tomahawk</id>
                   <phase>generate-sources</phase>
-                  <!-- <phase>process-resources</phase> -->
                   <goals>
                     <goal>unpack</goal>
                   </goals>
                   <configuration>
                     <scanModel>true</scanModel>
-
                     <artifactItems>
                       <artifactItem>
                         <groupId>org.apache.myfaces.tomahawk</groupId>
                         <artifactId>tomahawk-sandbox12</artifactId>
                         <version>${pom.version}</version>
                         <classifier>sources</classifier>                   
-                        <!-- <outputDirectory>${project.build.directory}/unpacktomahawksources</outputDirectory> -->
                         <outputDirectory>${project.build.directory}/tomahawk12_sources</outputDirectory>
                         <includes>**/*.java</includes>
-                        <!-- Conversation tags will not work on 1.2 by architectural problems,
-                        use orchestra instead 
-                        org/apache/myfaces/custom/conversation/*.java -->
                         <excludes>
                         **/*.class,**/META-INF/**,
                         org/apache/myfaces/shared_tomahawk/**/*.java,
@@ -327,6 +320,7 @@
                     </artifactItems>
                   </configuration>
                 </execution>
+                -->
                 <execution>
                   <!-- A hierarchy of different tag classes must be created, 
                   because this classes are not part of the public api. The
@@ -442,26 +436,6 @@
               </executions>
             </plugin>
 
-            <!--    
-            <plugin>
-                <groupId>org.codehaus.mojo</groupId>
-                <artifactId>xslt-maven-plugin</artifactId>
-                <version>1.0</version>
-                <configuration>
-                    <xslFile>src/main/tld/misc/resolve_entities.xsl</xslFile>
-                    <srcIncludes>**/*.tld</srcIncludes>
-                    <srcDir>src/main/tld</srcDir>
-                    <destDir>target/classes/META-INF</destDir>
-                </configuration>
-                <executions>
-                    <execution>
-                        <goals>
-                            <goal>transform</goal>
-                        </goals>
-                    </execution>
-                </executions>
-            </plugin>
-            -->
             <plugin>
                 <artifactId>maven-surefire-plugin</artifactId>
                 <version>2.4.2</version>
@@ -536,44 +510,6 @@
     <profiles>
         <profile>
             <id>generate-site</id>
-            <build>
-                <plugins>
-                    <!-- 
-                    <plugin>
-                        <groupId>org.codehaus.mojo</groupId>
-                        <artifactId>xslt-maven-plugin</artifactId>
-                        <version>1.0</version>
-                        <executions>
-                            <execution>
-                                <id>generate-tld-for-tlddoc</id>
-                                <goals>
-                                    <goal>transform</goal>
-                                </goals>
-                                <configuration>
-                                    <xslFile>src/main/tld/misc/resolve_entities-tlddoc.xsl</xslFile>
-                                    <srcIncludes>**/*.tld</srcIncludes>
-                                    <srcDir>src/main/tld</srcDir>
-                                    <destDir>target/tlddoc-site</destDir>
-                                </configuration>
-                            </execution>
-                            <execution>
-                                <id>generate-tld-for-jar</id>
-                                <goals>
-                                    <goal>transform</goal>
-                                </goals>
-                                <configuration>
-                                    <xslFile>src/main/tld/misc/resolve_entities.xsl</xslFile>
-                                    <srcIncludes>**/*.tld</srcIncludes>
-                                    <srcDir>src/main/tld</srcDir>
-                                    <destDir>target/classes/META-INF</destDir>
-                                </configuration>
-                            </execution>
-                        </executions>
-                    </plugin>
-                     -->
-                </plugins>
-
-            </build>
             <reporting>
                 <plugins>
                     <plugin>
@@ -597,39 +533,6 @@
             </activation>
             <build>
                 <plugins>
-                    <!-- 
-                    <plugin>
-                        <groupId>org.codehaus.mojo</groupId>
-                        <artifactId>xslt-maven-plugin</artifactId>
-                        <version>1.0</version>
-                        <executions>
-                            <execution>
-                                <id>generate-tld-for-tlddoc</id>
-                                <goals>
-                                    <goal>transform</goal>
-                                </goals>
-                                <configuration>
-                                    <xslFile>src/main/tld/misc/resolve_entities-tlddoc.xsl</xslFile>
-                                    <srcIncludes>**/*.tld</srcIncludes>
-                                    <srcDir>src/main/tld</srcDir>
-                                    <destDir>target/tlddoc-site</destDir>
-                                </configuration>
-                            </execution>
-                            <execution>
-                                <id>generate-tld-for-jar</id>
-                                <goals>
-                                    <goal>transform</goal>
-                                </goals>
-                                <configuration>
-                                    <xslFile>src/main/tld/misc/resolve_entities.xsl</xslFile>
-                                    <srcIncludes>**/*.tld</srcIncludes>
-                                    <srcDir>src/main/tld</srcDir>
-                                    <destDir>target/classes/META-INF</destDir>
-                                </configuration>
-                            </execution>
-                        </executions>
-                    </plugin>
-                     -->
                     <plugin>
                         <artifactId>maven-javadoc-plugin</artifactId>
                         <version>2.4</version>

Modified: myfaces/tomahawk/trunk/sandbox/core20/src/main/conf/META-INF/faces-config-base.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/sandbox/core20/src/main/conf/META-INF/faces-config-base.xml?rev=1103866&r1=1103865&r2=1103866&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/sandbox/core20/src/main/conf/META-INF/faces-config-base.xml (original)
+++ myfaces/tomahawk/trunk/sandbox/core20/src/main/conf/META-INF/faces-config-base.xml Mon May 16 20:19:16 2011
@@ -24,111 +24,4 @@
               xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd" 
               version="2.0">
 
-
-  <lifecycle>
-      <!--               
-      <phase-listener>org.apache.myfaces.custom.ajax.api.AjaxDecodePhaseListener</phase-listener>
-      -->
-      <phase-listener>org.apache.myfaces.custom.valueChangeNotifier.ValueChangePhaseListener</phase-listener>
-      <!--
-      <phase-listener>org.apache.myfaces.custom.redirectTracker.RedirectTrackerPhaseListener</phase-listener>
-      <phase-listener>org.apache.myfaces.custom.ppr.PPRPhaseListener</phase-listener>
-      --> 
-  </lifecycle>
-  
-  <!-- 
-  <render-kit>
-     <client-behavior-renderer>
-        <client-behavior-renderer-type>org.apache.myfaces.custom.effect.EffectAppearBehavior</client-behavior-renderer-type>
-        <client-behavior-renderer-class>org.apache.myfaces.custom.effect.EffectAppearClientBehaviorRenderer</client-behavior-renderer-class>
-     </client-behavior-renderer>
-  </render-kit>
-   -->
-  
-  <!--
-  <application>
-    <variable-resolver>org.apache.myfaces.custom.redirectTracker.RedirectTrackerVariableResolver</variable-resolver>
-    <navigation-handler>org.apache.myfaces.custom.redirectTracker.RedirectTrackerNavigationHandler</navigation-handler>
-    <variable-resolver>org.apache.myfaces.custom.security.SecurityContextVariableResolver</variable-resolver>
-    <property-resolver>org.apache.myfaces.custom.security.SecurityContextPropertyResolver</property-resolver>
-  </application>
-
-  <factory>
-      <lifecycle-factory>org.apache.myfaces.custom.ppr.PPRLifecycleFactory</lifecycle-factory>
-  </factory>
-   -->
-
-  <!-- sandbox managed beans -->
-  <!-- 
-  <managed-bean>
-    <managed-bean-name>ScopeContainer</managed-bean-name>
-    <managed-bean-class>org.apache.myfaces.custom.scope.ScopeHolder</managed-bean-class>
-    <managed-bean-scope>session</managed-bean-scope>
-  </managed-bean>
-  
-  <managed-bean>
-        <managed-bean-name>CVCallsHolder</managed-bean-name>
-        <managed-bean-class>org.apache.myfaces.custom.clientvalidation.common.CVCallsHolder
-        </managed-bean-class>
-        <managed-bean-scope>request</managed-bean-scope>
-  </managed-bean>
- -->
- 
-  <!-- extended converters and validators -->
-  <!-- 
-    <converter>
-        <converter-id>javax.faces.Integer</converter-id>
-        <converter-class>org.apache.myfaces.convert.ex.IntegerConverter</converter-class>
-    </converter>
-    <converter>
-        <converter-for-class>java.lang.Integer</converter-for-class>
-        <converter-class>org.apache.myfaces.convert.ex.IntegerConverter</converter-class>
-    </converter>
-    <converter>
-        <converter-id>javax.faces.Double</converter-id>
-        <converter-class>org.apache.myfaces.convert.ex.DoubleConverter</converter-class>
-    </converter>
-    <converter>
-        <converter-for-class>java.lang.Double</converter-for-class>
-        <converter-class>org.apache.myfaces.convert.ex.DoubleConverter</converter-class>
-    </converter>
-    <converter>
-        <converter-id>javax.faces.Float</converter-id>
-        <converter-class>org.apache.myfaces.convert.ex.FloatConverter</converter-class>
-    </converter>
-    <converter>
-        <converter-for-class>java.lang.Float</converter-for-class>
-        <converter-class>org.apache.myfaces.convert.ex.FloatConverter</converter-class>
-    </converter>
-    <converter>
-        <converter-id>javax.faces.Long</converter-id>
-        <converter-class>org.apache.myfaces.convert.ex.LongConverter</converter-class>
-    </converter>
-    <converter>
-        <converter-for-class>java.lang.Long</converter-for-class>
-        <converter-class>org.apache.myfaces.convert.ex.LongConverter</converter-class>
-    </converter>
-        <converter>
-        <converter-id>javax.faces.Short</converter-id>
-        <converter-class>org.apache.myfaces.convert.ex.ShortConverter</converter-class>
-    </converter>
-    <converter>
-        <converter-for-class>java.lang.Short</converter-for-class>
-        <converter-class>org.apache.myfaces.convert.ex.ShortConverter</converter-class>
-    </converter>
-
-    <validator>
-        <validator-id>javax.faces.Length</validator-id>
-        <validator-class>org.apache.myfaces.validator.ex.LengthValidator</validator-class>
-    </validator>
-    <validator>
-        <validator-id>javax.faces.LongRange</validator-id>
-        <validator-class>org.apache.myfaces.validator.ex.LongRangeValidator</validator-class>
-    </validator>
-    <validator>
-        <validator-id>javax.faces.DoubleRange</validator-id>
-        <validator-class>org.apache.myfaces.validator.ex.DoubleRangeValidator</validator-class>
-    </validator>
-     -->
-
 </faces-config>