geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r500726 - /geronimo/sandbox/build-support/harness/trunk/harness.xml
Date Sun, 28 Jan 2007 01:35:30 GMT
Author: jdillon
Date: Sat Jan 27 17:35:29 2007
New Revision: 500726

URL: http://svn.apache.org/viewvc?view=rev&rev=500726
Log:
Bring init back, but make it common to all targets

Modified:
    geronimo/sandbox/build-support/harness/trunk/harness.xml

Modified: geronimo/sandbox/build-support/harness/trunk/harness.xml
URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/harness/trunk/harness.xml?view=diff&rev=500726&r1=500725&r2=500726
==============================================================================
--- geronimo/sandbox/build-support/harness/trunk/harness.xml (original)
+++ geronimo/sandbox/build-support/harness/trunk/harness.xml Sat Jan 27 17:35:29 2007
@@ -22,7 +22,17 @@
 
 <project default="harness" basedir=".">
     
-    <target name="setup">
+    <target name="init">
+        <taskdef name="groovy" classname="org.codehaus.groovy.ant.Groovy">
+            <classpath>
+                <fileset dir="${basedir}/lib">
+                    <include name="*.jar"/>
+                </fileset>
+            </classpath>
+        </taskdef>
+    </target>
+    
+    <target name="setup" depends="init">
         <!-- Download the script library -->
         <exec executable="svn" dir="${basedir}">
             <arg value="export"/>
@@ -42,17 +52,9 @@
         </chmod>
     </target>
     
-    <target name="harness">
+    <target name="harness" depends="init">
         <!-- Capture all build harness output to a log file for local debugging -->
         <record name="harness.log" action="start" emacsmode="true" loglevel="info" append="false"/>
-        
-        <taskdef name="groovy" classname="org.codehaus.groovy.ant.Groovy">
-            <classpath>
-                <fileset dir="${basedir}/lib">
-                    <include name="*.jar"/>
-                </fileset>
-            </classpath>
-        </taskdef>
         
         <groovy>
             <classpath>



Mime
View raw message