gump-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From leosim...@apache.org
Subject svn commit: rev 76204 - in gump/trunk: . src/documentation test/fixture test/fixture/projects test/fixture/projects/test1 test/fixture/projects/test1/src test/fixture/projects/test1/src/conf test/fixture/projects/test1/src/java test/fixture/projects/test1/src/java/org test/fixture/projects/test1/src/java/org/apache test/fixture/projects/test1/src/java/org/apache/gump test/fixture/projects/test1/src/java/org/apache/gump/test test/fixture/projects/test1/src/java/org/apache/gump/test/fixture test/fixture/projects/test1/src/java/org/apache/gump/test/fixture/test1 test/fixture/projects/test1/src/test test/fixture/projects/test1/src/test/org test/fixture/projects/test1/src/test/org/apache test/fixture/projects/test1/src/test/org/apache/gump test/fixture/projects/test1/src/test/org/apache/gump/test test/fixture/projects/test1/src/test/org/apache/gump/test/fixture test/fixture/projects/test1/src/test/org/apache/gump/test/fixture/test1 test/fixture/projects/test2 test/fixture/projects/test2/src test/fixture/projects/test2/src/conf test/fixture/projects/test2/src/java test/fixture/projects/test2/src/java/org test/fixture/projects/test2/src/java/org/apache test/fixture/projects/test2/src/java/org/apache/gump test/fixture/projects/test2/src/java/org/apache/gump/test test/fixture/projects/test2/src/java/org/apache/gump/test/fixture test/fixture/projects/test2/src/java/org/apache/gump/test/fixture/test2 test/fixture/projects/test2/src/test test/fixture/projects/test2/src/test/org test/fixture/projects/test2/src/test/org/apache test/fixture/projects/test2/src/test/org/apache/gump test/fixture/projects/test2/src/test/org/apache/gump/test test/fixture/projects/test2/src/test/org/apache/gump/test/fixture test/fixture/projects/test2/src/test/org/apache/gump/test/fixture/test2 test/fixture/projects/test3 test/fixture/projects/test3/src test/fixture/projects/test3/src/conf test/fixture/projects/test3/src/java test/fixture/projects/test3/src/java/org test/fixture/projects/test3/src/java/org/apache test/fixture/projects/test3/src/java/org/apache/gump test/fixture/projects/test3/src/java/org/apache/gump/test test/fixture/projects/test3/src/java/org/apache/gump/test/fixture test/fixture/projects/test3/src/java/org/apache/gump/test/fixture/test3 test/fixture/projects/test3/src/test test/fixture/projects/test3/src/test/org test/fixture/projects/test3/src/test/org/apache test/fixture/projects/test3/src/test/org/apache/gump test/fixture/projects/test3/src/test/org/apache/gump/test test/fixture/projects/test3/src/test/org/apache/gump/test/fixture test/fixture/projects/test3/src/test/org/apache/gump/test/fixture/test3 test/fixture/projects/test4 test/fixture/projects/test4/src test/fixture/projects/test4/src/conf test/fixture/projects/test4/src/java test/fixture/projects/test4/src/java/org test/fixture/projects/test4/src/java/org/apache test/fixture/projects/test4/src/java/org/apache/gump test/fixture/projects/test4/src/java/org/apache/gump/test test/fixture/projects/test4/src/java/org/apache/gump/test/fixture test/fixture/projects/test4/src/java/org/apache/gump/test/fixture/test4 test/fixture/projects/test4/src/test test/fixture/projects/test4/src/test/org test/fixture/projects/test4/src/test/org/apache test/fixture/projects/test4/src/test/org/apache/gump test/fixture/projects/test4/src/test/org/apache/gump/test test/fixture/projects/test4/src/test/org/apache/gump/test/fixture test/fixture/projects/test4/src/test/org/apache/gump/test/fixture/test4
Date Thu, 18 Nov 2004 00:34:45 GMT
Author: leosimons
Date: Wed Nov 17 16:34:44 2004
New Revision: 76204

Added:
   gump/trunk/src/documentation/LOGO
      - copied unchanged from rev 76200, gump/trunk/LOGO
   gump/trunk/test/fixture/
   gump/trunk/test/fixture/projects/
   gump/trunk/test/fixture/projects/test1/
   gump/trunk/test/fixture/projects/test1/build.xml
   gump/trunk/test/fixture/projects/test1/project.properties
   gump/trunk/test/fixture/projects/test1/project.xml
   gump/trunk/test/fixture/projects/test1/src/
   gump/trunk/test/fixture/projects/test1/src/conf/
   gump/trunk/test/fixture/projects/test1/src/conf/app.properties
   gump/trunk/test/fixture/projects/test1/src/java/
   gump/trunk/test/fixture/projects/test1/src/java/org/
   gump/trunk/test/fixture/projects/test1/src/java/org/apache/
   gump/trunk/test/fixture/projects/test1/src/java/org/apache/gump/
   gump/trunk/test/fixture/projects/test1/src/java/org/apache/gump/test/
   gump/trunk/test/fixture/projects/test1/src/java/org/apache/gump/test/fixture/
   gump/trunk/test/fixture/projects/test1/src/java/org/apache/gump/test/fixture/test1/
   gump/trunk/test/fixture/projects/test1/src/java/org/apache/gump/test/fixture/test1/App.java
   gump/trunk/test/fixture/projects/test1/src/test/
   gump/trunk/test/fixture/projects/test1/src/test/org/
   gump/trunk/test/fixture/projects/test1/src/test/org/apache/
   gump/trunk/test/fixture/projects/test1/src/test/org/apache/gump/
   gump/trunk/test/fixture/projects/test1/src/test/org/apache/gump/test/
   gump/trunk/test/fixture/projects/test1/src/test/org/apache/gump/test/fixture/
   gump/trunk/test/fixture/projects/test1/src/test/org/apache/gump/test/fixture/test1/
   gump/trunk/test/fixture/projects/test1/src/test/org/apache/gump/test/fixture/test1/AbstractTestCase.java
   gump/trunk/test/fixture/projects/test1/src/test/org/apache/gump/test/fixture/test1/AppTest.java
   gump/trunk/test/fixture/projects/test1/src/test/org/apache/gump/test/fixture/test1/NaughtyTest.java
   gump/trunk/test/fixture/projects/test2/
   gump/trunk/test/fixture/projects/test2/build.xml
   gump/trunk/test/fixture/projects/test2/project.properties
   gump/trunk/test/fixture/projects/test2/project.xml
   gump/trunk/test/fixture/projects/test2/src/
   gump/trunk/test/fixture/projects/test2/src/conf/
   gump/trunk/test/fixture/projects/test2/src/conf/app.properties
   gump/trunk/test/fixture/projects/test2/src/java/
   gump/trunk/test/fixture/projects/test2/src/java/org/
   gump/trunk/test/fixture/projects/test2/src/java/org/apache/
   gump/trunk/test/fixture/projects/test2/src/java/org/apache/gump/
   gump/trunk/test/fixture/projects/test2/src/java/org/apache/gump/test/
   gump/trunk/test/fixture/projects/test2/src/java/org/apache/gump/test/fixture/
   gump/trunk/test/fixture/projects/test2/src/java/org/apache/gump/test/fixture/test2/
   gump/trunk/test/fixture/projects/test2/src/java/org/apache/gump/test/fixture/test2/App.java
   gump/trunk/test/fixture/projects/test2/src/test/
   gump/trunk/test/fixture/projects/test2/src/test/org/
   gump/trunk/test/fixture/projects/test2/src/test/org/apache/
   gump/trunk/test/fixture/projects/test2/src/test/org/apache/gump/
   gump/trunk/test/fixture/projects/test2/src/test/org/apache/gump/test/
   gump/trunk/test/fixture/projects/test2/src/test/org/apache/gump/test/fixture/
   gump/trunk/test/fixture/projects/test2/src/test/org/apache/gump/test/fixture/test2/
   gump/trunk/test/fixture/projects/test2/src/test/org/apache/gump/test/fixture/test2/AbstractTestCase.java
   gump/trunk/test/fixture/projects/test2/src/test/org/apache/gump/test/fixture/test2/AppTest.java
   gump/trunk/test/fixture/projects/test2/src/test/org/apache/gump/test/fixture/test2/NaughtyTest.java
   gump/trunk/test/fixture/projects/test3/
   gump/trunk/test/fixture/projects/test3/build.xml
   gump/trunk/test/fixture/projects/test3/project.properties
   gump/trunk/test/fixture/projects/test3/project.xml
   gump/trunk/test/fixture/projects/test3/src/
   gump/trunk/test/fixture/projects/test3/src/conf/
   gump/trunk/test/fixture/projects/test3/src/conf/app.properties
   gump/trunk/test/fixture/projects/test3/src/java/
   gump/trunk/test/fixture/projects/test3/src/java/org/
   gump/trunk/test/fixture/projects/test3/src/java/org/apache/
   gump/trunk/test/fixture/projects/test3/src/java/org/apache/gump/
   gump/trunk/test/fixture/projects/test3/src/java/org/apache/gump/test/
   gump/trunk/test/fixture/projects/test3/src/java/org/apache/gump/test/fixture/
   gump/trunk/test/fixture/projects/test3/src/java/org/apache/gump/test/fixture/test3/
   gump/trunk/test/fixture/projects/test3/src/java/org/apache/gump/test/fixture/test3/App.java
   gump/trunk/test/fixture/projects/test3/src/test/
   gump/trunk/test/fixture/projects/test3/src/test/org/
   gump/trunk/test/fixture/projects/test3/src/test/org/apache/
   gump/trunk/test/fixture/projects/test3/src/test/org/apache/gump/
   gump/trunk/test/fixture/projects/test3/src/test/org/apache/gump/test/
   gump/trunk/test/fixture/projects/test3/src/test/org/apache/gump/test/fixture/
   gump/trunk/test/fixture/projects/test3/src/test/org/apache/gump/test/fixture/test3/
   gump/trunk/test/fixture/projects/test3/src/test/org/apache/gump/test/fixture/test3/AbstractTestCase.java
   gump/trunk/test/fixture/projects/test3/src/test/org/apache/gump/test/fixture/test3/AppTest.java
   gump/trunk/test/fixture/projects/test3/src/test/org/apache/gump/test/fixture/test3/NaughtyTest.java
   gump/trunk/test/fixture/projects/test4/
   gump/trunk/test/fixture/projects/test4/build.xml
   gump/trunk/test/fixture/projects/test4/project.properties
   gump/trunk/test/fixture/projects/test4/project.xml
   gump/trunk/test/fixture/projects/test4/src/
   gump/trunk/test/fixture/projects/test4/src/conf/
   gump/trunk/test/fixture/projects/test4/src/conf/app.properties
   gump/trunk/test/fixture/projects/test4/src/java/
   gump/trunk/test/fixture/projects/test4/src/java/org/
   gump/trunk/test/fixture/projects/test4/src/java/org/apache/
   gump/trunk/test/fixture/projects/test4/src/java/org/apache/gump/
   gump/trunk/test/fixture/projects/test4/src/java/org/apache/gump/test/
   gump/trunk/test/fixture/projects/test4/src/java/org/apache/gump/test/fixture/
   gump/trunk/test/fixture/projects/test4/src/java/org/apache/gump/test/fixture/test4/
   gump/trunk/test/fixture/projects/test4/src/java/org/apache/gump/test/fixture/test4/App.java
   gump/trunk/test/fixture/projects/test4/src/test/
   gump/trunk/test/fixture/projects/test4/src/test/org/
   gump/trunk/test/fixture/projects/test4/src/test/org/apache/
   gump/trunk/test/fixture/projects/test4/src/test/org/apache/gump/
   gump/trunk/test/fixture/projects/test4/src/test/org/apache/gump/test/
   gump/trunk/test/fixture/projects/test4/src/test/org/apache/gump/test/fixture/
   gump/trunk/test/fixture/projects/test4/src/test/org/apache/gump/test/fixture/test4/
   gump/trunk/test/fixture/projects/test4/src/test/org/apache/gump/test/fixture/test4/AbstractTestCase.java
   gump/trunk/test/fixture/projects/test4/src/test/org/apache/gump/test/fixture/test4/AppTest.java
   gump/trunk/test/fixture/projects/test4/src/test/org/apache/gump/test/fixture/test4/NaughtyTest.java
