You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by ba...@apache.org on 2007/09/23 14:31:01 UTC

svn commit: r578571 - in /myfaces/tomahawk/branches/tomahawk_next_20070827: ./ build/ build/src/ build/src/main/ build/src/main/java/ build/src/main/resources/ build/src/main/resources/META-INF/ build/src/main/resources/META-INF/maven-faces-plugin/ bui...

Author: baranda
Date: Sun Sep 23 05:30:58 2007
New Revision: 578571

URL: http://svn.apache.org/viewvc?rev=578571&view=rev
Log:
Playing a bit with the autogeneration of tomahawk components using the maven-faces-plugin

Added:
    myfaces/tomahawk/branches/tomahawk_next_20070827/build/
    myfaces/tomahawk/branches/tomahawk_next_20070827/build/pom.xml
    myfaces/tomahawk/branches/tomahawk_next_20070827/build/src/
    myfaces/tomahawk/branches/tomahawk_next_20070827/build/src/main/
    myfaces/tomahawk/branches/tomahawk_next_20070827/build/src/main/java/
    myfaces/tomahawk/branches/tomahawk_next_20070827/build/src/main/resources/
    myfaces/tomahawk/branches/tomahawk_next_20070827/build/src/main/resources/META-INF/
    myfaces/tomahawk/branches/tomahawk_next_20070827/build/src/main/resources/META-INF/maven-faces-plugin/
    myfaces/tomahawk/branches/tomahawk_next_20070827/build/src/main/resources/META-INF/maven-faces-plugin/components/
    myfaces/tomahawk/branches/tomahawk_next_20070827/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/
    myfaces/tomahawk/branches/tomahawk_next_20070827/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/html/
    myfaces/tomahawk/branches/tomahawk_next_20070827/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/ui/
    myfaces/tomahawk/branches/tomahawk_next_20070827/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/ui/FacesBindingProperty.xml
    myfaces/tomahawk/branches/tomahawk_next_20070827/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/ui/FacesIdOptionalProperty.xml
    myfaces/tomahawk/branches/tomahawk_next_20070827/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/ui/FacesImmediateProperty.xml
    myfaces/tomahawk/branches/tomahawk_next_20070827/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/ui/FacesRenderedProperty.xml
    myfaces/tomahawk/branches/tomahawk_next_20070827/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/ui/FacesRequiredProperty.xml
    myfaces/tomahawk/branches/tomahawk_next_20070827/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/ui/_CommandProperties.xml
    myfaces/tomahawk/branches/tomahawk_next_20070827/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/ui/_ComponentProperties.xml
    myfaces/tomahawk/branches/tomahawk_next_20070827/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/
    myfaces/tomahawk/branches/tomahawk_next_20070827/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/
    myfaces/tomahawk/branches/tomahawk_next_20070827/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/Component.xml
    myfaces/tomahawk/branches/tomahawk_next_20070827/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/ComponentBase.xml
    myfaces/tomahawk/branches/tomahawk_next_20070827/build/src/main/resources/META-INF/maven-faces-plugin/components/tomahawk/
    myfaces/tomahawk/branches/tomahawk_next_20070827/build/src/main/resources/META-INF/maven-faces-plugin/components/tomahawk/html/
    myfaces/tomahawk/branches/tomahawk_next_20070827/build/src/main/resources/META-INF/maven-faces-plugin/components/tomahawk/html/Buffer.xml
    myfaces/tomahawk/branches/tomahawk_next_20070827/build/src/main/resources/META-INF/maven-faces-plugin/config/
    myfaces/tomahawk/branches/tomahawk_next_20070827/build/src/main/resources/META-INF/maven-faces-plugin/config/faces-config.xml
    myfaces/tomahawk/branches/tomahawk_next_20070827/core/src/main/java-templates/
    myfaces/tomahawk/branches/tomahawk_next_20070827/core/src/main/java-templates/org/
    myfaces/tomahawk/branches/tomahawk_next_20070827/core/src/main/java-templates/org/apache/
    myfaces/tomahawk/branches/tomahawk_next_20070827/core/src/main/java-templates/org/apache/myfaces/
    myfaces/tomahawk/branches/tomahawk_next_20070827/core/src/main/java-templates/org/apache/myfaces/custom/
    myfaces/tomahawk/branches/tomahawk_next_20070827/core/src/main/java-templates/org/apache/myfaces/custom/buffer/
