[weld-commits] Weld SVN: r5049 - in extensions/trunk/archetypes/weld-jsf-minimal/src/main/resources: archetype-resources/src/main/webapp/WEB-INF and 1 other directory.

weld-commits at lists.jboss.org weld-commits at lists.jboss.org
Fri Nov 13 12:50:10 EST 2009


Author: dan.j.allen
Date: 2009-11-13 12:50:09 -0500 (Fri, 13 Nov 2009)
New Revision: 5049

Modified:
   extensions/trunk/archetypes/weld-jsf-minimal/src/main/resources/META-INF/archetype.xml
   extensions/trunk/archetypes/weld-jsf-minimal/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/faces-config.xml
Log:
include faces-config.xml for writing navigtion rules


Modified: extensions/trunk/archetypes/weld-jsf-minimal/src/main/resources/META-INF/archetype.xml
===================================================================
--- extensions/trunk/archetypes/weld-jsf-minimal/src/main/resources/META-INF/archetype.xml	2009-11-13 17:40:36 UTC (rev 5048)
+++ extensions/trunk/archetypes/weld-jsf-minimal/src/main/resources/META-INF/archetype.xml	2009-11-13 17:50:09 UTC (rev 5049)
@@ -4,6 +4,7 @@
       <resource>src/main/webapp/index.xhtml</resource>
       <resource>src/main/webapp/index.jsp</resource>
       <resource>src/main/webapp/WEB-INF/web.xml</resource>
+      <resource>src/main/webapp/WEB-INF/faces-config.xml</resource>
       <resource>src/main/resources/META-INF/beans.xml</resource>
       <resource>src/main/webapp/META-INF/context.xml</resource>
    </resources>
@@ -14,4 +15,4 @@
    <testResources>
       <resource>src/test/resources/jetty-env.xml</resource>
    </testResources>
-</archetype>
\ No newline at end of file
+</archetype>

Modified: extensions/trunk/archetypes/weld-jsf-minimal/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/faces-config.xml
===================================================================
--- extensions/trunk/archetypes/weld-jsf-minimal/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/faces-config.xml	2009-11-13 17:40:36 UTC (rev 5048)
+++ extensions/trunk/archetypes/weld-jsf-minimal/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/faces-config.xml	2009-11-13 17:50:09 UTC (rev 5049)
@@ -1,7 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
-   <!--	This file is optional.  It can be deleted at any time. -->
+<!-- This file is not required if you don't need any extra configuration. -->
 <faces-config version="2.0" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="
       http://java.sun.com/xml/ns/javaee
       http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd">
-</faces-config>
\ No newline at end of file
+
+   <!-- Write your navigation rules here. You are encouraged to use CDI for creating @Named managed beans. -->
+
+</faces-config>



More information about the weld-commits mailing list