Removed:
   gump/trunk/LOGO
   gump/trunk/gump.py
Modified:
   gump/trunk/status.xml
Log:
Start adding a text fixture. Clean up a little. Get rid of gump.py for now as it is not used and confusing.

Modified: gump/trunk/status.xml
==============================================================================
--- gump/trunk/status.xml	(original)
+++ gump/trunk/status.xml	Wed Nov 17 16:34:44 2004
@@ -14,6 +14,8 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
+<!-- this file is here because forrest will complain otherwise.
+     Don't put any information in here. -->
 <status>
 
   <developers>

Added: gump/trunk/test/fixture/projects/test1/build.xml
==============================================================================
--- (empty file)
+++ gump/trunk/test/fixture/projects/test1/build.xml	Wed Nov 17 16:34:44 2004
@@ -0,0 +1,163 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--build.xml generated by maven from project.xml version 1.0
+  on date November 17 2004, time 1833-->
+
+<project default="jar" name="test1" basedir=".">
+  <property name="defaulttargetdir" value="/Users/lsimons/svn/gump/trunk/test/fixture/test1/target">
+  </property>
+  <property name="libdir" value="/Users/lsimons/svn/gump/trunk/test/fixture/test1/target/lib">
+  </property>
+  <property name="classesdir" value="/Users/lsimons/svn/gump/trunk/test/fixture/test1/target/classes">
+  </property>
+  <property name="testclassesdir" value="/Users/lsimons/svn/gump/trunk/test/fixture/test1/target/test-classes">
+  </property>
+  <property name="testclassesdir" value="/Users/lsimons/svn/gump/trunk/test/fixture/test1/target/test-classes">
+  </property>
+  <property name="testreportdir" value="/Users/lsimons/svn/gump/trunk/test/fixture/test1/target/test-reports">
+  </property>
+  <property name="distdir" value="dist">
+  </property>
+  <property name="javadocdir" value="dist/docs/api">
+  </property>
+  <property name="final.name" value="test1-1.0">
+  </property>
+  <target name="init" description="o Initializes some properties">
+    <mkdir dir="${libdir}">
+    </mkdir>
+    <condition property="noget">
+      <equals arg2="only" arg1="${build.sysclasspath}">
+      </equals>
+    </condition>
+  </target>
+  <target name="compile" description="o Compile the code" depends="get-deps">
+    <mkdir dir="${classesdir}">
+    </mkdir>
+    <javac destdir="${classesdir}" deprecation="true" debug="true" optimize="false" excludes="**/package.html">
+      <src>
+        <pathelement location="src/java">
+        </pathelement>
+      </src>
+      <classpath>
+        <fileset dir="${libdir}">
+          <include name="*.jar">
+          </include>
+        </fileset>
+      </classpath>
+    </javac>
+    <copy todir="${classesdir}">
+      <fileset dir="src/conf">
+        <include name="*.properties">
+        </include>
+      </fileset>
+    </copy>
+  </target>
+  <target name="jar" description="o Create the jar" depends="compile,test">
+    <jar jarfile="${defaulttargetdir}/${final.name}.jar" excludes="**/package.html" basedir="${classesdir}">
+    </jar>
+  </target>
+  <target name="clean" description="o Clean up the generated directories">
+    <delete dir="${defaulttargetdir}">
+    </delete>
+    <delete dir="${distdir}">
+    </delete>
+  </target>
+  <target name="dist" description="o Create a distribution" depends="jar, javadoc">
+    <mkdir dir="dist">
+    </mkdir>
+    <copy todir="dist">
+      <fileset dir="${defaulttargetdir}" includes="*.jar">
+      </fileset>
+      <fileset dir="${basedir}" includes="LICENSE*, README*">
+      </fileset>
+    </copy>
+  </target>
+  <target name="test" description="o Run the test cases" if="test.failure" depends="internal-test">
+    <fail message="There were test failures.">
+    </fail>
+  </target>
+  <target name="internal-test" depends="compile-tests">
+    <mkdir dir="${testreportdir}">
+    </mkdir>
+    <junit dir="./" failureproperty="test.failure" printSummary="yes" fork="true" haltonerror="true">
+      <sysproperty key="basedir" value=".">
+      </sysproperty>
+      <formatter type="xml">
+      </formatter>
+      <formatter usefile="false" type="plain">
+      </formatter>
+      <classpath>
+        <fileset dir="${libdir}">
+          <include name="*.jar">
+          </include>
+        </fileset>
+        <pathelement path="${testclassesdir}">
+        </pathelement>
+        <pathelement path="${classesdir}">
+        </pathelement>
+      </classpath>
+      <batchtest todir="${testreportdir}">
+        <fileset dir="src/test">
+          <include name="**/*Test.java">
+          </include>
+          <exclude name="**/NaughtyTest.java">
+          </exclude>
+        </fileset>
+      </batchtest>
+    </junit>
+  </target>
+  <target name="compile-tests" depends="compile">
+    <mkdir dir="${testclassesdir}">
+    </mkdir>
+    <javac destdir="${testclassesdir}" deprecation="true" debug="true" optimize="false" excludes="**/package.html">
+      <src>
+        <pathelement location="src/test">
+        </pathelement>
+      </src>
+      <classpath>
+        <fileset dir="${libdir}">
+          <include name="*.jar">
+          </include>
+        </fileset>
+        <pathelement path="${classesdir}">
+        </pathelement>
+      </classpath>
+    </javac>
+  </target>
+  <target name="javadoc" description="o Generate javadoc">
+    <mkdir dir="${javadocdir}">
+    </mkdir>
+    <tstamp>
+      <format pattern="2002-yyyy" property="year">
+      </format>
+    </tstamp>
+    <property name="copyright" value="Copyright &amp;copy;  Apache Software Foundation. All Rights Reserved.">
+    </property>
+    <property name="title" value="Gump Fixture Test 1 1.0 API">
+    </property>
+    <javadoc use="true" private="true" destdir="${javadocdir}" author="true" version="true" sourcepath="src/java" packagenames="org.apache.gump.test.fixture.test1.*">
+      <classpath>
+        <fileset dir="${libdir}">
+          <include name="*.jar">
+          </include>
+        </fileset>
+        <pathelement location="${defaulttargetdir}/${final.name}.jar">
+        </pathelement>
+      </classpath>
+    </javadoc>
+  </target>
+  <target name="get-deps" unless="noget" depends="init">
+    <get dest="${libdir}/junit-3.8.1.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven/junit/jars/junit-3.8.1.jar">
+    </get>
+    <get dest="${libdir}/ant-1.5.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven/ant/jars/ant-1.5.jar">
+    </get>
+    <get dest="${libdir}/ant-optional-1.5.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven/ant/jars/ant-optional-1.5.jar">
+    </get>
+  </target>
+  <target name="install-maven">
+    <get dest="${user.home}/maven-install-latest.jar" usetimestamp="true" src="${repo}/maven/maven-install-latest.jar">
+    </get>
+    <unjar dest="${maven.home}" src="${user.home}/maven-install-latest.jar">
+    </unjar>
+  </target>
+</project>
\ No newline at end of file

