+++ /dev/null
-
-
- <!-- =============================================================
- This build file provides delegation to a number of other
- projects. The projects must be defined in a projects
- property which contains a comma-separated list of directories
- to which we must delegate.
- This build file should be included from another build file
- which needs to delegate to other targets.
- ================================================================= -->
-
- <!-- ================================================================
- Delegates the build to a number of other projects.
- Two properties must be set for this to work:
- - projects: a comma separated list of directories to execute the
- build in.
- - targets: List of targets (separated by commas) to execute.
- ================================================================ -->
- <target name="delegator" >
- <for list="${targets}" param="target">
- <sequential>
- <for list="${projects}" param="proj">
- <sequential>
- <echo>
-=====================================================================
-Executing target '@{target}' for @{proj}
-=====================================================================
- </echo>
- <ant dir="@{proj}"
- inheritAll="false"
- target="@{target}"/>
- </sequential>
- </for>
- </sequential>
- </for>
- </target>
-
-
-
- <target name="info">
- <echo>Delegator build file for delegating a task
- to several other build files. </echo>
- </target>
-
- <target name="init_delegator" depends="init_directory_properties,import_header">
- </target>
-
-
- <target name="deps" depends="init_delegator" description="download dependencies">
- <antcall target="delegator">
- <param name="targets" value="deps"/>
- </antcall>
- </target>
-
- <target name="clean-deps" depends="init_delegator" description="download dependencies">
- <antcall target="delegator">
- <param name="targets" value="clean-deps"/>
- </antcall>
- </target>
-
- <target name="clean" depends="init_delegator" description="Clean all targets">
- <antcall target="delegator">
- <param name="targets" value="clean"/>
- </antcall>
- </target>
-
- <target name="compile" depends="init_delegator">
- <antcall target="delegator">
- <param name="targets" value="compile,dist-lite-product"/>
- </antcall>
- </target>
-
- <target name="schemaexport" depends="init_delegator">
- <antcall target="delegator">
- <param name="targets" value="schemaexport"/>
- </antcall>
- </target>
-
- <target name="jar" depends="init_delegator">
- <antcall target="delegator">
- <param name="targets" value="jar"/>
- </antcall>
- </target>
-
- <target name="javadoc" depends="init_delegator">
- <antcall target="delegator">
- <param name="targets" value="javadoc"/>
- </antcall>
- </target>
-
- <target name="testjavadoc" depends="init_delegator">
- <antcall target="delegator">
- <param name="targets" value="testjavadoc"/>
- </antcall>
- </target>
-
- <target name="pdfdoc" depends="init_delegator">
- <antcall target="delegator">
- <param name="targets" value="pdfdoc"/>
- </antcall>
- </target>
-
- <target name="doccheck" depends="init_delegator">
- <antcall target="delegator">
- <param name="targets" value="doccheck"/>
- </antcall>
- </target>
-
- <target name="clean-dist" depends="init_delegator">
- <antcall target="delegator">
- <param name="targets" value="clean-dist"/>
- </antcall>
- </target>
-
- <target name="dist-lite" depends="init_delegator">
- <antcall target="delegator">
- <param name="targets" value="dist-lite"/>
- </antcall>
- </target>
-
- <target name="dist-javadoc" depends="init_delegator">
- <antcall target="delegator">
- <param name="targets" value="dist-javadoc"/>
- </antcall>
- </target>
-
- <target name="dist-lite-product" depends="init_delegator">
- <antcall target="delegator">
- <param name="targets" value="dist-lite-product"/>
- </antcall>
- </target>
-
- <target name="dist-lite-test" depends="init_delegator">
- <antcall target="delegator">
- <param name="targets" value="dist-lite-test"/>
- </antcall>
- </target>
-
-
- <target name="dist" depends="init_delegator">
- <antcall target="delegator">
- <param name="targets" value="dist"/>
- </antcall>
- </target>
-
- <target name="checkstyle" depends="init_delegator">
- <antcall target="delegator">
- <param name="targets" value="checkstyle"/>
- </antcall>
- </target>
-
- <target name="format" depends="init_delegator">
- <antcall target="delegator">
- <param name="targets" value="format"/>
- </antcall>
- </target>
-
- <target name="simian" depends="init_delegator">
- <antcall target="delegator">
- <param name="targets" value="simian"/>
- </antcall>
- </target>
-
- <target name="macker" depends="init_delegator">
- <antcall target="delegator">
- <param name="targets" value="macker"/>
- </antcall>
- </target>
-
- <target name="testclasses" depends="init_delegator">
- <antcall target="delegator">
- <param name="targets" value="dist-lite-product,dist-lite-test"/>
- </antcall>
- </target>
-
- <target name="test" depends="init_delegator">
- <antcall target="delegator">
- <param name="targets" value="dist-lite-product,dist-lite-test,test"/>
- </antcall>
- </target>
-
- <target name="junit-reports" depends="init_delegator">
- <antcall target="delegator">
- <param name="targets" value="junit-reports,dist-lite-product,dist-lite-test"/>
- </antcall>
- </target>
-
- <target name="jcov-reports" depends="init_delegator">
- <antcall target="delegator">
- <param name="targets" value="jcov-reports,dist-lite-product,dist-lite-test"/>
- </antcall>
- </target>
-
- <target name="reports" depends="init_delegator">
- <antcall target="delegator">
- <param name="targets" value="reports,dist-lite-product,dist-lite-test"/>
- </antcall>
- </target>
-
- <target name="forrest" depends="init_delegator">
- <antcall target="delegator">
- <param name="targets" value="forrest"/>
- </antcall>
- </target>
-
-
- <target name="schemaupdate" depends="init_delegator">
- <antcall target="delegator">
- <param name="targets" value="schemaupdate"/>
- </antcall>
- </target>
-
-