Removed:
    myfaces/tomahawk/branches/tomahawk_next_20070827/core/src/main/java/org/apache/myfaces/custom/buffer/Buffer.java
    myfaces/tomahawk/branches/tomahawk_next_20070827/core/src/main/java/org/apache/myfaces/custom/buffer/BufferTag.java
Modified:
    myfaces/tomahawk/branches/tomahawk_next_20070827/core/pom.xml
    myfaces/tomahawk/branches/tomahawk_next_20070827/core/src/main/java/org/apache/myfaces/custom/buffer/BufferRenderer.java
    myfaces/tomahawk/branches/tomahawk_next_20070827/pom.xml

Added: myfaces/tomahawk/branches/tomahawk_next_20070827/build/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/branches/tomahawk_next_20070827/build/pom.xml?rev=578571&view=auto
==============================================================================
--- myfaces/tomahawk/branches/tomahawk_next_20070827/build/pom.xml (added)
+++ myfaces/tomahawk/branches/tomahawk_next_20070827/build/pom.xml Sun Sep 23 05:30:58 2007
@@ -0,0 +1,48 @@
+<?xml version="1.0"?>
+<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>
+
+    <groupId>org.apache.myfaces.tomahawk</groupId>
+    <artifactId>build</artifactId>
+    <packaging>jar</packaging>
+    <name>Tomahawk Build</name>
+
+    <parent>
+        <artifactId>tomahawk-project</artifactId>
+        <groupId>org.apache.myfaces.tomahawk</groupId>
+        <version>2.0-SNAPSHOT</version>
+    </parent>
+
+    <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.myfaces.trinidadbuild</groupId>
+            <artifactId>maven-faces-plugin</artifactId>
+            <version>1.2.2</version>
+            <configuration>
+              <excludes>
+                <exclude>**/includes/**</exclude>
+              </excludes>
+              <force>true</force>
+            </configuration>
+            <executions>
+              <execution>
+                <goals>
+                  <goal>generate-master-faces-config</goal>
+                </goals>
+              </execution>
+            </executions>
+              <dependencies>
+              <dependency>
+                <groupId>log4j</groupId>
+                <artifactId>log4j</artifactId>
+                <version>1.2.12</version>
+              </dependency>
+            </dependencies>
+          </plugin>
+        </plugins>
+      </build>
+
+
+</project>
\ No newline at end of file

Added: myfaces/tomahawk/branches/tomahawk_next_20070827/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/ui/FacesBindingProperty.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/branches/tomahawk_next_20070827/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/ui/FacesBindingProperty.xml?rev=578571&view=auto
==============================================================================
--- myfaces/tomahawk/branches/tomahawk_next_20070827/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/ui/FacesBindingProperty.xml (added)
+++ myfaces/tomahawk/branches/tomahawk_next_20070827/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/ui/FacesBindingProperty.xml Sun Sep 23 05:30:58 2007
@@ -0,0 +1,32 @@
+<?xml version="1.0" ?>
+<!--
+  Copyright 2006 The Apache Software Foundation.
+
+  Licensed 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.
+-->
+<faces-config version="1.2" xmlns="http://java.sun.com/xml/ns/javaee"
+              xmlns:mfp="http://myfaces.apache.org/maven-faces-plugin">
+    <component>
+        <property>
+            <description>Identifies a backing bean property (of type UIComponent or appropriate
+                subclass) to bind to this component instance. This value must be an
+                EL expression.
+            </description>
+            <property-name>binding</property-name>
+            <property-class>javax.faces.component.UIComponent</property-class>
+            <property-extension>
+                <mfp:required>false</mfp:required>
+            </property-extension>
+        </property>
+    </component>
+</faces-config>

Added: myfaces/tomahawk/branches/tomahawk_next_20070827/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/ui/FacesIdOptionalProperty.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/branches/tomahawk_next_20070827/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/ui/FacesIdOptionalProperty.xml?rev=578571&view=auto
==============================================================================
--- myfaces/tomahawk/branches/tomahawk_next_20070827/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/ui/FacesIdOptionalProperty.xml (added)
+++ myfaces/tomahawk/branches/tomahawk_next_20070827/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/ui/FacesIdOptionalProperty.xml Sun Sep 23 05:30:58 2007
@@ -0,0 +1,33 @@
+<?xml version="1.0" ?>
+<!--
+  Copyright 2006 The Apache Software Foundation.
+
+  Licensed 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.
+-->
+<faces-config version="1.2" xmlns="http://java.sun.com/xml/ns/javaee"
+		xmlns:mfp="http://myfaces.apache.org/maven-faces-plugin"
+		xmlns:xi="http://www.w3.org/2001/XInclude">
+	<component>
+		<property>
+			<description> The developer-assigned ID of this component.  The ID must be unique
+			within the scope of the tag's enclosing naming container (e.g. 
+			h:form or f:subview).  This value must be a static value.</description>
+			<property-name>id</property-name>
+			<property-class>java.lang.String</property-class>
+			<property-extension>
+                <mfp:literal-only>true</mfp:literal-only>
+                <mfp:required>false</mfp:required>
+			</property-extension>
+		</property>
+	</component>
+</faces-config>

Added: myfaces/tomahawk/branches/tomahawk_next_20070827/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/ui/FacesImmediateProperty.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/branches/tomahawk_next_20070827/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/ui/FacesImmediateProperty.xml?rev=578571&view=auto
==============================================================================
--- myfaces/tomahawk/branches/tomahawk_next_20070827/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/ui/FacesImmediateProperty.xml (added)
+++ myfaces/tomahawk/branches/tomahawk_next_20070827/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/ui/FacesImmediateProperty.xml Sun Sep 23 05:30:58 2007
@@ -0,0 +1,32 @@
+<?xml version="1.0" ?>
+<!--
+  Copyright 2006 The Apache Software Foundation.
+
+  Licensed 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.
+-->
+<faces-config version="1.2" xmlns="http://java.sun.com/xml/ns/javaee"
+		xmlns:mfp="http://myfaces.apache.org/maven-faces-plugin"
+		xmlns:xi="http://www.w3.org/2001/XInclude">
+	<component>
+        <property>
+            <description><![CDATA[A boolean value that identifies the phase during which action events
+        should fire. During normal event processing, action methods and
+        action listener methods are fired during the "invoke application"
+        phase of request processing. If this attribute is set to "true",
+        these methods are fired instead at the end of the "apply request
+        values" phase.]]></description>
+            <property-name>immediate</property-name>
+            <property-class>boolean</property-class>
+        </property>
+	</component>
+</faces-config>

Added: myfaces/tomahawk/branches/tomahawk_next_20070827/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/ui/FacesRenderedProperty.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/branches/tomahawk_next_20070827/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/ui/FacesRenderedProperty.xml?rev=578571&view=auto
==============================================================================
--- myfaces/tomahawk/branches/tomahawk_next_20070827/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/ui/FacesRenderedProperty.xml (added)
+++ myfaces/tomahawk/branches/tomahawk_next_20070827/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/ui/FacesRenderedProperty.xml Sun Sep 23 05:30:58 2007
@@ -0,0 +1,35 @@
+<?xml version="1.0" ?>
+<!--
+  Copyright 2006 The Apache Software Foundation.
+
+  Licensed 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.
+-->
+<faces-config version="1.2" xmlns="http://java.sun.com/xml/ns/javaee"
+        xmlns:mfp="http://myfaces.apache.org/maven-faces-plugin"
+        xmlns:xi="http://www.w3.org/2001/XInclude">
+    <component>
+        <property>
+            <description>A boolean value that indicates whether this component should be rendered.
+            Default value: true.</description>
+            <property-name>rendered</property-name>
+            <property-class>java.lang.Boolean</property-class>
+            <default-value>true</default-value>
+            <property-extension>
+                <mfp:property-metadata>
+                    <!-- todo: is this general???-->
+                    <mfp:group>${md:getTranslatedString("CORE_GROUP")}</mfp:group>
+                </mfp:property-metadata>
+            </property-extension>
+        </property>
+	</component>
+</faces-config>

Added: myfaces/tomahawk/branches/tomahawk_next_20070827/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/ui/FacesRequiredProperty.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/branches/tomahawk_next_20070827/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/ui/FacesRequiredProperty.xml?rev=578571&view=auto
==============================================================================
--- myfaces/tomahawk/branches/tomahawk_next_20070827/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/ui/FacesRequiredProperty.xml (added)
+++ myfaces/tomahawk/branches/tomahawk_next_20070827/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/ui/FacesRequiredProperty.xml Sun Sep 23 05:30:58 2007
@@ -0,0 +1,28 @@
+<?xml version="1.0" ?>
+<!--
+  Copyright 2006 The Apache Software Foundation.
+
+  Licensed 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.
+-->
+<faces-config version="1.2" xmlns="http://java.sun.com/xml/ns/javaee"
+		xmlns:mfp="http://myfaces.apache.org/maven-faces-plugin"
+		xmlns:xi="http://www.w3.org/2001/XInclude">
+	<component>
+        <property>
+            <description>A boolean value that indicates whether a value is required. Default value: false.</description>
+            <property-name>required</property-name>
+            <property-class>boolean</property-class>
+            <default-value>false</default-value>
+        </property>
+	</component>
+</faces-config>

Added: myfaces/tomahawk/branches/tomahawk_next_20070827/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/ui/_CommandProperties.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/branches/tomahawk_next_20070827/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/ui/_CommandProperties.xml?rev=578571&view=auto
==============================================================================
--- myfaces/tomahawk/branches/tomahawk_next_20070827/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/ui/_CommandProperties.xml (added)
+++ myfaces/tomahawk/branches/tomahawk_next_20070827/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/ui/_CommandProperties.xml Sun Sep 23 05:30:58 2007
@@ -0,0 +1,77 @@
+<?xml version="1.0" ?>
+<!--
+  Copyright 2006 The Apache Software Foundation.
+
+  Licensed 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.
+-->
+<faces-config version="1.2" xmlns="http://java.sun.com/xml/ns/javaee"
+              xmlns:mfp="http://myfaces.apache.org/maven-faces-plugin"
+              xmlns:xi="http://www.w3.org/2001/XInclude">
+    <component>
+        <!--value, actionListener, action, immediate-->
+
+        <xi:include href="../../includes/ui/FacesImmediateProperty.xml" xpointer="/faces-config/component/*"/>
+
+        <property>
+            <description><![CDATA[The initial value of this component.]]></description>
+            <property-name>value</property-name>
+            <property-class>java.lang.Object</property-class>
+        </property>
+
+        <property>
+            <description><![CDATA[Specifies the action to take when this command is invoked.
+        If the value is an expression, it is expected to be a method
+        binding EL expression that identifies an action method. An action method
+        accepts no parameters and has a String return value, called the action
+        outcome, that identifies the next view displayed. The phase that this
+        event is fired in can be controlled via the immediate attribute.
+
+        If the value is a string literal, it is treated as a navigation outcome
+        for the current view.  This is functionally equivalent to a reference to
+        an action method that returns the string literal.]]></description>
+            <property-name>actionExpression</property-name>
+            <property-class>javax.el.MethodExpression</property-class>
+            <property-extension>
+                <mfp:method-binding-signature>
+                    <mfp:return-type>java.lang.Object</mfp:return-type>
+                </mfp:method-binding-signature>
+                <mfp:property-metadata>
+                    <mfp:preferred>true</mfp:preferred>
+                </mfp:property-metadata>
+                <mfp:state-holder>yes</mfp:state-holder>
+                <mfp:jsp-property-name>action</mfp:jsp-property-name>
+            </property-extension>
+        </property>
+
+        <property>
+            <description><![CDATA[A method binding EL expression that identifies an action listener method
+        to be invoked if this component is activated by the user. An action
+        listener method accepts a parameter of type javax.faces.event.ActionEvent
+        and returns void. The phase that this event is fired in can be controlled
+        via the immediate attribute.]]></description>
+            <property-name>actionListener</property-name>
+            <property-class>javax.faces.el.MethodBinding</property-class>
+            <property-extension>
+                <mfp:method-binding-signature>
+                    <mfp:parameter-type>javax.faces.event.ActionEvent</mfp:parameter-type>
+                    <mfp:return-type>void</mfp:return-type>
+                </mfp:method-binding-signature>
+                <mfp:property-metadata>
+                    <mfp:preferred>true</mfp:preferred>
+                    <mfp:required>false</mfp:required>
+                </mfp:property-metadata>
+                <mfp:state-holder>yes</mfp:state-holder>
+            </property-extension>
+        </property>
+    </component>
+</faces-config>

Added: myfaces/tomahawk/branches/tomahawk_next_20070827/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/ui/_ComponentProperties.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/branches/tomahawk_next_20070827/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/ui/_ComponentProperties.xml?rev=578571&view=auto
==============================================================================
--- myfaces/tomahawk/branches/tomahawk_next_20070827/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/ui/_ComponentProperties.xml (added)
+++ myfaces/tomahawk/branches/tomahawk_next_20070827/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/ui/_ComponentProperties.xml Sun Sep 23 05:30:58 2007
@@ -0,0 +1,25 @@
+<?xml version="1.0" ?>
+<!--
+  Copyright 2006 The Apache Software Foundation.
+
+  Licensed 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.
+-->
+<faces-config version="1.2" xmlns="http://java.sun.com/xml/ns/javaee"
+		xmlns:mfp="http://myfaces.apache.org/maven-faces-plugin"
+		xmlns:xi="http://www.w3.org/2001/XInclude">
+	<component>
+		<xi:include href="FacesIdOptionalProperty.xml" xpointer="/faces_config/component/*" />
+		<xi:include href="FacesBindingProperty.xml" xpointer="/faces_config/component/*" />
+	    <xi:include href="FacesRenderedProperty.xml" xpointer="/faces_config/component/*" />
+	</component>
+</faces-config>	

Added: myfaces/tomahawk/branches/tomahawk_next_20070827/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/Component.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/branches/tomahawk_next_20070827/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/Component.xml?rev=578571&view=auto
==============================================================================
--- myfaces/tomahawk/branches/tomahawk_next_20070827/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/Component.xml (added)
+++ myfaces/tomahawk/branches/tomahawk_next_20070827/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/Component.xml Sun Sep 23 05:30:58 2007
@@ -0,0 +1,40 @@
+<?xml version="1.0" ?>
+<!--
+  Copyright 2006 The Apache Software Foundation.
+
+  Licensed 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.
+-->
+<faces-config version="1.2" xmlns="http://java.sun.com/xml/ns/javaee"
+              xmlns:mfp="http://myfaces.apache.org/maven-faces-plugin"
+              xmlns:xi="http://www.w3.org/2001/XInclude">
+    <component>
+        <component-type>javax.faces.Component</component-type>
+        <component-class>javax.faces.component.UIComponent</component-class>
+        <component-extension>
+            <mfp:component-class-modifier>abstract</mfp:component-class-modifier>
+        </component-extension>
+
+        <!-- id, binding, rendered-->
+        <xi:include href="../../includes/ui/_ComponentProperties.xml" xpointer="/faces-config/component/*"/>
+
+        <property>
+            <property-name>transient</property-name>
+            <property-class>boolean</property-class>
+            <property-extension>
+                <mfp:literal-only>true</mfp:literal-only>
+                <mfp:transient>true</mfp:transient>
+                <mfp:tag-attribute-excluded>true</mfp:tag-attribute-excluded>
+            </property-extension>
+        </property>
+    </component>
+</faces-config>
\ No newline at end of file

Added: myfaces/tomahawk/branches/tomahawk_next_20070827/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/ComponentBase.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/branches/tomahawk_next_20070827/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/ComponentBase.xml?rev=578571&view=auto
==============================================================================
--- myfaces/tomahawk/branches/tomahawk_next_20070827/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/ComponentBase.xml (added)
+++ myfaces/tomahawk/branches/tomahawk_next_20070827/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/ComponentBase.xml Sun Sep 23 05:30:58 2007
@@ -0,0 +1,30 @@
+<?xml version="1.0" ?>
+<!--
+  Copyright 2006 The Apache Software Foundation.
+
+  Licensed 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.
+-->
+<faces-config version="1.2" xmlns="http://java.sun.com/xml/ns/javaee"
+              xmlns:f="http://java.sun.com/jsf/core"
+              xmlns:mfp="http://myfaces.apache.org/maven-faces-plugin"
+              xmlns:xhtml="http://www.w3.org/1999/xhtml">
+    <component>
+        <component-type>javax.faces.ComponentBase</component-type>
+        <component-class>javax.faces.component.UIComponentBase</component-class>
+        <component-extension>
+            <mfp:component-supertype>javax.faces.Component</mfp:component-supertype>
+            <mfp:tag-class>javax.faces.webapp.UIComponentELTag</mfp:tag-class>
+            <mfp:component-class-modifier>abstract</mfp:component-class-modifier>
+        </component-extension>
+    </component>
+</faces-config>

Added: myfaces/tomahawk/branches/tomahawk_next_20070827/build/src/main/resources/META-INF/maven-faces-plugin/components/tomahawk/html/Buffer.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/branches/tomahawk_next_20070827/build/src/main/resources/META-INF/maven-faces-plugin/components/tomahawk/html/Buffer.xml?rev=578571&view=auto
==============================================================================
--- myfaces/tomahawk/branches/tomahawk_next_20070827/build/src/main/resources/META-INF/maven-faces-plugin/components/tomahawk/html/Buffer.xml (added)
+++ myfaces/tomahawk/branches/tomahawk_next_20070827/build/src/main/resources/META-INF/maven-faces-plugin/components/tomahawk/html/Buffer.xml Sun Sep 23 05:30:58 2007
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+  Copyright 2007 The Apache Software Foundation.
+
+  Licensed 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.
+-->
+<faces-config version="1.2" xmlns="http://java.sun.com/xml/ns/javaee"
+              xmlns:xi="http://www.w3.org/2001/XInclude"
+              xmlns:mfp="http://myfaces.apache.org/maven-faces-plugin"
+              xmlns:xhtml="http://www.w3.org/1999/xhtml">
+    <component>
+        <!-- ################################ defined Properties ################################ -->
+        <!-- # from super classes:                                                              # -->
+        <!-- #     id, binding, rendered, transient                                             # -->
+        <!-- # ******************************************************************************** # -->
+        <!-- # for, showDetail, showSummary                                                     # -->
+        <!-- #################################################################################### -->
+        <component-type>org.apache.myfaces.Buffer</component-type>
+        <component-class>org.apache.myfaces.custom.buffer.Buffer</component-class>
+        <description>Unless otherwise specified, all attributes accept static values or EL expressions..</description>
+
+        <property>
+            <property-name>into</property-name>
+            <property-class>java.lang.String</property-class>
+        </property>
+
+        <component-extension>
+            <!--for the Component generation-->
+            <mfp:component-family>javax.faces.Data</mfp:component-family>
+            <mfp:component-superclass>javax.faces.component.UIComponentBase</mfp:component-superclass>
+            <mfp:component-supertype>javax.faces.ComponentBase</mfp:component-supertype>
+
+            <!--for the TLD generation-->
+            <!-- SPEC PAGE 299-300 column 3-->
+            <mfp:tag-name>t:buffer</mfp:tag-name>
+
+            <!--for the TagLib generation-->
+            <mfp:tag-class>org.apache.myfaces.custom.buffer.BufferTag</mfp:tag-class>
+
+            <!-- SPEC PAGE 299-300 column 2-->
+            <mfp:renderer-type>org.apache.myfaces.Buffer</mfp:renderer-type>
+        </component-extension>
+    </component>
+</faces-config>
\ No newline at end of file

Added: myfaces/tomahawk/branches/tomahawk_next_20070827/build/src/main/resources/META-INF/maven-faces-plugin/config/faces-config.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/branches/tomahawk_next_20070827/build/src/main/resources/META-INF/maven-faces-plugin/config/faces-config.xml?rev=578571&view=auto
==============================================================================
--- myfaces/tomahawk/branches/tomahawk_next_20070827/build/src/main/resources/META-INF/maven-faces-plugin/config/faces-config.xml (added)
+++ myfaces/tomahawk/branches/tomahawk_next_20070827/build/src/main/resources/META-INF/maven-faces-plugin/config/faces-config.xml Sun Sep 23 05:30:58 2007
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+<!--
+ * 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.
+-->
+
+<faces-config version="1.2" xmlns="http://java.sun.com/xml/ns/javaee"
+	xmlns:xi="http://www.w3.org/2001/XInclude"
+	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_1_2.xsd">
+
+  <lifecycle>
+      <phase-listener>org.apache.myfaces.renderkit.html.util.ExtensionsPhaseListener</phase-listener>
+      <!-- This PhaseListener is only necessary if the autoscroll feature is used -->
+      <phase-listener>org.apache.myfaces.renderkit.html.util.AutoScrollPhaseListener</phase-listener>
+  </lifecycle>
+
+  
+</faces-config>

Modified: myfaces/tomahawk/branches/tomahawk_next_20070827/core/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/branches/tomahawk_next_20070827/core/pom.xml?rev=578571&r1=578570&r2=578571&view=diff
==============================================================================
--- myfaces/tomahawk/branches/tomahawk_next_20070827/core/pom.xml (original)
+++ myfaces/tomahawk/branches/tomahawk_next_20070827/core/pom.xml Sun Sep 23 05:30:58 2007
@@ -88,6 +88,12 @@
       </dependency>
 
     <!-- provided dependencies -->
+    <dependency>
+      <groupId>org.apache.myfaces.tomahawk</groupId>
+      <artifactId>build</artifactId>
+      <version>2.0-SNAPSHOT</version>
+      <scope>provided</scope>
+    </dependency>
 
     <dependency>
       <groupId>org.apache.myfaces.core</groupId>
@@ -222,6 +228,35 @@
     </resources>
 
     <plugins>
+
+      <plugin>
+        <groupId>org.apache.myfaces.trinidadbuild</groupId>
+        <artifactId>maven-faces-plugin</artifactId>
+        <version>1.2.2</version>
+        <configuration>
+          <taglibs>
+            <t>http://myfaces.apache.org/tomahawk</t>
+          </taglibs>
+          <!--<targetPath>META-INF/tomahawk-faces-config.xml</targetPath>-->
+          <typePrefix>org.apache</typePrefix>
+          <packageContains>org.apache</packageContains>
+          <skipApiOrBaseClasses>false</skipApiOrBaseClasses>
+          <jsfVersion>1.2</jsfVersion>
+          <force>true</force>
+          <templateSourceDirectory>src/main/java-templates</templateSourceDirectory>
+          <disableIdExpressions>true</disableIdExpressions>
+        </configuration>
+        <executions>
+          <execution>
+            <goals>
+              <goal>generate-faces-config</goal>
+              <goal>generate-components</goal>
+              <goal>generate-jsp-taglibs</goal>
+              <goal>generate-facelets-taglibs</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
 
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>

Modified: myfaces/tomahawk/branches/tomahawk_next_20070827/core/src/main/java/org/apache/myfaces/custom/buffer/BufferRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/branches/tomahawk_next_20070827/core/src/main/java/org/apache/myfaces/custom/buffer/BufferRenderer.java?rev=578571&r1=578570&r2=578571&view=diff
==============================================================================
--- myfaces/tomahawk/branches/tomahawk_next_20070827/core/src/main/java/org/apache/myfaces/custom/buffer/BufferRenderer.java (original)
+++ myfaces/tomahawk/branches/tomahawk_next_20070827/core/src/main/java/org/apache/myfaces/custom/buffer/BufferRenderer.java Sun Sep 23 05:30:58 2007
@@ -57,7 +57,7 @@
     public void encodeEnd(FacesContext facesContext, UIComponent uiComponent) {
         Buffer buffer = (Buffer)uiComponent;
         HtmlBufferResponseWriterWrapper writer = (HtmlBufferResponseWriterWrapper) facesContext.getResponseWriter();
-        buffer.fill(writer.toString(), facesContext);
+        buffer.setInto(writer.toString());
 
         facesContext.setResponseWriter( writer.getInitialWriter() );
 

Modified: myfaces/tomahawk/branches/tomahawk_next_20070827/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/branches/tomahawk_next_20070827/pom.xml?rev=578571&r1=578570&r2=578571&view=diff
==============================================================================
--- myfaces/tomahawk/branches/tomahawk_next_20070827/pom.xml (original)
+++ myfaces/tomahawk/branches/tomahawk_next_20070827/pom.xml Sun Sep 23 05:30:58 2007
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
 <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>
 
@@ -195,6 +196,7 @@
   </profiles>
 
   <modules>
+    <module>build</module>
     <module>core</module>
     <module>examples</module>
     <module>sandbox</module>
@@ -228,4 +230,4 @@
     <jsf-impl.scope>test</jsf-impl.scope>
   </properties>
 
-</project>
+</project>
\ No newline at end of file