Added: gump/trunk/test/fixture/projects/test1/project.properties
==============================================================================
--- (empty file)
+++ gump/trunk/test/fixture/projects/test1/project.properties	Wed Nov 17 16:34:44 2004
@@ -0,0 +1,18 @@
+# -------------------------------------------------------------------
+# Copyright 2001-2004 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.
+# -------------------------------------------------------------------
+
+maven.xdoc.date=left
+## maven.xdoc.version=${pom.currentVersion}
\ No newline at end of file

Added: gump/trunk/test/fixture/projects/test1/project.xml
==============================================================================
--- (empty file)
+++ gump/trunk/test/fixture/projects/test1/project.xml	Wed Nov 17 16:34:44 2004
@@ -0,0 +1,98 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- 
+/*
+ * Copyright 2001-2004 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.
+ */
+ -->
+
+
+<project>
+  <!-- the version of maven's project object model -->
+
+  <pomVersion>3</pomVersion>
+  <!-- a unique name for this project -->
+
+  <id>test1</id>
+  <!-- a short but descriptive name for the project -->
+
+  <name>Gump Fixture Test 1</name>
+  <!-- The version of the project under development, e.g.
+       1.1, 1.2, 2.0-SNAPSHOT -->
+
+  <currentVersion>1.0</currentVersion>
+  <!-- details about the organization that 'owns' the project -->
+
+  <organization>
+    <name>Apache Software Foundation</name>
+    <url>http://www.apache.org/</url>
+    <logo>http://maven.apache.org/images/jakarta-logo-blue.gif</logo>
+  </organization>
+  <!-- the year the project started -->
+
+  <inceptionYear>2002</inceptionYear>
+  <package>org.apache.gump.test.fixture.test1</package>
+  <logo>http://maven.apache.org/images/maven.jpg</logo>
+  <description>A collection of example projects showing how to use maven in different situations</description>
+  <!-- a short description of what the project does -->
+
+  <shortDescription>How to use maven in different situations</shortDescription>
+  <!-- the project home page -->
+
+  <url>http://maven.apache.org/reference/plugins/examples/</url>
+  <issueTrackingUrl>http://nagoya.apache.org/scarab/servlet/scarab/</issueTrackingUrl>
+  <siteAddress>jakarta.apache.org</siteAddress>
+  <siteDirectory>/www/maven.apache.org/reference/plugins/examples/</siteDirectory>
+  <distributionDirectory>/www/maven.apache.org/builds/</distributionDirectory>
+  <!-- the version control repository and http url for online access
+       the connection element has the form:
+       scm:<system>:<system specific connection string> -->
+
+  <repository>
+    <connection>scm:cvs:pserver:anoncvs@cvs.apache.org:/home/cvspublic:maven-plugins/examples</connection>
+    <url>http://cvs.apache.org/viewcvs/maven-plugins/examples/</url>
+  </repository>
+  <!-- any mailing lists for the project -->
+
+  <mailingLists/>
+  <!-- who the developers are for the project -->
+
+  <developers/>
+  <!-- jar files the project is dependent on -->
+
+  <dependencies/>
+  <!-- build information for the project -->
+
+  <build>
+    <nagEmailAddress>turbine-maven-dev@jakarta.apache.org</nagEmailAddress>
+    <sourceDirectory>src/java</sourceDirectory>
+    <unitTestSourceDirectory>src/test</unitTestSourceDirectory>
+    <unitTest>
+      <includes>
+        <include>**/*Test.java</include>
+      </includes>
+      <excludes>
+        <exclude>**/NaughtyTest.java</exclude>
+      </excludes>
+    </unitTest>
+    <resources>
+      <resource>
+        <directory>src/conf</directory>
+        <includes>
+          <include>*.properties</include>
+        </includes>
+      </resource>
+    </resources>
+  </build>
+</project>

Added: gump/trunk/test/fixture/projects/test1/src/conf/app.properties
==============================================================================
--- (empty file)
+++ gump/trunk/test/fixture/projects/test1/src/conf/app.properties	Wed Nov 17 16:34:44 2004
@@ -0,0 +1,18 @@
+# -------------------------------------------------------------------
+# Copyright 2001-2004 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.
+# -------------------------------------------------------------------
+
+# Sample app properties.
+foo=bar

Added: gump/trunk/test/fixture/projects/test1/src/java/org/apache/gump/test/fixture/test1/App.java
==============================================================================
--- (empty file)
+++ gump/trunk/test/fixture/projects/test1/src/java/org/apache/gump/test/fixture/test1/App.java	Wed Nov 17 16:34:44 2004
@@ -0,0 +1,15 @@
+package org.apache.gump.test.fixture.test1;
+
+/**
+ * Hello world!
+ *
+ * @author <a href="jason@zenplex.com">Jason van Zyl</a>
+ *
+ */
+public class App 
+{
+    public static void main( String[] args )
+    {
+        System.out.println( "Hello World!" );
+    }
+}

Added: gump/trunk/test/fixture/projects/test1/src/test/org/apache/gump/test/fixture/test1/AbstractTestCase.java
==============================================================================
--- (empty file)
+++ gump/trunk/test/fixture/projects/test1/src/test/org/apache/gump/test/fixture/test1/AbstractTestCase.java	Wed Nov 17 16:34:44 2004
@@ -0,0 +1,40 @@
+package org.apache.gump.test.fixture.test1;
+
+import java.io.File;
+
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+
+/**
+ * Abstract base class for test cases.
+ *
+ * @author <a href="jason@zenplex.com">Jason van Zyl</a>
+ */
+public abstract class AbstractTestCase
+    extends TestCase 
+{
+    /** 
+     * Basedir for all file I/O. Important when running tests from
+     * the reactor.
+     */
+    public String basedir = System.getProperty("basedir");
+    
+    /**
+     * Constructor.
+     */
+    public AbstractTestCase(String testName)
+    {
+        super(testName);
+    }
+    
+    /**
+     * Get test input file.
+     *
+     * @param path Path to test input file.
+     */
+    public String getTestFile(String path)
+    {
+        return new File(basedir,path).getAbsolutePath();
+    }
+}
+

Added: gump/trunk/test/fixture/projects/test1/src/test/org/apache/gump/test/fixture/test1/AppTest.java
==============================================================================
--- (empty file)
+++ gump/trunk/test/fixture/projects/test1/src/test/org/apache/gump/test/fixture/test1/AppTest.java	Wed Nov 17 16:34:44 2004
@@ -0,0 +1,40 @@
+package org.apache.gump.test.fixture.test1;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+
+/**
+ * Unit test for simple App.
+ *
+ * @author <a href="mailto:jason@zenplex.com">Jason van Zyl</a>
+ */
+public class AppTest 
+    extends AbstractTestCase
+{
+    /**
+     * Create the test case
+     *
+     * @param testName name of the test case
+     */
+    public AppTest( String testName )
+    {
+        super( testName );
+    }
+
+    /**
+     * @return the suite of tests being tested
+     */
+    public static Test suite()
+    {
+        return new TestSuite( AppTest.class );
+    }
+
+    /**
+     * Rigourous Test :-)
+     */
+    public void testApp()
+    {
+        assertEquals( "maven kicks ass", "maven kicks ass" );
+    }
+}

