comparison 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
comparison
equal deleted inserted replaced
27:ea29594bb799 28:ad0a75e20f7b
21 unless="build.devel.bamboo"> 21 unless="build.devel.bamboo">
22 <!-- Get the latest from CVS --> 22 <!-- Get the latest from CVS -->
23 <cvs command="up -d -P"/> 23 <cvs command="up -d -P"/>
24 </target> 24 </target>
25 25
26 <target name="-project.init.groovy.task" depends="init"> 26 <if>
27 <if> 27 <available classpath="${run.test.classpath}" classname="org.codehaus.groovy.ant.Groovy"/>
28 <available classpath="${run.test.classpath}" classname="org.codehaus.groovy.ant.Groovy"/> 28 <then>
29 <then> 29 <taskdef name="groovy" classname="org.codehaus.groovy.ant.Groovy" classpath="${run.test.classpath}"/>
30 <taskdef name="groovy" classname="org.codehaus.groovy.ant.Groovy" classpath="${run.test.classpath}"/> 30 </then>
31 </then> 31 <else>
32 <else> 32 <property name="ssdt.groovy.jar.src" value="http://ivy.ssdt.nwoca.org/repository/groovy/groovy-all.jar"/>
33 <property name="ssdt.groovy.jar.src" value="http://ivy.ssdt.nwoca.org/repository/groovy/groovy-all.jar"/> 33 <ssdt:fetch dest="${ssdt.devel.kit}/groovy-all.jar" src="${ssdt.groovy.jar.src}"/>
34 <ssdt:fetch dest="${ssdt.devel.kit}/groovy-all.jar" src="${ssdt.groovy.jar.src}"/> 34 <taskdef name="groovy" classname="org.codehaus.groovy.ant.Groovy" classpath="${ssdt.devel.kit}/groovy-all.jar"/>
35 <taskdef name="groovy" classname="org.codehaus.groovy.ant.Groovy" classpath="${ssdt.devel.kit}/groovy-all.jar"/> 35 </else>
36 </else> 36 </if>
37 </if>
38 </target>
39 37
40 <target name="project.init" depends="init"> 38 <target name="project.init" depends="init">
41 <property file="build-number.txt" description="Bamboo build number"/> 39 <property file="build-number.txt" description="Bamboo build number"/>
42 <property name="build.number" value="-1" description="Unknown build number"/> 40 <property name="build.number" value="-1" description="Unknown build number"/>
43 <property name="project.version" value="${ivy.revision}"/> 41 <property name="project.version" value="${ivy.revision}"/>