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">
49 <target name="deps" depends="init_delegator" description="download dependencies">
50 <antcall target="delegator">
51 <param name="targets" value="deps"/>
55 <target name="clean-deps" depends="init_delegator" description="download dependencies">
56 <antcall target="delegator">
57 <param name="targets" value="clean-deps"/>
61 <target name="clean" depends="init_delegator" description="Clean all targets">
62 <antcall target="delegator">
63 <param name="targets" value="clean"/>
67 <target name="compile" depends="init_delegator">
68 <antcall target="delegator">
69 <param name="targets" value="compile,dist-lite-product"/>
73 <target name="schemaexport" depends="init_delegator">
74 <antcall target="delegator">
75 <param name="targets" value="schemaexport"/>
79 <target name="jar" depends="init_delegator">
80 <antcall target="delegator">
81 <param name="targets" value="jar"/>
85 <target name="javadoc" depends="init_delegator">
86 <antcall target="delegator">
87 <param name="targets" value="javadoc"/>
91 <target name="testjavadoc" depends="init_delegator">
92 <antcall target="delegator">
93 <param name="targets" value="testjavadoc"/>
97 <target name="pdfdoc" depends="init_delegator">
98 <antcall target="delegator">
99 <param name="targets" value="pdfdoc"/>
103 <target name="doccheck" depends="init_delegator">
104 <antcall target="delegator">
105 <param name="targets" value="doccheck"/>
109 <target name="clean-dist" depends="init_delegator">
110 <antcall target="delegator">
111 <param name="targets" value="clean-dist"/>
115 <target name="dist-lite" depends="init_delegator">
116 <antcall target="delegator">
117 <param name="targets" value="dist-lite"/>
121 <target name="dist-javadoc" depends="init_delegator">
122 <antcall target="delegator">
123 <param name="targets" value="dist-javadoc"/>
127 <target name="dist-lite-product" depends="init_delegator">
128 <antcall target="delegator">
129 <param name="targets" value="dist-lite-product"/>
133 <target name="dist-lite-test" depends="init_delegator">
134 <antcall target="delegator">
135 <param name="targets" value="dist-lite-test"/>
140 <target name="dist" depends="init_delegator">
141 <antcall target="delegator">
142 <param name="targets" value="dist"/>
146 <target name="checkstyle" depends="init_delegator">
147 <antcall target="delegator">
148 <param name="targets" value="checkstyle"/>
152 <target name="format" depends="init_delegator">
153 <antcall target="delegator">
154 <param name="targets" value="format"/>
158 <target name="simian" depends="init_delegator">
159 <antcall target="delegator">
160 <param name="targets" value="simian"/>
164 <target name="macker" depends="init_delegator">
165 <antcall target="delegator">
166 <param name="targets" value="macker"/>
170 <target name="testclasses" depends="init_delegator">
171 <antcall target="delegator">
172 <param name="targets" value="dist-lite-product,dist-lite-test"/>
176 <target name="test" depends="init_delegator">
177 <antcall target="delegator">
178 <param name="targets" value="dist-lite-product,dist-lite-test,test"/>
182 <target name="junit-reports" depends="init_delegator">
183 <antcall target="delegator">
184 <param name="targets" value="junit-reports,dist-lite-product,dist-lite-test"/>
188 <target name="jcov-reports" depends="init_delegator">
189 <antcall target="delegator">
190 <param name="targets" value="jcov-reports,dist-lite-product,dist-lite-test"/>
194 <target name="reports" depends="init_delegator">
195 <antcall target="delegator">
196 <param name="targets" value="reports,dist-lite-product,dist-lite-test"/>
200 <target name="forrest" depends="init_delegator">
201 <antcall target="delegator">
202 <param name="targets" value="forrest"/>
207 <target name="schemaupdate" depends="init_delegator">
208 <antcall target="delegator">
209 <param name="targets" value="schemaupdate"/>