Added: gump/trunk/test/fixture/projects/test1/src/test/org/apache/gump/test/fixture/test1/NaughtyTest.java
==============================================================================
--- (empty file)
+++ gump/trunk/test/fixture/projects/test1/src/test/org/apache/gump/test/fixture/test1/NaughtyTest.java	Wed Nov 17 16:34:44 2004
@@ -0,0 +1,40 @@
+package org.apache.gump.test.fixture.test1;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+
+/**
+ * Unit test for simple App.
+ *
+ * @author <a href="mailto:jason@zenplex.com">Jason van Zyl</a>
+ */
+public class NaughtyTest
+    extends AbstractTestCase
+{
+    /**
+     * Create the test case
+     *
+     * @param testName name of the test case
+     */
+    public NaughtyTest( String testName )
+    {
+        super( testName );
+    }
+
+    /**
+     * @return the suite of tests being tested
+     */
+    public static Test suite()
+    {
+        return new TestSuite( NaughtyTest.class );
+    }
+
+    /**
+     * Rigourous Test :-)
+     */
+    public void testApp()
+    {
+        // Crash and burn!
+    }
+}

Added: gump/trunk/test/fixture/projects/test2/build.xml
==============================================================================
--- (empty file)
+++ gump/trunk/test/fixture/projects/test2/build.xml	Wed Nov 17 16:34:44 2004
@@ -0,0 +1,163 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--build.xml generated by maven from project.xml version 1.0
+  on date November 17 2004, time 1834-->
+
+<project default="jar" name="test2" basedir=".">
+  <property name="defaulttargetdir" value="/Users/lsimons/svn/gump/trunk/test/fixture/test2/target">
+  </property>
+  <property name="libdir" value="/Users/lsimons/svn/gump/trunk/test/fixture/test2/target/lib">
+  </property>
+  <property name="classesdir" value="/Users/lsimons/svn/gump/trunk/test/fixture/test2/target/classes">
+  </property>
+  <property name="testclassesdir" value="/Users/lsimons/svn/gump/trunk/test/fixture/test2/target/test-classes">
+  </property>
+  <property name="testclassesdir" value="/Users/lsimons/svn/gump/trunk/test/fixture/test2/target/test-classes">
+  </property>
+  <property name="testreportdir" value="/Users/lsimons/svn/gump/trunk/test/fixture/test2/target/test-reports">
+  </property>
+  <property name="distdir" value="dist">
+  </property>
+  <property name="javadocdir" value="dist/docs/api">
+  </property>
+  <property name="final.name" value="test2-1.0">
+  </property>
+  <target name="init" description="o Initializes some properties">
+    <mkdir dir="${libdir}">
+    </mkdir>
+    <condition property="noget">
+      <equals arg2="only" arg1="${build.sysclasspath}">
+      </equals>
+    </condition>
+  </target>
+  <target name="compile" description="o Compile the code" depends="get-deps">
+    <mkdir dir="${classesdir}">
+    </mkdir>
+    <javac destdir="${classesdir}" deprecation="true" debug="true" optimize="false" excludes="**/package.html">
+      <src>
+        <pathelement location="src/java">
+        </pathelement>
+      </src>
+      <classpath>
+        <fileset dir="${libdir}">
+          <include name="*.jar">
+          </include>
+        </fileset>
+      </classpath>
+    </javac>
+    <copy todir="${classesdir}">
+      <fileset dir="src/conf">
+        <include name="*.properties">
+        </include>
+      </fileset>
+    </copy>
+  </target>
+  <target name="jar" description="o Create the jar" depends="compile,test">
+    <jar jarfile="${defaulttargetdir}/${final.name}.jar" excludes="**/package.html" basedir="${classesdir}">
+    </jar>
+  </target>
+  <target name="clean" description="o Clean up the generated directories">
+    <delete dir="${defaulttargetdir}">
+    </delete>
+    <delete dir="${distdir}">
+    </delete>
+  </target>
+  <target name="dist" description="o Create a distribution" depends="jar, javadoc">
+    <mkdir dir="dist">
+    </mkdir>
+    <copy todir="dist">
+      <fileset dir="${defaulttargetdir}" includes="*.jar">
+      </fileset>
+      <fileset dir="${basedir}" includes="LICENSE*, README*">
+      </fileset>
+    </copy>
+  </target>
+  <target name="test" description="o Run the test cases" if="test.failure" depends="internal-test">
+    <fail message="There were test failures.">
+    </fail>
+  </target>
+  <target name="internal-test" depends="compile-tests">
+    <mkdir dir="${testreportdir}">
+    </mkdir>
+    <junit dir="./" failureproperty="test.failure" printSummary="yes" fork="true" haltonerror="true">
+      <sysproperty key="basedir" value=".">
+      </sysproperty>
+      <formatter type="xml">
+      </formatter>
+      <formatter usefile="false" type="plain">
+      </formatter>
+      <classpath>
+        <fileset dir="${libdir}">
+          <include name="*.jar">
+          </include>
+        </fileset>
+        <pathelement path="${testclassesdir}">
+        </pathelement>
+        <pathelement path="${classesdir}">
+        </pathelement>
+      </classpath>
+      <batchtest todir="${testreportdir}">
+        <fileset dir="src/test">
+          <include name="**/*Test.java">
+          </include>
+          <exclude name="**/NaughtyTest.java">
+          </exclude>
+        </fileset>
+      </batchtest>
+    </junit>
+  </target>
+  <target name="compile-tests" depends="compile">
+    <mkdir dir="${testclassesdir}">
+    </mkdir>
+    <javac destdir="${testclassesdir}" deprecation="true" debug="true" optimize="false" excludes="**/package.html">
+      <src>
+        <pathelement location="src/test">
+        </pathelement>
+      </src>
+      <classpath>
+        <fileset dir="${libdir}">
+          <include name="*.jar">
+          </include>
+        </fileset>
+        <pathelement path="${classesdir}">
+        </pathelement>
+      </classpath>
+    </javac>
+  </target>
+  <target name="javadoc" description="o Generate javadoc">
+    <mkdir dir="${javadocdir}">
+    </mkdir>
+    <tstamp>
+      <format pattern="2002-yyyy" property="year">
+      </format>
+    </tstamp>
+    <property name="copyright" value="Copyright &amp;copy;  Apache Software Foundation. All Rights Reserved.">
+    </property>
+    <property name="title" value="Gump Fixture Test 2 1.0 API">
+    </property>
+    <javadoc use="true" private="true" destdir="${javadocdir}" author="true" version="true" sourcepath="src/java" packagenames="org.apache.gump.test.fixture.test2.*">
+      <classpath>
+        <fileset dir="${libdir}">
+          <include name="*.jar">
+          </include>
+        </fileset>
+        <pathelement location="${defaulttargetdir}/${final.name}.jar">
+        </pathelement>
+      </classpath>
+    </javadoc>
+  </target>
+  <target name="get-deps" unless="noget" depends="init">
+    <get dest="${libdir}/junit-3.8.1.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven/junit/jars/junit-3.8.1.jar">
+    </get>
+    <get dest="${libdir}/ant-1.5.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven/ant/jars/ant-1.5.jar">
+    </get>
+    <get dest="${libdir}/ant-optional-1.5.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven/ant/jars/ant-optional-1.5.jar">
+    </get>
+  </target>
+  <target name="install-maven">
+    <get dest="${user.home}/maven-install-latest.jar" usetimestamp="true" src="${repo}/maven/maven-install-latest.jar">
+    </get>
+    <unjar dest="${maven.home}" src="${user.home}/maven-install-latest.jar">
+    </unjar>
+  </target>
+</project>
\ No newline at end of file

Added: gump/trunk/test/fixture/projects/test2/project.properties
==============================================================================
--- (empty file)
+++ gump/trunk/test/fixture/projects/test2/project.properties	Wed Nov 17 16:34:44 2004
@@ -0,0 +1,18 @@
+# -------------------------------------------------------------------
+# Copyright 2001-2004 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.
+# -------------------------------------------------------------------
+
+maven.xdoc.date=left
+## maven.xdoc.version=${pom.currentVersion}
\ No newline at end of file

