comparison bootstrap.xml @ 33:f8b0dde24622

Replace groovy script with custom task to correct memory leak
author smith@nwoca.org
date Sat, 16 Apr 2011 16:27:53 -0400
parents ad0a75e20f7b
children 7a36ea2cb81a
comparison
equal deleted inserted replaced
32:9480be99ec76 33:f8b0dde24622
1 <?xml version="1.0" encoding="UTF-8"?> 1 <?xml version="1.0" encoding="UTF-8"?>
2 <project name="ssdt.bootstrap" basedir="." default="" xmlns:ssdt="http://www.ssdt-ohio.org/ant/common"> 2 <project name="ssdt.bootstrap" basedir="." default=""
3 xmlns:ssdt="http://www.ssdt-ohio.org/ant/common"
4 xmlns:ssdtant="antlib:org.ssdt_ohio.tools.ant">
5
3 <echo message="invoking ssdt bootstrap" level="info"/> 6 <echo message="invoking ssdt bootstrap" level="info"/>
4 7
5 <property file="${ssdt.devel.kit}/private.properties"/> 8 <property file="${ssdt.devel.kit}/private.properties"/>
6 <property name="user.home.ant.lib" value="${user.home}/.ant/lib"/> 9 <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"/> 10 <property name="ssdt.devel.kit.src" value="http://hg.ssdt-ohio.org/browse/public/develkit"/>
61 <sequential> 64 <sequential>
62 <ssdt:properties dir="${build.test.classes.dir}" file="@{file}" prefix="@{prefix}"/> 65 <ssdt:properties dir="${build.test.classes.dir}" file="@{file}" prefix="@{prefix}"/>
63 </sequential> 66 </sequential>
64 </macrodef> 67 </macrodef>
65 68
69 <property name="ssdt.ant.jar.src"
70 value="http://ivy.ssdt.nwoca.org/repository/ssdt/ssdt-ant.jar"/>
71
72 <ssdt:fetch dest="${user.home.ant.lib}/ssdt-ant.jar"
73 src="${ssdt.ant.jar.src}"/>
74
66 <ssdt:import-ant file="antcontrib-ant.xml"/> 75 <ssdt:import-ant file="antcontrib-ant.xml"/>
67 <ssdt:import-ant file="ssdt-common-build.xml"/> 76 <ssdt:import-ant file="ssdt-common-build.xml"/>
68 <ssdt:import-ant file="netbeans-ant.xml"/> 77 <ssdt:import-ant file="netbeans-ant.xml"/>
69 78
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
82 </project> 79 </project>