Mercurial > public > develkit
diff 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 |
line wrap: on
line diff
--- a/bootstrap.xml Sat Dec 18 14:20:32 2010 -0500 +++ b/bootstrap.xml Sat Dec 18 19:41:10 2010 -0500 @@ -13,12 +13,19 @@ <macrodef name="import-ant" uri="http://www.ssdt-ohio.org/ant/common"> <attribute name="file"/> <sequential> + <ssdt:require-ant file="@{file}"/> + <import file="${ssdt.devel.kit}/@{file}"/> + </sequential> + </macrodef> + + <macrodef name="require-ant" uri="http://www.ssdt-ohio.org/ant/common"> + <attribute name="file"/> + <sequential> <get dest="${ssdt.devel.kit}/@{file}" src="${ssdt.devel.kit.src}/@{file}" usetimestamp="true" verbose="false" ignoreerrors="true" /> - <import file="${ssdt.devel.kit}/@{file}"/> </sequential> - </macrodef> + </macrodef> <macrodef name="fetch" uri="http://www.ssdt-ohio.org/ant/common"> <attribute name="dest" default="${user.home.ant.lib}"/>