You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by ma...@apache.org on 2006/04/13 10:21:30 UTC
svn commit: r393759 - in /myfaces/core/trunk/api: ./ build.xml pom.xml
src/main/java/javax/faces/component/
Author: manolito
Date: Thu Apr 13 01:21:28 2006
New Revision: 393759
URL: http://svn.apache.org/viewcvs?rev=393759&view=rev
Log:
added codegen feature
Added:
myfaces/core/trunk/api/build.xml (with props)
Modified:
myfaces/core/trunk/api/ (props changed)
myfaces/core/trunk/api/pom.xml
myfaces/core/trunk/api/src/main/java/javax/faces/component/ (props changed)
Propchange: myfaces/core/trunk/api/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Thu Apr 13 01:21:28 2006
@@ -7,3 +7,4 @@
.classpath
.project
.settings
+velocity.log
Added: myfaces/core/trunk/api/build.xml
URL: http://svn.apache.org/viewcvs/myfaces/core/trunk/api/build.xml?rev=393759&view=auto
==============================================================================
--- myfaces/core/trunk/api/build.xml (added)
+++ myfaces/core/trunk/api/build.xml Thu Apr 13 01:21:28 2006
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<project name="myfaces-codegen" >
+
+ <target name="generate-components">
+ <taskdef name="generate" classname="org.apache.myfaces.codegen.component.ComponentGeneratorTask">
+ <classpath refid="maven.plugin.classpath"/>
+ </taskdef>
+ <generate basedir="${src.dir}" destdir="${src.dir}"
+ includes="javax/faces/component/*.xml,
+ javax/faces/component/html/*.xml" />
+ </target>
+
+</project>
\ No newline at end of file
Propchange: myfaces/core/trunk/api/build.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/core/trunk/api/build.xml
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Modified: myfaces/core/trunk/api/pom.xml
URL: http://svn.apache.org/viewcvs/myfaces/core/trunk/api/pom.xml?rev=393759&r1=393758&r2=393759&view=diff
==============================================================================
--- myfaces/core/trunk/api/pom.xml (original)
+++ myfaces/core/trunk/api/pom.xml Thu Apr 13 01:21:28 2006
@@ -227,6 +227,51 @@
</plugins>
</build>
</profile>
+
+ <profile>
+ <id>regenerate-component-code</id>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>regenerate-component-code-parts</id>
+ <phase>process-sources</phase>
+ <configuration>
+ <tasks>
+ <property name="src.dir" value="${project.basedir}/src/main/java"/>
+ <ant dir="${project.basedir}" antfile="build.xml"
+ inheritRefs="true" inheritAll="true">
+ <target name="generate-components"/>
+ </ant>
+ </tasks>
+ </configuration>
+ <goals><goal>run</goal></goals>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>commons-logging</groupId>
+ <artifactId>commons-logging</artifactId>
+ <version>1.0.4</version>
+ </dependency>
+ <dependency>
+ <groupId>velocity</groupId>
+ <artifactId>velocity</artifactId>
+ <version>1.4</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.myfaces.maven</groupId>
+ <artifactId>build-tools</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+
</profiles>
Propchange: myfaces/core/trunk/api/src/main/java/javax/faces/component/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Thu Apr 13 01:21:28 2006
@@ -0,0 +1 @@
+*.bak