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 2008/04/01 06:20:07 UTC

svn commit: r643272 - in /myfaces/myfaces-build-tools/branches/skitching/test: ./ api/ api/src/ api/src/main/ api/src/main/java/ api/src/main/java/javax/ api/src/main/java/javax/faces/ api/src/main/java/javax/faces/component/ api/src/main/java/javax/fa...

Author: lu4242
Date: Mon Mar 31 21:20:06 2008
New Revision: 643272

URL: http://svn.apache.org/viewvc?rev=643272&view=rev
Log:
test project for check loading several components

Added:
    myfaces/myfaces-build-tools/branches/skitching/test/   (with props)
    myfaces/myfaces-build-tools/branches/skitching/test/api/   (with props)
    myfaces/myfaces-build-tools/branches/skitching/test/api/pom.xml   (with props)
    myfaces/myfaces-build-tools/branches/skitching/test/api/src/
    myfaces/myfaces-build-tools/branches/skitching/test/api/src/main/
    myfaces/myfaces-build-tools/branches/skitching/test/api/src/main/java/
    myfaces/myfaces-build-tools/branches/skitching/test/api/src/main/java/javax/
    myfaces/myfaces-build-tools/branches/skitching/test/api/src/main/java/javax/faces/
    myfaces/myfaces-build-tools/branches/skitching/test/api/src/main/java/javax/faces/component/
    myfaces/myfaces-build-tools/branches/skitching/test/api/src/main/java/javax/faces/component/UIComponent.java   (with props)
    myfaces/myfaces-build-tools/branches/skitching/test/api/src/main/java/javax/faces/component/html/
    myfaces/myfaces-build-tools/branches/skitching/test/api/src/main/java/javax/faces/component/html/HtmlCommandButton.java   (with props)
    myfaces/myfaces-build-tools/branches/skitching/test/api/src/main/java/javax/faces/webapp/
    myfaces/myfaces-build-tools/branches/skitching/test/api/src/main/java/javax/faces/webapp/UIComponentTag.java   (with props)
    myfaces/myfaces-build-tools/branches/skitching/test/pom.xml   (with props)
    myfaces/myfaces-build-tools/branches/skitching/test/tomahawk-core/
    myfaces/myfaces-build-tools/branches/skitching/test/tomahawk-sandbox-core/

Propchange: myfaces/myfaces-build-tools/branches/skitching/test/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Mon Mar 31 21:20:06 2008
@@ -0,0 +1,10 @@
+target
+.classpath
+.project
+.wtpmodules
+*.ipr
+*.iml
+*.iws
+.settings
+maven-eclipse.xml
+.externalToolsBuilder

Propchange: myfaces/myfaces-build-tools/branches/skitching/test/api/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Mon Mar 31 21:20:06 2008
@@ -0,0 +1,10 @@
+target
+.classpath
+.project
+.wtpmodules
+*.ipr
+*.iml
+*.iws
+.settings
+maven-eclipse.xml
+.externalToolsBuilder

