comparison bootstrap.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 e4c45fd105ea
children f8b0dde24622
comparison
equal deleted inserted replaced
27:ea29594bb799 28:ad0a75e20f7b
3 <echo message="invoking ssdt bootstrap" level="info"/> 3 <echo message="invoking ssdt bootstrap" level="info"/>
4 4
5 <property file="${ssdt.devel.kit}/private.properties"/> 5 <property file="${ssdt.devel.kit}/private.properties"/>
6 <property name="user.home.ant.lib" value="${user.home}/.ant/lib"/> 6 <property name="user.home.ant.lib" value="${user.home}/.ant/lib"/>
7 <property name="ssdt.devel.kit.src" value="http://hg.ssdt-ohio.org/browse/public/develkit"/> 7 <property name="ssdt.devel.kit.src" value="http://hg.ssdt-ohio.org/browse/public/develkit"/>
8 8
9 <mkdir dir="${ssdt.devel.kit}"/> 9 <mkdir dir="${ssdt.devel.kit}"/>
10 <mkdir dir="${user.home.ant.lib}"/> 10 <mkdir dir="${user.home.ant.lib}"/>
11 11
12 <macrodef name="import-ant" uri="http://www.ssdt-ohio.org/ant/common"> 12 <macrodef name="import-ant" uri="http://www.ssdt-ohio.org/ant/common">
13 <attribute name="file"/> 13 <attribute name="file"/>
64 </macrodef> 64 </macrodef>
65 65
66 <ssdt:import-ant file="antcontrib-ant.xml"/> 66 <ssdt:import-ant file="antcontrib-ant.xml"/>
67 <ssdt:import-ant file="ssdt-common-build.xml"/> 67 <ssdt:import-ant file="ssdt-common-build.xml"/>
68 <ssdt:import-ant file="netbeans-ant.xml"/> 68 <ssdt:import-ant file="netbeans-ant.xml"/>
69
70 <macrodef name="add-dependency"
71 description="Dynamically adds a new dependencty into an existing target."
72 uri="http://www.ssdt-ohio.org/ant/common">
73 <attribute name="target" description="Target to add dendency for"/>
74 <attribute name="depends" description="new dependancy for target"/>
75 <sequential>
76 <groovy>
77 project.targets['@{target}'].addDependency('@{depends}')
78 </groovy>
79 </sequential>
80 </macrodef>
81
69 </project> 82 </project>