comparison bootstrap.xml @ 6:e779cd205e30

TL-32: Add default ivy settings and update fetch typedef.
author smith@nwoca.org
date Fri, 17 Dec 2010 21:25:13 -0500
parents 9c847b8c7e9c
children 361f0d420ad4
comparison
equal deleted inserted replaced
5:9c847b8c7e9c 6:e779cd205e30
2 <project name="ssdt.bootstrap" basedir="." default="" xmlns:ssdt="http://www.ssdt-ohio.org/ant/common"> 2 <project name="ssdt.bootstrap" basedir="." default="" xmlns:ssdt="http://www.ssdt-ohio.org/ant/common">
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.ivy.jar.src" value="http://ivy.ssdt.nwoca.org/repository/ivy/ivy.jar"/> 8 <property name="ssdt.ivy.jar.src" value="http://ivy.ssdt.nwoca.org/repository/ivy/ivy.jar"/>
9 <property name="ssdt.ivy.settings.src" value="${ssdt.devel.kit.src}/ssdt.default.ivy.settings.xml"/>
8 <mkdir dir="${ssdt.devel.kit}"/> 10 <mkdir dir="${ssdt.devel.kit}"/>
9 <mkdir dir="${user.home.ant.lib}"/> 11 <mkdir dir="${user.home.ant.lib}"/>
10 12
11 <macrodef name="import-ant" uri="http://www.ssdt-ohio.org/ant/common"> 13 <macrodef name="import-ant" uri="http://www.ssdt-ohio.org/ant/common">
12 <attribute name="file"/> 14 <attribute name="file"/>
16 usetimestamp="true" verbose="false" /> 18 usetimestamp="true" verbose="false" />
17 <import file="${ssdt.devel.kit}/@{file}"/> 19 <import file="${ssdt.devel.kit}/@{file}"/>
18 </sequential> 20 </sequential>
19 </macrodef> 21 </macrodef>
20 22
21 <macrodef name="fetch-jar" uri="http://www.ssdt-ohio.org/ant/common"> 23 <macrodef name="fetch" uri="http://www.ssdt-ohio.org/ant/common">
22 <attribute name="dest" default="${user.home.ant.lib}"/> 24 <attribute name="dest" default="${user.home.ant.lib}"/>
23 <attribute name="src"/> 25 <attribute name="src"/>
24 <sequential> 26 <sequential>
25 <get dest="@{dest}" 27 <get dest="@{dest}"
26 src="@{src}" 28 src="@{src}"
27 usetimestamp="true" verbose="false" /> 29 usetimestamp="true" verbose="false" />
28 </sequential> 30 </sequential>
29 </macrodef> 31 </macrodef>
30 32
31 <ssdt:fetch-jar dest="${user.home.ant.lib}/ivy.jar" 33 <ssdt:fetch dest="${user.home.ant.lib}/ivy.jar"
32 src="${ssdt.ivy.jar.src}"/> 34 src="${ssdt.ivy.jar.src}"/>
35 <ssdt:fetch dest="${ssdt.devel.kit}/ssdt.default.ivy.settings.xml"
36 src="${ssdt.ivy.settings.src}"/>
33 37
34 <ssdt:import-ant file="ivy-ant.xml"/> 38 <ssdt:import-ant file="ivy-ant.xml"/>
35 <ssdt:import-ant file="antcontrib-ant.xml"/> 39 <ssdt:import-ant file="antcontrib-ant.xml"/>
36 <ssdt:import-ant file="ssdt-common-build.xml"/> 40 <ssdt:import-ant file="ssdt-common-build.xml"/>
37 41