annotate bootstrap.xml @ 15:d2901f1c52c3

Add common task for initialiaing groovy ant task.
author smith@nwoca.org
date Tue, 28 Dec 2010 14:48:36 -0500
parents 3cb1ff0297a8
children fc114dab4c50
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"/>
5
9c847b8c7e9c TL-32: Update ssdt-common-build to remove obsolte tasks and remove CVS assumptions.
smith@nwoca.org
parents: 4
diff changeset
8 <property name="ssdt.ivy.jar.src" value="http://ivy.ssdt.nwoca.org/repository/ivy/ivy.jar"/>
6
e779cd205e30 TL-32: Add default ivy settings and update fetch typedef.
smith@nwoca.org
parents: 5
diff changeset
9 <property name="ssdt.ivy.settings.src" value="${ssdt.devel.kit.src}/ssdt.default.ivy.settings.xml"/>
4
be1051bf262f add globally common ant scripts
smith@nwoca.org
parents: 3
diff changeset
10 <mkdir dir="${ssdt.devel.kit}"/>
be1051bf262f add globally common ant scripts
smith@nwoca.org
parents: 3
diff changeset
11 <mkdir dir="${user.home.ant.lib}"/>
be1051bf262f add globally common ant scripts
smith@nwoca.org
parents: 3
diff changeset
12
5
9c847b8c7e9c TL-32: Update ssdt-common-build to remove obsolte tasks and remove CVS assumptions.
smith@nwoca.org
parents: 4
diff changeset
13 <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
14 <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
15 <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
16 <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
17 <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
18 </sequential>
14
3cb1ff0297a8 TL-32: Add task for creating test properties.
smith@nwoca.org
parents: 12
diff changeset
19 </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
20
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 <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
22 <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
23 <sequential>
5
9c847b8c7e9c TL-32: Update ssdt-common-build to remove obsolte tasks and remove CVS assumptions.
smith@nwoca.org
parents: 4
diff changeset
24 <get dest="${ssdt.devel.kit}/@{file}"
14
3cb1ff0297a8 TL-32: Add task for creating test properties.
smith@nwoca.org
parents: 12
diff changeset
25 src="${ssdt.devel.kit.src}/@{file}"
3cb1ff0297a8 TL-32: Add task for creating test properties.
smith@nwoca.org
parents: 12
diff changeset
26 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
27 </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
28 </macrodef>
4
be1051bf262f add globally common ant scripts
smith@nwoca.org
parents: 3
diff changeset
29
6
e779cd205e30 TL-32: Add default ivy settings and update fetch typedef.
smith@nwoca.org
parents: 5
diff changeset
30 <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
31 <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
32 <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
33 <sequential>
9c847b8c7e9c TL-32: Update ssdt-common-build to remove obsolte tasks and remove CVS assumptions.
smith@nwoca.org
parents: 4
diff changeset
34 <get dest="@{dest}"
14
3cb1ff0297a8 TL-32: Add task for creating test properties.
smith@nwoca.org
parents: 12
diff changeset
35 src="@{src}"
3cb1ff0297a8 TL-32: Add task for creating test properties.
smith@nwoca.org
parents: 12
diff changeset
36 usetimestamp="true" verbose="false" ignoreerrors="true"/>
3cb1ff0297a8 TL-32: Add task for creating test properties.
smith@nwoca.org
parents: 12
diff changeset
37 </sequential>
3cb1ff0297a8 TL-32: Add task for creating test properties.
smith@nwoca.org
parents: 12
diff changeset
38 </macrodef>
3cb1ff0297a8 TL-32: Add task for creating test properties.
smith@nwoca.org
parents: 12
diff changeset
39
3cb1ff0297a8 TL-32: Add task for creating test properties.
smith@nwoca.org
parents: 12
diff changeset
40 <macrodef name="test-properties"
3cb1ff0297a8 TL-32: Add task for creating test properties.
smith@nwoca.org
parents: 12
diff changeset
41 description="Creates test properties file from ant properties."
3cb1ff0297a8 TL-32: Add task for creating test properties.
smith@nwoca.org
parents: 12
diff changeset
42 uri="http://www.ssdt-ohio.org/ant/common">
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>
3cb1ff0297a8 TL-32: Add task for creating test properties.
smith@nwoca.org
parents: 12
diff changeset
46 <mkdir dir="${build.test.classes.dir}"/>
3cb1ff0297a8 TL-32: Add task for creating test properties.
smith@nwoca.org
parents: 12
diff changeset
47 <echoproperties destfile="${build.test.classes.dir}/@{file}">
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
5
9c847b8c7e9c TL-32: Update ssdt-common-build to remove obsolte tasks and remove CVS assumptions.
smith@nwoca.org
parents: 4
diff changeset
56 <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
57 <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
58 <ssdt:import-ant file="netbeans-ant.xml"/>
1
73a34884e523 Initial bootstrap
smith@nwoca.org
parents:
diff changeset
59 </project>