Mercurial > public > develkit
diff 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 |
line wrap: on
line diff
--- a/bootstrap.xml Sun Apr 10 21:42:19 2011 -0400 +++ b/bootstrap.xml Mon Apr 11 16:32:20 2011 -0400 @@ -5,7 +5,7 @@ <property file="${ssdt.devel.kit}/private.properties"/> <property name="user.home.ant.lib" value="${user.home}/.ant/lib"/> <property name="ssdt.devel.kit.src" value="http://hg.ssdt-ohio.org/browse/public/develkit"/> - + <mkdir dir="${ssdt.devel.kit}"/> <mkdir dir="${user.home.ant.lib}"/> @@ -66,4 +66,17 @@ <ssdt:import-ant file="antcontrib-ant.xml"/> <ssdt:import-ant file="ssdt-common-build.xml"/> <ssdt:import-ant file="netbeans-ant.xml"/> + + <macrodef name="add-dependency" + description="Dynamically adds a new dependencty into an existing target." + uri="http://www.ssdt-ohio.org/ant/common"> + <attribute name="target" description="Target to add dendency for"/> + <attribute name="depends" description="new dependancy for target"/> + <sequential> + <groovy> + project.targets['@{target}'].addDependency('@{depends}') + </groovy> + </sequential> + </macrodef> + </project>