Added: gump/trunk/test/fixture/projects/test2/project.xml
==============================================================================
--- (empty file)
+++ gump/trunk/test/fixture/projects/test2/project.xml	Wed Nov 17 16:34:44 2004
@@ -0,0 +1,98 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- 
+/*
+ * Copyright 2001-2004 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.
+ */
+ -->
+
+
+<project>
+  <!-- the version of maven's project object model -->
+
+  <pomVersion>3</pomVersion>
+  <!-- a unique name for this project -->
+
+  <id>test2</id>
+  <!-- a short but descriptive name for the project -->
+
+  <name>Gump Fixture Test 2</name>
+  <!-- The version of the project under development, e.g.
+       1.1, 1.2, 2.0-SNAPSHOT -->
+
+  <currentVersion>1.0</currentVersion>
+  <!-- details about the organization that 'owns' the project -->
+
+  <organization>
+    <name>Apache Software Foundation</name>
+    <url>http://www.apache.org/</url>
+    <logo>http://maven.apache.org/images/jakarta-logo-blue.gif</logo>
+  </organization>
+  <!-- the year the project started -->
+
+  <inceptionYear>2002</inceptionYear>
+  <package>org.apache.gump.test.fixture.test2</package>
+  <logo>http://maven.apache.org/images/maven.jpg</logo>
+  <description>A collection of example projects showing how to use maven in different situations</description>
+  <!-- a short description of what the project does -->
+
+  <shortDescription>How to use maven in different situations</shortDescription>
+  <!-- the project home page -->
+
+  <url>http://maven.apache.org/reference/plugins/examples/</url>
+  <issueTrackingUrl>http://nagoya.apache.org/scarab/servlet/scarab/</issueTrackingUrl>
+  <siteAddress>jakarta.apache.org</siteAddress>
+  <siteDirectory>/www/maven.apache.org/reference/plugins/examples/</siteDirectory>
+  <distributionDirectory>/www/maven.apache.org/builds/</distributionDirectory>
+  <!-- the version control repository and http url for online access
+       the connection element has the form:
+       scm:<system>:<system specific connection string> -->
+
+  <repository>
+    <connection>scm:cvs:pserver:anoncvs@cvs.apache.org:/home/cvspublic:maven-plugins/examples</connection>
+    <url>http://cvs.apache.org/viewcvs/maven-plugins/examples/</url>
+  </repository>
+  <!-- any mailing lists for the project -->
+
+  <mailingLists/>
+  <!-- who the developers are for the project -->
+
+  <developers/>
+  <!-- jar files the project is dependent on -->
+
+  <dependencies/>
+  <!-- build information for the project -->
+
+  <build>
+    <nagEmailAddress>turbine-maven-dev@jakarta.apache.org</nagEmailAddress>
+    <sourceDirectory>src/java</sourceDirectory>
+    <unitTestSourceDirectory>src/test</unitTestSourceDirectory>
+    <unitTest>
+      <includes>
+        <include>**/*Test.java</include>
+      </includes>
+      <excludes>
+        <exclude>**/NaughtyTest.java</exclude>
+      </excludes>
+    </unitTest>
+    <resources>
+      <resource>
+        <directory>src/conf</directory>
+        <includes>
+          <include>*.properties</include>
+        </includes>
+      </resource>
+    </resources>
+  </build>
+</project>

Added: gump/trunk/test/fixture/projects/test2/src/conf/app.properties
==============================================================================
--- (empty file)
+++ gump/trunk/test/fixture/projects/test2/src/conf/app.properties	Wed Nov 17 16:34:44 2004
@@ -0,0 +1,18 @@
+# -------------------------------------------------------------------
+# Copyright 2001-2004 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.
+# -------------------------------------------------------------------
+
+# Sample app properties.
+foo=bar

Added: gump/trunk/test/fixture/projects/test2/src/java/org/apache/gump/test/fixture/test2/App.java
==============================================================================
--- (empty file)
+++ gump/trunk/test/fixture/projects/test2/src/java/org/apache/gump/test/fixture/test2/App.java	Wed Nov 17 16:34:44 2004
@@ -0,0 +1,15 @@
+package org.apache.gump.test.fixture.test2;
+
+/**
+ * Hello world!
+ *
+ * @author <a href="jason@zenplex.com">Jason van Zyl</a>
+ *
+ */
+public class App 
+{
+    public static void main( String[] args )
+    {
+        System.out.println( "Hello World!" );
+    }
+}

Added: gump/trunk/test/fixture/projects/test2/src/test/org/apache/gump/test/fixture/test2/AbstractTestCase.java
==============================================================================
--- (empty file)
+++ gump/trunk/test/fixture/projects/test2/src/test/org/apache/gump/test/fixture/test2/AbstractTestCase.java	Wed Nov 17 16:34:44 2004
@@ -0,0 +1,40 @@
+package org.apache.gump.test.fixture.test2;
+
+import java.io.File;
+
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+
+/**
+ * Abstract base class for test cases.
+ *
+ * @author <a href="jason@zenplex.com">Jason van Zyl</a>
+ */
+public abstract class AbstractTestCase
+    extends TestCase 
+{
+    /** 
+     * Basedir for all file I/O. Important when running tests from
+     * the reactor.
+     */
+    public String basedir = System.getProperty("basedir");
+    
+    /**
+     * Constructor.
+     */
+    public AbstractTestCase(String testName)
+    {
+        super(testName);
+    }
+    
+    /**
+     * Get test input file.
+     *
+     * @param path Path to test input file.
+     */
+    public String getTestFile(String path)
+    {
+        return new File(basedir,path).getAbsolutePath();
+    }
+}
+

Added: gump/trunk/test/fixture/projects/test2/src/test/org/apache/gump/test/fixture/test2/AppTest.java
==============================================================================
--- (empty file)
+++ gump/trunk/test/fixture/projects/test2/src/test/org/apache/gump/test/fixture/test2/AppTest.java	Wed Nov 17 16:34:44 2004
@@ -0,0 +1,40 @@
+package org.apache.gump.test.fixture.test2;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+
+/**
+ * Unit test for simple App.
+ *
+ * @author <a href="mailto:jason@zenplex.com">Jason van Zyl</a>
+ */
+public class AppTest 
+    extends AbstractTestCase
+{
+    /**
+     * Create the test case
+     *
+     * @param testName name of the test case
+     */
+    public AppTest( String testName )
+    {
+        super( testName );
+    }
+
+    /**
+     * @return the suite of tests being tested
+     */
+    public static Test suite()
+    {
+        return new TestSuite( AppTest.class );
+    }
+
+    /**
+     * Rigourous Test :-)
+     */
+    public void testApp()
+    {
+        assertEquals( "maven kicks ass", "maven kicks ass" );
+    }
+}

Added: gump/trunk/test/fixture/projects/test2/src/test/org/apache/gump/test/fixture/test2/NaughtyTest.java
==============================================================================
--- (empty file)
+++ gump/trunk/test/fixture/projects/test2/src/test/org/apache/gump/test/fixture/test2/NaughtyTest.java	Wed Nov 17 16:34:44 2004
@@ -0,0 +1,40 @@
+package org.apache.gump.test.fixture.test2;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+
+/**
+ * Unit test for simple App.
+ *
+ * @author <a href="mailto:jason@zenplex.com">Jason van Zyl</a>
+ */
+public class NaughtyTest
+    extends AbstractTestCase
+{
+    /**
+     * Create the test case
+     *
+     * @param testName name of the test case
+     */
+    public NaughtyTest( String testName )
+    {
+        super( testName );
+    }
+
+    /**
+     * @return the suite of tests being tested
+     */
+    public static Test suite()
+    {
+        return new TestSuite( NaughtyTest.class );
+    }
+
+    /**
+     * Rigourous Test :-)
+     */
+    public void testApp()
+    {
+        // Crash and burn!
+    }
+}