Added: myfaces/myfaces-build-tools/branches/skitching/test/api/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/branches/skitching/test/api/pom.xml?rev=643272&view=auto
==============================================================================
--- myfaces/myfaces-build-tools/branches/skitching/test/api/pom.xml (added)
+++ myfaces/myfaces-build-tools/branches/skitching/test/api/pom.xml Mon Mar 31 21:20:06 2008
@@ -0,0 +1,228 @@
+<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">
+  <parent>
+    <groupId>org.apache.myfaces.buildtools</groupId>
+    <artifactId>myfaces-plugin-parent</artifactId>
+    <version>1.0.0-SNAPSHOT</version>
+  </parent>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.apache.myfaces.buildtools</groupId>
+  <artifactId>myfaces-builder-plugin-test-api</artifactId>
+  <version>1.0.0-SNAPSHOT</version>
+  <name>Apache MyFaces JSF-1.1 API</name>
+  <description>
+    The public API classes of the Apache MyFaces Core JSF-1.1 project.
+  </description>
+  <scm>
+    <connection>scm:svn:http://svn.apache.org/repos/asf/myfaces/core/trunk/api</connection>
+    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/myfaces/core/trunk/api</developerConnection>
+    <url>http://svn.apache.org/viewcvs.cgi/myfaces/core/trunk/api</url>
+  </scm>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.myfaces.buildtools</groupId>
+        <artifactId>myfaces-builder-plugin</artifactId>
+        <version>1.0.0-SNAPSHOT</version>
+	<executions>
+	  <execution>
+            <goals>
+              <goal>build-metadata</goal>             
+              <goal>make-config</goal>
+            </goals>
+	  </execution>
+	</executions>
+      </plugin>
+
+      <plugin>
+        <artifactId>maven-source-plugin</artifactId>
+        <version>2.0.4</version>
+        <executions>
+          <execution>
+            <id>attach-source</id>
+            <goals>
+              <goal>jar</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+
+  <profiles>
+    <profile>
+      <id>generate-assembly</id>
+      <activation>
+        <property>
+          <name>performRelease</name>
+          <value>true</value>
+        </property>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <artifactId>maven-javadoc-plugin</artifactId>
+            <version>2.3</version>
+            <executions>
+              <execution>
+                <id>attach-javadoc</id>
+                <goals>
+                  <goal>jar</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+    <profile>
+      <!--
+        - Apply the MyFaces core 1.1 code generation approach. Here, an ant task is executed to
+        - scan the sources directory for component and tag classes with special markers in them,
+        - and modify those java files in-place, adding properties etc. The modified classes are
+        - then checked back in; this task therefore only needs to be run when the config files
+        - that drives the code generation are modified.
+        -->
+      <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>
+                <goals>
+                  <goal>run</goal>
+                </goals>
+                <configuration>
+                  <tasks>
+                    <property value="${project.basedir}/src/main/java" name="src.dir" />
+                    <ant inheritRefs="true" inheritAll="true" antfile="build.xml" dir="${project.basedir}">
+                      <target name="generate-components" />
+                    </ant>
+                  </tasks>
+                </configuration>
+              </execution>
+            </executions>
+            <dependencies>
+                <dependency>
+                  <groupId>commons-logging</groupId>
+                  <artifactId>commons-logging</artifactId>
+                  <version>1.1.1</version>
+                </dependency>
+                <dependency>
+                  <groupId>velocity</groupId>
+                  <artifactId>velocity</artifactId>
+                  <version>1.5</version>
+                </dependency>
+                <dependency>
+                    <groupId>org.apache.myfaces.maven</groupId>
+                    <artifactId>build-tools</artifactId>
+                    <version>1.0.7-SNAPSHOT</version>
+                </dependency>
+            </dependencies> 
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
+  <dependencies>
+    <dependency>
+      <groupId>easymock</groupId>
+      <artifactId>easymockclassextension</artifactId>
+      <version>1.1</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>javax.servlet</groupId>
+      <artifactId>servlet-api</artifactId>
+      <version>2.3</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>javax.servlet</groupId>
+      <artifactId>jsp-api</artifactId>
+      <version>2.0</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.struts.shale</groupId>
+      <artifactId>shale-test</artifactId>
+      <version>1.0.2</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>javax.servlet</groupId>
+      <artifactId>jstl</artifactId>
+      <version>1.1.0</version>
+      <scope>compile</scope>
+      <exclusions>
+        <exclusion>
+          <artifactId>jsp-api</artifactId>
+          <groupId>javax.servlet</groupId>
+        </exclusion>
+      </exclusions>
+    </dependency>
+    <dependency>
+      <groupId>commons-logging</groupId>
+      <artifactId>commons-logging</artifactId>
+      <version>1.1.1</version>
+      <scope>compile</scope>
+    </dependency>
+    <dependency>
+      <groupId>easymock</groupId>
+      <artifactId>easymock</artifactId>
+      <version>1.1</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>aspectj</groupId>
+      <artifactId>aspectjrt</artifactId>
+      <version>1.2.1</version>
+      <scope>test</scope>
+    </dependency>
+  </dependencies>
+  <reporting>
+    <plugins>
+      <plugin>
+        <artifactId>maven-javadoc-plugin</artifactId>
+        <version>2.3</version>
+      </plugin>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>changelog-maven-plugin</artifactId>
+        <version>2.0-beta-1</version>
+        <reportSets>
+          <reportSet>
+            <id>dual-report</id>
+            <configuration>
+              <type>range</type>
+              <range>30</range>
+            </configuration>
+            <reports>
+              <report>changelog</report>
+              <report>file-activity</report>
+              <report>dev-activity</report>
+            </reports>
+          </reportSet>
+        </reportSets>
+      </plugin>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>jxr-maven-plugin</artifactId>
+        <version>2.0-beta-1</version>
+      </plugin>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>surefire-report-maven-plugin</artifactId>
+        <version>2.0-beta-1</version>
+      </plugin>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>taglist-maven-plugin</artifactId>
+        <version>2.1</version>
+      </plugin>
+    </plugins>
+  </reporting>
+</project>

