diff bootstrap.xml @ 4:be1051bf262f

add globally common ant scripts
author smith@nwoca.org
date Fri, 17 Dec 2010 16:55:03 -0500
parents d5c0421bfd57
children 9c847b8c7e9c
line wrap: on
line diff
--- a/bootstrap.xml	Thu Dec 16 18:37:44 2010 -0500
+++ b/bootstrap.xml	Fri Dec 17 16:55:03 2010 -0500
@@ -1,7 +1,45 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <project name="ssdt.bootstrap"  basedir=".">
-    <echo message="invoking ssdt bootstrap"/>
-    <echoproperties prefix="ssdt"/>
+    <echo message="invoking ssdt bootstrap" level="info"/>
+
+    <property   file="${ssdt.devel.kit}/private.properties"/>
+    <property   name="user.home.ant.lib"        value="${user.home}/.ant/lib"/>
+    <mkdir      dir="${ssdt.devel.kit}"/>
+
+<!--    <macrodef name="ssdt-import-ant">
+        <attribute name="file"/>
+        <sequential>
+    <get        dest="${ssdt.devel.kit}/ivy-ant.xml"
+                src="${ssdt.devel.kit.src}/ivy-ant.xml"
+                usetimestamp="true"/>
+    <import    file="${ssdt.devel.kit}/ivy-ant.xml"/>
+
+        </sequential>
+    </macrodef> -->
+
+    <property   name="ssdt.ivy.jar.src"         value="http://ivy.ssdt.nwoca.org/repository/ivy/ivy.jar"/>
+
+    <mkdir      dir="${user.home.ant.lib}"/>
+
+    <get        dest="${user.home.ant.lib}/ivy.jar"
+                src="${ssdt.ivy.jar.src}"
+                usetimestamp="true"/>
+
+    <get        dest="${ssdt.devel.kit}/ivy-ant.xml"
+                src="${ssdt.devel.kit.src}/ivy-ant.xml"
+                usetimestamp="true"/>
+    <import    file="${ssdt.devel.kit}/ivy-ant.xml"/>
+
+    <get        dest="${ssdt.devel.kit}/antcontrib-ant.xml"
+                src="${ssdt.devel.kit.src}/antcontrib-ant.xml"
+                usetimestamp="true"/>
+    <import     file="${ssdt.devel.kit}/antcontrib-ant.xml"/>
+
+    <get        dest="${ssdt.devel.kit}/ssdt-common-build.xml"
+                src="${ssdt.devel.kit.src}/ssdt-common-build.xml"
+                usetimestamp="true"/>
+
+    <import file="${ssdt.devel.kit}/ssdt-common-build.xml"/>
 
 
 </project>