Added: gump/trunk/test/fixture/projects/test3/build.xml
==============================================================================
--- (empty file)
+++ gump/trunk/test/fixture/projects/test3/build.xml	Wed Nov 17 16:34:44 2004
@@ -0,0 +1,163 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--build.xml generated by maven from project.xml version 1.0
+  on date November 17 2004, time 1810-->
+
+<project default="jar" name="test3" basedir=".">
+  <property name="defaulttargetdir" value="/Users/lsimons/svn/gump/trunk/test/fixture/test3/target">
+  </property>
+  <property name="libdir" value="/Users/lsimons/svn/gump/trunk/test/fixture/test3/target/lib">
+  </property>
+  <property name="classesdir" value="/Users/lsimons/svn/gump/trunk/test/fixture/test3/target/classes">
+  </property>
+  <property name="testclassesdir" value="/Users/lsimons/svn/gump/trunk/test/fixture/test3/target/test-classes">
+  </property>
+  <property name="testclassesdir" value="/Users/lsimons/svn/gump/trunk/test/fixture/test3/target/test-classes">
+  </property>
+  <property name="testreportdir" value="/Users/lsimons/svn/gump/trunk/test/fixture/test3/target/test-reports">
+  </property>
+  <property name="distdir" value="dist">
+  </property>
+  <property name="javadocdir" value="dist/docs/api">
+  </property>
+  <property name="final.name" value="test3-1.0">
+  </property>
+  <target name="init" description="o Initializes some properties">
+    <mkdir dir="${libdir}">
+    </mkdir>
+    <condition property="noget">
+      <equals arg2="only" arg1="${build.sysclasspath}">
+      </equals>
+    </condition>
+  </target>
+  <target name="compile" description="o Compile the code" depends="get-deps">
+    <mkdir dir="${classesdir}">
+    </mkdir>
+    <javac destdir="${classesdir}" deprecation="true" debug="true" optimize="false" excludes="**/package.html">
+      <src>
+        <pathelement location="src/java">
+        </pathelement>
+      </src>
+      <classpath>
+        <fileset dir="${libdir}">
+          <include name="*.jar">
+          </include>
+        </fileset>
+      </classpath>
+    </javac>
+    <copy todir="${classesdir}">
+      <fileset dir="src/conf">
+        <include name="*.properties">
+        </include>
+      </fileset>
+    </copy>
+  </target>
+  <target name="jar" description="o Create the jar" depends="compile,test">
+    <jar jarfile="${defaulttargetdir}/${final.name}.jar" excludes="**/package.html" basedir="${classesdir}">
+    </jar>
+  </target>
+  <target name="clean" description="o Clean up the generated directories">
+    <delete dir="${defaulttargetdir}">
+    </delete>
+    <delete dir="${distdir}">
+    </delete>
+  </target>
+  <target name="dist" description="o Create a distribution" depends="jar, javadoc">
+    <mkdir dir="dist">
+    </mkdir>
+    <copy todir="dist">
+      <fileset dir="${defaulttargetdir}" includes="*.jar">
+      </fileset>
+      <fileset dir="${basedir}" includes="LICENSE*, README*">
+      </fileset>
+    </copy>
+  </target>
+  <target name="test" description="o Run the test cases" if="test.failure" depends="internal-test">
+    <fail message="There were test failures.">
+    </fail>
+  </target>
+  <target name="internal-test" depends="compile-tests">
+    <mkdir dir="${testreportdir}">
+    </mkdir>
+    <junit dir="./" failureproperty="test.failure" printSummary="yes" fork="true" haltonerror="true">
+      <sysproperty key="basedir" value=".">
+      </sysproperty>
+      <formatter type="xml">
+      </formatter>
+      <formatter usefile="false" type="plain">
+      </formatter>
+      <classpath>
+        <fileset dir="${libdir}">
+          <include name="*.jar">
+          </include>
+        </fileset>
+        <pathelement path="${testclassesdir}">
+        </pathelement>
+        <pathelement path="${classesdir}">
+        </pathelement>
+      </classpath>
+      <batchtest todir="${testreportdir}">
+        <fileset dir="src/test">
+          <include name="**/*Test.java">
+          </include>
+          <exclude name="**/NaughtyTest.java">
+          </exclude>
+        </fileset>
+      </batchtest>
+    </junit>
+  </target>
+  <target name="compile-tests" depends="compile">
+    <mkdir dir="${testclassesdir}">
+    </mkdir>
+    <javac destdir="${testclassesdir}" deprecation="true" debug="true" optimize="false" excludes="**/package.html">
+      <src>
+        <pathelement location="src/test">
+        </pathelement>
+      </src>
+      <classpath>
+        <fileset dir="${libdir}">
+          <include name="*.jar">
+          </include>
+        </fileset>
+        <pathelement path="${classesdir}">
+        </pathelement>
+      </classpath>
+    </javac>
+  </target>
+  <target name="javadoc" description="o Generate javadoc">
+    <mkdir dir="${javadocdir}">
+    </mkdir>
+    <tstamp>
+      <format pattern="2002-yyyy" property="year">
+      </format>
+    </tstamp>
+    <property name="copyright" value="Copyright &amp;copy;  Apache Software Foundation. All Rights Reserved.">
+    </property>
+    <property name="title" value="Gump Fixture Test 3 1.0 API">
+    </property>
+    <javadoc use="true" private="true" destdir="${javadocdir}" author="true" version="true" sourcepath="src/java" packagenames="org.apache.gump.test.fixture.test3.*">
+      <classpath>
+        <fileset dir="${libdir}">
+          <include name="*.jar">
+          </include>
+        </fileset>
+        <pathelement location="${defaulttargetdir}/${final.name}.jar">
+        </pathelement>
+      </classpath>
+    </javadoc>
+  </target>
+  <target name="get-deps" unless="noget" depends="init">
+    <get dest="${libdir}/junit-3.8.1.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven/junit/jars/junit-3.8.1.jar">
+    </get>
+    <get dest="${libdir}/ant-1.5.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven/ant/jars/ant-1.5.jar">
+    </get>
+    <get dest="${libdir}/ant-optional-1.5.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven/ant/jars/ant-optional-1.5.jar">
+    </get>
+  </target>
+  <target name="install-maven">
+    <get dest="${user.home}/maven-install-latest.jar" usetimestamp="true" src="${repo}/maven/maven-install-latest.jar">
+    </get>
+    <unjar dest="${maven.home}" src="${user.home}/maven-install-latest.jar">
+    </unjar>
+  </target>
+</project>
\ No newline at end of file

Added: gump/trunk/test/fixture/projects/test3/project.properties
==============================================================================
--- (empty file)
+++ gump/trunk/test/fixture/projects/test3/project.properties	Wed Nov 17 16:34:44 2004
@@ -0,0 +1,18 @@
+# -------------------------------------------------------------------
+# Copyright 2001-2004 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.
+# -------------------------------------------------------------------
+
+maven.xdoc.date=left
+## maven.xdoc.version=${pom.currentVersion}
\ No newline at end of file

Added: gump/trunk/test/fixture/projects/test3/project.xml
==============================================================================
--- (empty file)
+++ gump/trunk/test/fixture/projects/test3/project.xml	Wed Nov 17 16:34:44 2004
@@ -0,0 +1,98 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- 
+/*
+ * Copyright 2001-2004 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.
+ */
+ -->
+
+
+<project>
+  <!-- the version of maven's project object model -->
+
+  <pomVersion>3</pomVersion>
+  <!-- a unique name for this project -->
+
+  <id>test3</id>
+  <!-- a short but descriptive name for the project -->
+
+  <name>Gump Fixture Test 3</name>
+  <!-- The version of the project under development, e.g.
+       1.1, 1.2, 2.0-SNAPSHOT -->
+
+  <currentVersion>1.0</currentVersion>
+  <!-- details about the organization that 'owns' the project -->
+
+  <organization>
+    <name>Apache Software Foundation</name>
+    <url>http://www.apache.org/</url>
+    <logo>http://maven.apache.org/images/jakarta-logo-blue.gif</logo>
+  </organization>
+  <!-- the year the project started -->
+
+  <inceptionYear>2002</inceptionYear>
+  <package>org.apache.gump.test.fixture.test3</package>
+  <logo>http://maven.apache.org/images/maven.jpg</logo>
+  <description>A collection of example projects showing how to use maven in different situations</description>
+  <!-- a short description of what the project does -->
+
+  <shortDescription>How to use maven in different situations</shortDescription>
+  <!-- the project home page -->
+
+  <url>http://maven.apache.org/reference/plugins/examples/</url>
+  <issueTrackingUrl>http://nagoya.apache.org/scarab/servlet/scarab/</issueTrackingUrl>
+  <siteAddress>jakarta.apache.org</siteAddress>
+  <siteDirectory>/www/maven.apache.org/reference/plugins/examples/</siteDirectory>
+  <distributionDirectory>/www/maven.apache.org/builds/</distributionDirectory>
+  <!-- the version control repository and http url for online access
+       the connection element has the form:
+       scm:<system>:<system specific connection string> -->
+
+  <repository>
+    <connection>scm:cvs:pserver:anoncvs@cvs.apache.org:/home/cvspublic:maven-plugins/examples</connection>
+    <url>http://cvs.apache.org/viewcvs/maven-plugins/examples/</url>
+  </repository>
+  <!-- any mailing lists for the project -->
+
+  <mailingLists/>
+  <!-- who the developers are for the project -->
+
+  <developers/>
+  <!-- jar files the project is dependent on -->
+
+  <dependencies/>
+  <!-- build information for the project -->
+
+  <build>
+    <nagEmailAddress>turbine-maven-dev@jakarta.apache.org</nagEmailAddress>
+    <sourceDirectory>src/java</sourceDirectory>
+    <unitTestSourceDirectory>src/test</unitTestSourceDirectory>
+    <unitTest>
+      <includes>
+        <include>**/*Test.java</include>
+      </includes>
+      <excludes>
+        <exclude>**/NaughtyTest.java</exclude>
+      </excludes>
+    </unitTest>
+    <resources>
+      <resource>
+        <directory>src/conf</directory>
+        <includes>
+          <include>*.properties</include>
+        </includes>
+      </resource>
+    </resources>
+  </build>
+</project>

Added: gump/trunk/test/fixture/projects/test3/src/conf/app.properties
==============================================================================
--- (empty file)
+++ gump/trunk/test/fixture/projects/test3/src/conf/app.properties	Wed Nov 17 16:34:44 2004
@@ -0,0 +1,18 @@
+# -------------------------------------------------------------------
+# Copyright 2001-2004 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.
+# -------------------------------------------------------------------
+
+# Sample app properties.
+foo=bar

Added: gump/trunk/test/fixture/projects/test3/src/java/org/apache/gump/test/fixture/test3/App.java
==============================================================================
--- (empty file)
+++ gump/trunk/test/fixture/projects/test3/src/java/org/apache/gump/test/fixture/test3/App.java	Wed Nov 17 16:34:44 2004
@@ -0,0 +1,15 @@
+package org.apache.gump.test.fixture.test3;
+
+/**
+ * Hello world!
+ *
+ * @author <a href="jason@zenplex.com">Jason van Zyl</a>
+ *
+ */
+public class App 
+{
+    public static void main( String[] args )
+    {
+        System.out.println( "Hello World!" );
+    }
+}

