annotate bootstrap.xml @ 18:e4c45fd105ea

TL-32: Modify iivy-ant to retrieve 'runtime' conf for web libraries.
author smith@nwoca.org
date Tue, 11 Jan 2011 19:02:58 -0500
parents fc114dab4c50
children ad0a75e20f7b
rev   line source
1
73a34884e523 Initial bootstrap
smith@nwoca.org
parents:
diff changeset
1 <?xml version="1.0" encoding="UTF-8"?>
5
9c847b8c7e9c TL-32: Update ssdt-common-build to remove obsolte tasks and remove CVS assumptions.
smith@nwoca.org
parents: 4
diff changeset
2 <project name="ssdt.bootstrap" basedir="." default="" xmlns:ssdt="http://www.ssdt-ohio.org/ant/common">
4
be1051bf262f add globally common ant scripts
smith@nwoca.org
parents: 3
diff changeset
3 <echo message="invoking ssdt bootstrap" level="info"/>
be1051bf262f add globally common ant scripts
smith@nwoca.org
parents: 3
diff changeset
4
be1051bf262f add globally common ant scripts
smith@nwoca.org
parents: 3
diff changeset
5 <property file="${ssdt.devel.kit}/private.properties"/>
be1051bf262f add globally common ant scripts
smith@nwoca.org
parents: 3
diff changeset
6 <property name="user.home.ant.lib" value="${user.home}/.ant/lib"/>
6
e779cd205e30 TL-32: Add default ivy settings and update fetch typedef.
smith@nwoca.org
parents: 5
diff changeset
7 <property name="ssdt.devel.kit.src" value="http://hg.ssdt-ohio.org/browse/public/develkit"/>
18
e4c45fd105ea TL-32: Modify iivy-ant to retrieve 'runtime' conf for web libraries.
smith@nwoca.org
parents: 17
diff changeset
8
4
be1051bf262f add globally common ant scripts
smith@nwoca.org
parents: 3
diff changeset
9 <mkdir dir="${ssdt.devel.kit}"/>
be1051bf262f add globally common ant scripts
smith@nwoca.org
parents: 3
diff changeset
10 <mkdir dir="${user.home.ant.lib}"/>
be1051bf262f add globally common ant scripts
smith@nwoca.org
parents: 3
diff changeset
11
5
9c847b8c7e9c TL-32: Update ssdt-common-build to remove obsolte tasks and remove CVS assumptions.
smith@nwoca.org
parents: 4
diff changeset
12 <macrodef name="import-ant" uri="http://www.ssdt-ohio.org/ant/common">
9c847b8c7e9c TL-32: Update ssdt-common-build to remove obsolte tasks and remove CVS assumptions.
smith@nwoca.org
parents: 4
diff changeset
13 <attribute name="file"/>
9c847b8c7e9c TL-32: Update ssdt-common-build to remove obsolte tasks and remove CVS assumptions.
smith@nwoca.org
parents: 4
diff changeset
14 <sequential>
9
ae7d512164d0 TL-32: Add groovy and and allow scripts to "required" a script to be imported separately.
smith@nwoca.org
parents: 8
diff changeset
15 <ssdt:require-ant file="@{file}"/>
ae7d512164d0 TL-32: Add groovy and and allow scripts to "required" a script to be imported separately.
smith@nwoca.org
parents: 8
diff changeset
16 <import file="${ssdt.devel.kit}/@{file}"/>
ae7d512164d0 TL-32: Add groovy and and allow scripts to "required" a script to be imported separately.
smith@nwoca.org
parents: 8
diff changeset
17 </sequential>
14
3cb1ff0297a8 TL-32: Add task for creating test properties.
smith@nwoca.org
parents: 12
diff changeset
18 </macrodef>
9
ae7d512164d0 TL-32: Add groovy and and allow scripts to "required" a script to be imported separately.
smith@nwoca.org
parents: 8
diff changeset
19
ae7d512164d0 TL-32: Add groovy and and allow scripts to "required" a script to be imported separately.
smith@nwoca.org
parents: 8
diff changeset
20 <macrodef name="require-ant" uri="http://www.ssdt-ohio.org/ant/common">
ae7d512164d0 TL-32: Add groovy and and allow scripts to "required" a script to be imported separately.
smith@nwoca.org
parents: 8
diff changeset
21 <attribute name="file"/>
ae7d512164d0 TL-32: Add groovy and and allow scripts to "required" a script to be imported separately.
smith@nwoca.org
parents: 8
diff changeset
22 <sequential>
5
9c847b8c7e9c TL-32: Update ssdt-common-build to remove obsolte tasks and remove CVS assumptions.
smith@nwoca.org
parents: 4
diff changeset
23 <get dest="${ssdt.devel.kit}/@{file}"
14
3cb1ff0297a8 TL-32: Add task for creating test properties.
smith@nwoca.org
parents: 12
diff changeset
24 src="${ssdt.devel.kit.src}/@{file}"
3cb1ff0297a8 TL-32: Add task for creating test properties.
smith@nwoca.org
parents: 12
diff changeset
25 usetimestamp="true" verbose="false" ignoreerrors="true" />
5
9c847b8c7e9c TL-32: Update ssdt-common-build to remove obsolte tasks and remove CVS assumptions.
smith@nwoca.org
parents: 4
diff changeset
26 </sequential>
9
ae7d512164d0 TL-32: Add groovy and and allow scripts to "required" a script to be imported separately.
smith@nwoca.org
parents: 8
diff changeset
27 </macrodef>
4
be1051bf262f add globally common ant scripts
smith@nwoca.org
parents: 3
diff changeset
28
6
e779cd205e30 TL-32: Add default ivy settings and update fetch typedef.
smith@nwoca.org
parents: 5
diff changeset
29 <macrodef name="fetch" uri="http://www.ssdt-ohio.org/ant/common">
5
9c847b8c7e9c TL-32: Update ssdt-common-build to remove obsolte tasks and remove CVS assumptions.
smith@nwoca.org
parents: 4
diff changeset
30 <attribute name="dest" default="${user.home.ant.lib}"/>
9c847b8c7e9c TL-32: Update ssdt-common-build to remove obsolte tasks and remove CVS assumptions.
smith@nwoca.org
parents: 4
diff changeset
31 <attribute name="src"/>
9c847b8c7e9c TL-32: Update ssdt-common-build to remove obsolte tasks and remove CVS assumptions.
smith@nwoca.org
parents: 4
diff changeset
32 <sequential>
9c847b8c7e9c TL-32: Update ssdt-common-build to remove obsolte tasks and remove CVS assumptions.
smith@nwoca.org
parents: 4
diff changeset
33 <get dest="@{dest}"
14
3cb1ff0297a8 TL-32: Add task for creating test properties.
smith@nwoca.org
parents: 12
diff changeset
34 src="@{src}"
3cb1ff0297a8 TL-32: Add task for creating test properties.
smith@nwoca.org
parents: 12
diff changeset
35 usetimestamp="true" verbose="false" ignoreerrors="true"/>
3cb1ff0297a8 TL-32: Add task for creating test properties.
smith@nwoca.org
parents: 12
diff changeset
36 </sequential>
3cb1ff0297a8 TL-32: Add task for creating test properties.
smith@nwoca.org
parents: 12
diff changeset
37 </macrodef>
3cb1ff0297a8 TL-32: Add task for creating test properties.
smith@nwoca.org
parents: 12
diff changeset
38
17
fc114dab4c50 TL-32: Add task (ssdt:properties) to create properties file in any directory.
smith@nwoca.org
parents: 14
diff changeset
39 <macrodef name="properties"
14
3cb1ff0297a8 TL-32: Add task for creating test properties.
smith@nwoca.org
parents: 12
diff changeset
40 description="Creates test properties file from ant properties."
3cb1ff0297a8 TL-32: Add task for creating test properties.
smith@nwoca.org
parents: 12
diff changeset
41 uri="http://www.ssdt-ohio.org/ant/common">
17
fc114dab4c50 TL-32: Add task (ssdt:properties) to create properties file in any directory.
smith@nwoca.org
parents: 14
diff changeset
42 <attribute name="dir" description="Target directory"/>
14
3cb1ff0297a8 TL-32: Add task for creating test properties.
smith@nwoca.org
parents: 12
diff changeset
43 <attribute name="file" description="Target properties file" default="@{prefix}.properties"/>
3cb1ff0297a8 TL-32: Add task for creating test properties.
smith@nwoca.org
parents: 12
diff changeset
44 <attribute name="prefix" description="Prefix of properties to save to new file"/>
3cb1ff0297a8 TL-32: Add task for creating test properties.
smith@nwoca.org
parents: 12
diff changeset
45 <sequential>
17
fc114dab4c50 TL-32: Add task (ssdt:properties) to create properties file in any directory.
smith@nwoca.org
parents: 14
diff changeset
46 <mkdir dir="@{dir}"/>
fc114dab4c50 TL-32: Add task (ssdt:properties) to create properties file in any directory.
smith@nwoca.org
parents: 14
diff changeset
47 <echoproperties destfile="@{dir}/@{file}">
14
3cb1ff0297a8 TL-32: Add task for creating test properties.
smith@nwoca.org
parents: 12
diff changeset
48 <propertyset>
3cb1ff0297a8 TL-32: Add task for creating test properties.
smith@nwoca.org
parents: 12
diff changeset
49 <propertyref prefix="@{prefix}."/>
3cb1ff0297a8 TL-32: Add task for creating test properties.
smith@nwoca.org
parents: 12
diff changeset
50 <mapper type="glob" from="@{prefix}.*" to="*"/>
3cb1ff0297a8 TL-32: Add task for creating test properties.
smith@nwoca.org
parents: 12
diff changeset
51 </propertyset>
3cb1ff0297a8 TL-32: Add task for creating test properties.
smith@nwoca.org
parents: 12
diff changeset
52 </echoproperties>
5
9c847b8c7e9c TL-32: Update ssdt-common-build to remove obsolte tasks and remove CVS assumptions.
smith@nwoca.org
parents: 4
diff changeset
53 </sequential>
9c847b8c7e9c TL-32: Update ssdt-common-build to remove obsolte tasks and remove CVS assumptions.
smith@nwoca.org
parents: 4
diff changeset
54 </macrodef>
4
be1051bf262f add globally common ant scripts
smith@nwoca.org
parents: 3
diff changeset
55
17
fc114dab4c50 TL-32: Add task (ssdt:properties) to create properties file in any directory.
smith@nwoca.org
parents: 14
diff changeset
56 <macrodef name="test-properties"
fc114dab4c50 TL-32: Add task (ssdt:properties) to create properties file in any directory.
smith@nwoca.org
parents: 14
diff changeset
57 description="Creates test properties file from ant properties."
fc114dab4c50 TL-32: Add task (ssdt:properties) to create properties file in any directory.
smith@nwoca.org
parents: 14
diff changeset
58 uri="http://www.ssdt-ohio.org/ant/common">
fc114dab4c50 TL-32: Add task (ssdt:properties) to create properties file in any directory.
smith@nwoca.org
parents: 14
diff changeset
59 <attribute name="file" description="Target properties file" default="@{prefix}.properties"/>
fc114dab4c50 TL-32: Add task (ssdt:properties) to create properties file in any directory.
smith@nwoca.org
parents: 14
diff changeset
60 <attribute name="prefix" description="Prefix of properties to save to new file"/>
fc114dab4c50 TL-32: Add task (ssdt:properties) to create properties file in any directory.
smith@nwoca.org
parents: 14
diff changeset
61 <sequential>
fc114dab4c50 TL-32: Add task (ssdt:properties) to create properties file in any directory.
smith@nwoca.org
parents: 14
diff changeset
62 <ssdt:properties dir="${build.test.classes.dir}" file="@{file}" prefix="@{prefix}"/>
fc114dab4c50 TL-32: Add task (ssdt:properties) to create properties file in any directory.
smith@nwoca.org
parents: 14
diff changeset
63 </sequential>
fc114dab4c50 TL-32: Add task (ssdt:properties) to create properties file in any directory.
smith@nwoca.org
parents: 14
diff changeset
64 </macrodef>
fc114dab4c50 TL-32: Add task (ssdt:properties) to create properties file in any directory.
smith@nwoca.org
parents: 14
diff changeset
65
5
9c847b8c7e9c TL-32: Update ssdt-common-build to remove obsolte tasks and remove CVS assumptions.
smith@nwoca.org
parents: 4
diff changeset
66 <ssdt:import-ant file="antcontrib-ant.xml"/>
9c847b8c7e9c TL-32: Update ssdt-common-build to remove obsolte tasks and remove CVS assumptions.
smith@nwoca.org
parents: 4
diff changeset
67 <ssdt:import-ant file="ssdt-common-build.xml"/>
12
9358041972c0 TL-32: Add netbean's copylib task jar and script to acquire it.
smith@nwoca.org
parents: 9
diff changeset
68 <ssdt:import-ant file="netbeans-ant.xml"/>
1
73a34884e523 Initial bootstrap
smith@nwoca.org
parents:
diff changeset
69 </project>