comparison bootstrap.xml @ 9:ae7d512164d0

TL-32: Add groovy and and allow scripts to "required" a script to be imported separately.
author smith@nwoca.org
date Sat, 18 Dec 2010 19:41:10 -0500
parents 26a4d8410fdf
children 9358041972c0
comparison
equal deleted inserted replaced
8:26a4d8410fdf 9:ae7d512164d0
11 <mkdir dir="${user.home.ant.lib}"/> 11 <mkdir dir="${user.home.ant.lib}"/>
12 12
13 <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">
14 <attribute name="file"/> 14 <attribute name="file"/>
15 <sequential> 15 <sequential>
16 <ssdt:require-ant file="@{file}"/>
17 <import file="${ssdt.devel.kit}/@{file}"/>
18 </sequential>
19 </macrodef>
20
21 <macrodef name="require-ant" uri="http://www.ssdt-ohio.org/ant/common">
22 <attribute name="file"/>
23 <sequential>
16 <get dest="${ssdt.devel.kit}/@{file}" 24 <get dest="${ssdt.devel.kit}/@{file}"
17 src="${ssdt.devel.kit.src}/@{file}" 25 src="${ssdt.devel.kit.src}/@{file}"
18 usetimestamp="true" verbose="false" ignoreerrors="true" /> 26 usetimestamp="true" verbose="false" ignoreerrors="true" />
19 <import file="${ssdt.devel.kit}/@{file}"/>
20 </sequential> 27 </sequential>
21 </macrodef> 28 </macrodef>
22 29
23 <macrodef name="fetch" uri="http://www.ssdt-ohio.org/ant/common"> 30 <macrodef name="fetch" uri="http://www.ssdt-ohio.org/ant/common">
24 <attribute name="dest" default="${user.home.ant.lib}"/> 31 <attribute name="dest" default="${user.home.ant.lib}"/>
25 <attribute name="src"/> 32 <attribute name="src"/>
26 <sequential> 33 <sequential>