diff ssdt-common-build.xml @ 28:ad0a75e20f7b

TL-34: Allow sonar to publish failing tests (ant 1.8.1+)
author smith@nwoca.org
date Mon, 11 Apr 2011 16:32:20 -0400
parents d2901f1c52c3
children 9480be99ec76
line wrap: on
line diff
--- a/ssdt-common-build.xml	Sun Apr 10 21:42:19 2011 -0400
+++ b/ssdt-common-build.xml	Mon Apr 11 16:32:20 2011 -0400
@@ -23,19 +23,17 @@
         <cvs command="up -d -P"/>
     </target>
 
-    <target name="-project.init.groovy.task" depends="init">
-        <if>
-            <available classpath="${run.test.classpath}" classname="org.codehaus.groovy.ant.Groovy"/>
-            <then>
-                <taskdef 		name="groovy" classname="org.codehaus.groovy.ant.Groovy"  classpath="${run.test.classpath}"/>
-            </then>
-            <else>
-                <property		name="ssdt.groovy.jar.src" 					value="http://ivy.ssdt.nwoca.org/repository/groovy/groovy-all.jar"/>
-                <ssdt:fetch 	dest="${ssdt.devel.kit}/groovy-all.jar" 		src="${ssdt.groovy.jar.src}"/>
-                <taskdef 		name="groovy" classname="org.codehaus.groovy.ant.Groovy"  classpath="${ssdt.devel.kit}/groovy-all.jar"/>
-            </else>
-        </if>
-    </target>
+    <if>
+        <available classpath="${run.test.classpath}" classname="org.codehaus.groovy.ant.Groovy"/>
+        <then>
+            <taskdef 	name="groovy" classname="org.codehaus.groovy.ant.Groovy"  classpath="${run.test.classpath}"/>
+        </then>
+        <else>
+            <property	name="ssdt.groovy.jar.src"                               value="http://ivy.ssdt.nwoca.org/repository/groovy/groovy-all.jar"/>
+            <ssdt:fetch dest="${ssdt.devel.kit}/groovy-all.jar" 		 src="${ssdt.groovy.jar.src}"/>
+            <taskdef 	name="groovy" classname="org.codehaus.groovy.ant.Groovy" classpath="${ssdt.devel.kit}/groovy-all.jar"/>
+        </else>
+    </if>
 
     <target name="project.init" depends="init">
         <property file="build-number.txt" description="Bamboo build number"/>