Added: gump/trunk/test/fixture/projects/test3/src/test/org/apache/gump/test/fixture/test3/AbstractTestCase.java
==============================================================================
--- (empty file)
+++ gump/trunk/test/fixture/projects/test3/src/test/org/apache/gump/test/fixture/test3/AbstractTestCase.java	Wed Nov 17 16:34:44 2004
@@ -0,0 +1,40 @@
+package org.apache.gump.test.fixture.test3;
+
+import java.io.File;
+
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+
+/**
+ * Abstract base class for test cases.
+ *
+ * @author <a href="jason@zenplex.com">Jason van Zyl</a>
+ */
+public abstract class AbstractTestCase
+    extends TestCase 
+{
+    /** 
+     * Basedir for all file I/O. Important when running tests from
+     * the reactor.
+     */
+    public String basedir = System.getProperty("basedir");
+    
+    /**
+     * Constructor.
+     */
+    public AbstractTestCase(String testName)
+    {
+        super(testName);
+    }
+    
+    /**
+     * Get test input file.
+     *
+     * @param path Path to test input file.
+     */
+    public String getTestFile(String path)
+    {
+        return new File(basedir,path).getAbsolutePath();
+    }
+}
+

Added: gump/trunk/test/fixture/projects/test3/src/test/org/apache/gump/test/fixture/test3/AppTest.java
==============================================================================
--- (empty file)
+++ gump/trunk/test/fixture/projects/test3/src/test/org/apache/gump/test/fixture/test3/AppTest.java	Wed Nov 17 16:34:44 2004
@@ -0,0 +1,40 @@
+package org.apache.gump.test.fixture.test3;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+
+/**
+ * Unit test for simple App.
+ *
+ * @author <a href="mailto:jason@zenplex.com">Jason van Zyl</a>
+ */
+public class AppTest 
+    extends AbstractTestCase
+{
+    /**
+     * Create the test case
+     *
+     * @param testName name of the test case
+     */
+    public AppTest( String testName )
+    {
+        super( testName );
+    }
+
+    /**
+     * @return the suite of tests being tested
+     */
+    public static Test suite()
+    {
+        return new TestSuite( AppTest.class );
+    }
+
+    /**
+     * Rigourous Test :-)
+     */
+    public void testApp()
+    {
+        assertEquals( "maven kicks ass", "maven kicks ass" );
+    }
+}

Added: gump/trunk/test/fixture/projects/test3/src/test/org/apache/gump/test/fixture/test3/NaughtyTest.java
==============================================================================
--- (empty file)
+++ gump/trunk/test/fixture/projects/test3/src/test/org/apache/gump/test/fixture/test3/NaughtyTest.java	Wed Nov 17 16:34:44 2004
@@ -0,0 +1,40 @@
+package org.apache.gump.test.fixture.test3;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+
+/**
+ * Unit test for simple App.
+ *
+ * @author <a href="mailto:jason@zenplex.com">Jason van Zyl</a>
+ */
+public class NaughtyTest
+    extends AbstractTestCase
+{
+    /**
+     * Create the test case
+     *
+     * @param testName name of the test case
+     */
+    public NaughtyTest( String testName )
+    {
+        super( testName );
+    }
+
+    /**
+     * @return the suite of tests being tested
+     */
+    public static Test suite()
+    {
+        return new TestSuite( NaughtyTest.class );
+    }
+
+    /**
+     * Rigourous Test :-)
+     */
+    public void testApp()
+    {
+        // Crash and burn!
+    }
+}

Added: gump/trunk/test/fixture/projects/test4/build.xml
==============================================================================
--- (empty file)
+++ gump/trunk/test/fixture/projects/test4/build.xml	Wed Nov 17 16:34:44 2004
@@ -0,0 +1,163 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--build.xml generated by maven from project.xml version 1.0
+  on date November 17 2004, time 1932-->
+
+<project default="jar" name="test4" basedir=".">
+  <property name="defaulttargetdir" value="/Users/lsimons/svn/gump/trunk/test/fixture/test4/target">
+  </property>
+  <property name="libdir" value="/Users/lsimons/svn/gump/trunk/test/fixture/test4/target/lib">
+  </property>
+  <property name="classesdir" value="/Users/lsimons/svn/gump/trunk/test/fixture/test4/target/classes">
+  </property>
+  <property name="testclassesdir" value="/Users/lsimons/svn/gump/trunk/test/fixture/test4/target/test-classes">
+  </property>
+  <property name="testclassesdir" value="/Users/lsimons/svn/gump/trunk/test/fixture/test4/target/test-classes">
+  </property>
+  <property name="testreportdir" value="/Users/lsimons/svn/gump/trunk/test/fixture/test4/target/test-reports">
+  </property>
+  <property name="distdir" value="dist">
+  </property>
+  <property name="javadocdir" value="dist/docs/api">
+  </property>
+  <property name="final.name" value="test4-1.0">
+  </property>
+  <target name="init" description="o Initializes some properties">
+    <mkdir dir="${libdir}">
+    </mkdir>
+    <condition property="noget">
+      <equals arg2="only" arg1="${build.sysclasspath}">
+      </equals>
+    </condition>
+  </target>
+  <target name="compile" description="o Compile the code" depends="get-deps">
+    <mkdir dir="${classesdir}">
+    </mkdir>
+    <javac destdir="${classesdir}" deprecation="true" debug="true" optimize="false" excludes="**/package.html">
+      <src>
+        <pathelement location="src/java">
+        </pathelement>
+      </src>
+      <classpath>
+        <fileset dir="${libdir}">
+          <include name="*.jar">
+          </include>
+        </fileset>
+      </classpath>
+    </javac>
+    <copy todir="${classesdir}">
+      <fileset dir="src/conf">
+        <include name="*.properties">
+        </include>
+      </fileset>
+    </copy>
+  </target>
+  <target name="jar" description="o Create the jar" depends="compile,test">
+    <jar jarfile="${defaulttargetdir}/${final.name}.jar" excludes="**/package.html" basedir="${classesdir}">
+    </jar>
+  </target>
+  <target name="clean" description="o Clean up the generated directories">
+    <delete dir="${defaulttargetdir}">
+    </delete>
+    <delete dir="${distdir}">
+    </delete>
+  </target>
+  <target name="dist" description="o Create a distribution" depends="jar, javadoc">
+    <mkdir dir="dist">
+    </mkdir>
+    <copy todir="dist">
+      <fileset dir="${defaulttargetdir}" includes="*.jar">
+      </fileset>
+      <fileset dir="${basedir}" includes="LICENSE*, README*">
+      </fileset>
+    </copy>
+  </target>
+  <target name="test" description="o Run the test cases" if="test.failure" depends="internal-test">
+    <fail message="There were test failures.">
+    </fail>
+  </target>
+  <target name="internal-test" depends="compile-tests">
+    <mkdir dir="${testreportdir}">
+    </mkdir>
+    <junit dir="./" failureproperty="test.failure" printSummary="yes" fork="true" haltonerror="true">
+      <sysproperty key="basedir" value=".">
+      </sysproperty>
+      <formatter type="xml">
+      </formatter>
+      <formatter usefile="false" type="plain">
+      </formatter>
+      <classpath>
+        <fileset dir="${libdir}">
+          <include name="*.jar">
+          </include>
+        </fileset>
+        <pathelement path="${testclassesdir}">
+        </pathelement>
+        <pathelement path="${classesdir}">
+        </pathelement>
+      </classpath>
+      <batchtest todir="${testreportdir}">
+        <fileset dir="src/test">
+          <include name="**/*Test.java">
+          </include>
+          <exclude name="**/NaughtyTest.java">
+          </exclude>
+        </fileset>
+      </batchtest>
+    </junit>
+  </target>
+  <target name="compile-tests" depends="compile">
+    <mkdir dir="${testclassesdir}">
+    </mkdir>
+    <javac destdir="${testclassesdir}" deprecation="true" debug="true" optimize="false" excludes="**/package.html">
+      <src>
+        <pathelement location="src/test">
+        </pathelement>
+      </src>
+      <classpath>
+        <fileset dir="${libdir}">
+          <include name="*.jar">
+          </include>
+        </fileset>
+        <pathelement path="${classesdir}">
+        </pathelement>
+      </classpath>
+    </javac>
+  </target>
+  <target name="javadoc" description="o Generate javadoc">
+    <mkdir dir="${javadocdir}">
+    </mkdir>
+    <tstamp>
+      <format pattern="2002-yyyy" property="year">
+      </format>
+    </tstamp>
+    <property name="copyright" value="Copyright &amp;copy;  Apache Software Foundation. All Rights Reserved.">
+    </property>
+    <property name="title" value="Gump Fixture Test 4 1.0 API">
+    </property>
+    <javadoc use="true" private="true" destdir="${javadocdir}" author="true" version="true" sourcepath="src/java" packagenames="org.apache.gump.test.fixture.test4.*">
+      <classpath>
+        <fileset dir="${libdir}">
+          <include name="*.jar">
+          </include>
+        </fileset>
+        <pathelement location="${defaulttargetdir}/${final.name}.jar">
+        </pathelement>
+      </classpath>
+    </javadoc>
+  </target>
+  <target name="get-deps" unless="noget" depends="init">
+    <get dest="${libdir}/junit-3.8.1.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven/junit/jars/junit-3.8.1.jar">
+    </get>
+    <get dest="${libdir}/ant-1.5.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven/ant/jars/ant-1.5.jar">
+    </get>
+    <get dest="${libdir}/ant-optional-1.5.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven/ant/jars/ant-optional-1.5.jar">
+    </get>
+  </target>
+  <target name="install-maven">
+    <get dest="${user.home}/maven-install-latest.jar" usetimestamp="true" src="${repo}/maven/maven-install-latest.jar">
+    </get>
+    <unjar dest="${maven.home}" src="${user.home}/maven-install-latest.jar">
+    </unjar>
+  </target>
+</project>
\ No newline at end of file