Propchange: myfaces/myfaces-build-tools/branches/skitching/test/api/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/myfaces-build-tools/branches/skitching/test/api/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Added: myfaces/myfaces-build-tools/branches/skitching/test/api/src/main/java/javax/faces/component/UIComponent.java
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/branches/skitching/test/api/src/main/java/javax/faces/component/UIComponent.java?rev=643272&view=auto
==============================================================================
--- myfaces/myfaces-build-tools/branches/skitching/test/api/src/main/java/javax/faces/component/UIComponent.java (added)
+++ myfaces/myfaces-build-tools/branches/skitching/test/api/src/main/java/javax/faces/component/UIComponent.java Mon Mar 31 21:20:06 2008
@@ -0,0 +1,34 @@
+package javax.faces.component;
+
+/**
+ * 
+ * This is a base component 
+ * 
+ * @author Leonardo
+ * @JSFComponent
+ *   type = "javax.faces.Component"
+ *   family = "javax.faces.Component"
+ *   desc = "base component"
+ */
+public class UIComponent
+{
+
+    private String _id = null;
+    
+    /**
+     * Get a string which uniquely identifies this UIComponent within the
+     * scope of the nearest ancestor NamingContainer component. The id is
+     * not necessarily unique across all components in the current view.
+     * 
+     * @JSFProperty
+     */
+    public String getId()
+    {
+        return _id;
+    }
+    
+    public void setId(String id)
+    {
+        _id = id;
+    }
+}

Propchange: myfaces/myfaces-build-tools/branches/skitching/test/api/src/main/java/javax/faces/component/UIComponent.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/myfaces-build-tools/branches/skitching/test/api/src/main/java/javax/faces/component/UIComponent.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Added: myfaces/myfaces-build-tools/branches/skitching/test/api/src/main/java/javax/faces/component/html/HtmlCommandButton.java
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/branches/skitching/test/api/src/main/java/javax/faces/component/html/HtmlCommandButton.java?rev=643272&view=auto
==============================================================================
--- myfaces/myfaces-build-tools/branches/skitching/test/api/src/main/java/javax/faces/component/html/HtmlCommandButton.java (added)
+++ myfaces/myfaces-build-tools/branches/skitching/test/api/src/main/java/javax/faces/component/html/HtmlCommandButton.java Mon Mar 31 21:20:06 2008
@@ -0,0 +1,18 @@
+package javax.faces.component.html;
+
+/**
+ * 
+ * This is a component that inherits from UIComponent 
+ * 
+ * @author Leonardo
+ * @JSFComponent
+ *   type = "javax.faces.HtmlCommandButton"
+ *   family = "javax.faces.HtmlCommandButton"
+ *   desc = "base component"
+ */
+public class HtmlCommandButton
+{
+
+    
+    
+}

Propchange: myfaces/myfaces-build-tools/branches/skitching/test/api/src/main/java/javax/faces/component/html/HtmlCommandButton.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/myfaces-build-tools/branches/skitching/test/api/src/main/java/javax/faces/component/html/HtmlCommandButton.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Added: myfaces/myfaces-build-tools/branches/skitching/test/api/src/main/java/javax/faces/webapp/UIComponentTag.java
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/branches/skitching/test/api/src/main/java/javax/faces/webapp/UIComponentTag.java?rev=643272&view=auto
==============================================================================
--- myfaces/myfaces-build-tools/branches/skitching/test/api/src/main/java/javax/faces/webapp/UIComponentTag.java (added)
+++ myfaces/myfaces-build-tools/branches/skitching/test/api/src/main/java/javax/faces/webapp/UIComponentTag.java Mon Mar 31 21:20:06 2008
@@ -0,0 +1,6 @@
+package javax.faces.webapp;
+
+public class UIComponentTag
+{
+
+}

Propchange: myfaces/myfaces-build-tools/branches/skitching/test/api/src/main/java/javax/faces/webapp/UIComponentTag.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/myfaces-build-tools/branches/skitching/test/api/src/main/java/javax/faces/webapp/UIComponentTag.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Added: myfaces/myfaces-build-tools/branches/skitching/test/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/branches/skitching/test/pom.xml?rev=643272&view=auto
==============================================================================
--- myfaces/myfaces-build-tools/branches/skitching/test/pom.xml (added)
+++ myfaces/myfaces-build-tools/branches/skitching/test/pom.xml Mon Mar 31 21:20:06 2008
@@ -0,0 +1,42 @@
+<!--
+    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.
+	   
+-->
+<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>
+
+  <parent>
+    <groupId>org.apache.myfaces.buildtools</groupId>
+    <artifactId>myfaces-plugin-parent</artifactId>
+    <version>1.0.0-SNAPSHOT</version>
+  </parent>
+
+  <groupId>org.apache.myfaces.buildtools</groupId>
+  <artifactId>myfaces-builder-plugin-test</artifactId> 
+  <version>1.0.0-SNAPSHOT</version>  
+  <packaging>pom</packaging>
+  <name>Apache MyFaces Buildtools Maven2 Builder Plugin Test</name>
+  <description>
+     A test project for see how several mojos works in different situations
+  </description>
+
+  <modules>
+    <module>api</module>
+  </modules>
+
+</project>

Propchange: myfaces/myfaces-build-tools/branches/skitching/test/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/myfaces-build-tools/branches/skitching/test/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL