3 <!-- =============================================================
4 This build file provides delegation to a number of other
5 projects. The projects must be defined in a projects
6 property which contains a comma-separated list of directories
7 to which we must delegate.
8 This build file should be included from another build file
9 which needs to delegate to other targets.
10 ================================================================= -->
12 <!-- ================================================================
13 Delegates the build to a number of other projects.
14 Two properties must be set for this to work:
15 - projects: a comma separated list of directories to execute the
17 - targets: List of targets (separated by commas) to execute.
18 ================================================================ -->
19 <target name="delegator" >
20 <for list="${targets}" param="target">
22 <for list="${projects}" param="proj">
25 =====================================================================
26 Executing target '@{target}' for @{proj}
27 =====================================================================
41 <echo>Delegator build file for delegating a task
42 to several other build files. </echo>
45 <target name="init_delegator" depends="init_directory_properties,import_header">
48 <target name="clean" depends="init_delegator" description="Clean all targets">
49 <antcall target="delegator">
50 <param name="targets" value="clean"/>
54 <target name="compile" depends="init_delegator">
55 <antcall target="delegator">
56 <param name="targets" value="compile,dist-lite-product"/>
60 <target name="schemaexport" depends="init_delegator">
61 <antcall target="delegator">
62 <param name="targets" value="schemaexport"/>
66 <target name="jar" depends="init_delegator">
67 <antcall target="delegator">
68 <param name="targets" value="jar"/>
72 <target name="javadoc" depends="init_delegator">
73 <antcall target="delegator">
74 <param name="targets" value="javadoc"/>
78 <target name="testjavadoc" depends="init_delegator">
79 <antcall target="delegator">
80 <param name="targets" value="testjavadoc"/>
84 <target name="pdfdoc" depends="init_delegator">
85 <antcall target="delegator">
86 <param name="targets" value="pdfdoc"/>
90 <target name="doccheck" depends="init_delegator">
91 <antcall target="delegator">
92 <param name="targets" value="doccheck"/>
96 <target name="clean-dist" depends="init_delegator">
97 <antcall target="delegator">
98 <param name="targets" value="clean-dist"/>
102 <target name="dist-lite" depends="init_delegator">
103 <antcall target="delegator">
104 <param name="targets" value="dist-lite"/>
108 <target name="dist-javadoc" depends="init_delegator">
109 <antcall target="delegator">
110 <param name="targets" value="dist-javadoc"/>
114 <target name="dist-lite-product" depends="init_delegator">
115 <antcall target="delegator">
116 <param name="targets" value="dist-lite-product"/>
120 <target name="dist-lite-test" depends="init_delegator">
121 <antcall target="delegator">
122 <param name="targets" value="dist-lite-test"/>
127 <target name="dist" depends="init_delegator">
128 <antcall target="delegator">
129 <param name="targets" value="dist"/>
133 <target name="checkstyle" depends="init_delegator">
134 <antcall target="delegator">
135 <param name="targets" value="checkstyle"/>
139 <target name="format" depends="init_delegator">
140 <antcall target="delegator">
141 <param name="targets" value="format"/>
145 <target name="simian" depends="init_delegator">
146 <antcall target="delegator">
147 <param name="targets" value="simian"/>
151 <target name="macker" depends="init_delegator">
152 <antcall target="delegator">
153 <param name="targets" value="macker"/>
157 <target name="testclasses" depends="init_delegator">
158 <antcall target="delegator">
159 <param name="targets" value="dist-lite-product,dist-lite-test"/>
163 <target name="test" depends="init_delegator">
164 <antcall target="delegator">
165 <param name="targets" value="dist-lite-product,dist-lite-test,test"/>
169 <target name="junit-reports" depends="init_delegator">
170 <antcall target="delegator">
171 <param name="targets" value="junit-reports,dist-lite-product,dist-lite-test"/>
175 <target name="jcov-reports" depends="init_delegator">
176 <antcall target="delegator">
177 <param name="targets" value="jcov-reports,dist-lite-product,dist-lite-test"/>
181 <target name="reports" depends="init_delegator">
182 <antcall target="delegator">
183 <param name="targets" value="reports,dist-lite-product,dist-lite-test"/>
187 <target name="schemaupdate" depends="init_delegator">
188 <antcall target="delegator">
189 <param name="targets" value="schemaupdate"/>