Added: gump/trunk/test/fixture/projects/test4/project.properties
==============================================================================
--- (empty file)
+++ gump/trunk/test/fixture/projects/test4/project.properties	Wed Nov 17 16:34:44 2004
@@ -0,0 +1,18 @@
+# -------------------------------------------------------------------
+# Copyright 2001-2004 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.
+# -------------------------------------------------------------------
+
+maven.xdoc.date=left
+## maven.xdoc.version=${pom.currentVersion}
\ No newline at end of file

Added: gump/trunk/test/fixture/projects/test4/project.xml
==============================================================================
--- (empty file)
+++ gump/trunk/test/fixture/projects/test4/project.xml	Wed Nov 17 16:34:44 2004
@@ -0,0 +1,98 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- 
+/*
+ * Copyright 2001-2004 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.
+ */
+ -->
+
+
+<project>
+  <!-- the version of maven's project object model -->
+
+  <pomVersion>3</pomVersion>
+  <!-- a unique name for this project -->
+
+  <id>test4</id>
+  <!-- a short but descriptive name for the project -->
+
+  <name>Gump Fixture Test 4</name>
+  <!-- The version of the project under development, e.g.
+       1.1, 1.2, 2.0-SNAPSHOT -->
+
+  <currentVersion>1.0</currentVersion>
+  <!-- details about the organization that 'owns' the project -->
+
+  <organization>
+    <name>Apache Software Foundation</name>
+    <url>http://www.apache.org/</url>
+    <logo>http://maven.apache.org/images/jakarta-logo-blue.gif</logo>
+  </organization>
+  <!-- the year the project started -->
+
+  <inceptionYear>2002</inceptionYear>
+  <package>org.apache.gump.test.fixture.test4</package>
+  <logo>http://maven.apache.org/images/maven.jpg</logo>
+  <description>A collection of example projects showing how to use maven in different situations</description>
+  <!-- a short description of what the project does -->
+
+  <shortDescription>How to use maven in different situations</shortDescription>
+  <!-- the project home page -->
+
+  <url>http://maven.apache.org/reference/plugins/examples/</url>
+  <issueTrackingUrl>http://nagoya.apache.org/scarab/servlet/scarab/</issueTrackingUrl>
+  <siteAddress>jakarta.apache.org</siteAddress>
+  <siteDirectory>/www/maven.apache.org/reference/plugins/examples/</siteDirectory>
+  <distributionDirectory>/www/maven.apache.org/builds/</distributionDirectory>
+  <!-- the version control repository and http url for online access
+       the connection element has the form:
+       scm:<system>:<system specific connection string> -->
+
+  <repository>
+    <connection>scm:cvs:pserver:anoncvs@cvs.apache.org:/home/cvspublic:maven-plugins/examples</connection>
+    <url>http://cvs.apache.org/viewcvs/maven-plugins/examples/</url>
+  </repository>
+  <!-- any mailing lists for the project -->
+
+  <mailingLists/>
+  <!-- who the developers are for the project -->
+
+  <developers/>
+  <!-- jar files the project is dependent on -->
+
+  <dependencies/>
+  <!-- build information for the project -->
+
+  <build>
+    <nagEmailAddress>turbine-maven-dev@jakarta.apache.org</nagEmailAddress>
+    <sourceDirectory>src/java</sourceDirectory>
+    <unitTestSourceDirectory>src/test</unitTestSourceDirectory>
+    <unitTest>
+      <includes>
+        <include>**/*Test.java</include>
+      </includes>
+      <excludes>
+        <exclude>**/NaughtyTest.java</exclude>
+      </excludes>
+    </unitTest>
+    <resources>
+      <resource>
+        <directory>src/conf</directory>
+        <includes>
+          <include>*.properties</include>
+        </includes>
+      </resource>
+    </resources>
+  </build>
+</project>

Added: gump/trunk/test/fixture/projects/test4/src/conf/app.properties
==============================================================================
--- (empty file)
+++ gump/trunk/test/fixture/projects/test4/src/conf/app.properties	Wed Nov 17 16:34:44 2004
@@ -0,0 +1,18 @@
+# -------------------------------------------------------------------
+# Copyright 2001-2004 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.
+# -------------------------------------------------------------------
+
+# Sample app properties.
+foo=bar

Added: gump/trunk/test/fixture/projects/test4/src/java/org/apache/gump/test/fixture/test4/App.java
==============================================================================
--- (empty file)
+++ gump/trunk/test/fixture/projects/test4/src/java/org/apache/gump/test/fixture/test4/App.java	Wed Nov 17 16:34:44 2004
@@ -0,0 +1,15 @@
+package org.apache.gump.test.fixture.test4;
+
+/**
+ * Hello world!
+ *
+ * @author <a href="jason@zenplex.com">Jason van Zyl</a>
+ *
+ */
+public class App 
+{
+    public static void main( String[] args )
+    {
+        System.out.println( "Hello World!" );
+    }
+}

Added: gump/trunk/test/fixture/projects/test4/src/test/org/apache/gump/test/fixture/test4/AbstractTestCase.java
==============================================================================
--- (empty file)
+++ gump/trunk/test/fixture/projects/test4/src/test/org/apache/gump/test/fixture/test4/AbstractTestCase.java	Wed Nov 17 16:34:44 2004
@@ -0,0 +1,40 @@
+package org.apache.gump.test.fixture.test4;
+
+import java.io.File;
+
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+
+/**
+ * Abstract base class for test cases.
+ *
+ * @author <a href="jason@zenplex.com">Jason van Zyl</a>
+ */
+public abstract class AbstractTestCase
+    extends TestCase 
+{
+    /** 
+     * Basedir for all file I/O. Important when running tests from
+     * the reactor.
+     */
+    public String basedir = System.getProperty("basedir");
+    
+    /**
+     * Constructor.
+     */
+    public AbstractTestCase(String testName)
+    {
+        super(testName);
+    }
+    
+    /**
+     * Get test input file.
+     *
+     * @param path Path to test input file.
+     */
+    public String getTestFile(String path)
+    {
+        return new File(basedir,path).getAbsolutePath();
+    }
+}
+

Added: gump/trunk/test/fixture/projects/test4/src/test/org/apache/gump/test/fixture/test4/AppTest.java
==============================================================================
--- (empty file)
+++ gump/trunk/test/fixture/projects/test4/src/test/org/apache/gump/test/fixture/test4/AppTest.java	Wed Nov 17 16:34:44 2004
@@ -0,0 +1,40 @@
+package org.apache.gump.test.fixture.test4;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+
+/**
+ * Unit test for simple App.
+ *
+ * @author <a href="mailto:jason@zenplex.com">Jason van Zyl</a>
+ */
+public class AppTest 
+    extends AbstractTestCase
+{
+    /**
+     * Create the test case
+     *
+     * @param testName name of the test case
+     */
+    public AppTest( String testName )
+    {
+        super( testName );
+    }
+
+    /**
+     * @return the suite of tests being tested
+     */
+    public static Test suite()
+    {
+        return new TestSuite( AppTest.class );
+    }
+
+    /**
+     * Rigourous Test :-)
+     */
+    public void testApp()
+    {
+        assertEquals( "maven kicks ass", "maven kicks ass" );
+    }
+}

Added: gump/trunk/test/fixture/projects/test4/src/test/org/apache/gump/test/fixture/test4/NaughtyTest.java
==============================================================================
--- (empty file)
+++ gump/trunk/test/fixture/projects/test4/src/test/org/apache/gump/test/fixture/test4/NaughtyTest.java	Wed Nov 17 16:34:44 2004
@@ -0,0 +1,40 @@
+package org.apache.gump.test.fixture.test4;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+
+/**
+ * Unit test for simple App.
+ *
+ * @author <a href="mailto:jason@zenplex.com">Jason van Zyl</a>
+ */
+public class NaughtyTest
+    extends AbstractTestCase
+{
+    /**
+     * Create the test case
+     *
+     * @param testName name of the test case
+     */
+    public NaughtyTest( String testName )
+    {
+        super( testName );
+    }
+
+    /**
+     * @return the suite of tests being tested
+     */
+    public static Test suite()
+    {
+        return new TestSuite( NaughtyTest.class );
+    }
+
+    /**
+     * Rigourous Test :-)
+     */
+    public void testApp()
+    {
+        // Crash and burn!
+    }
+}

Mime
View raw message