1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
<project name="health" default="sample.health.build" basedir=".">
<!-- Path containing core.xml -->
<dirname property="build_dir" file="${ant.file.health}"/>
<import file="${build_dir}/core.xml"/>
<!-- ===================================================================== -->
<!-- Build GData health library. -->
<!-- ===================================================================== -->
<property name="gdata-health.jar"
value="${build.jars}/gdata-health-${health.spec.version}.jar"/>
<target name="build.health" depends="core.build.core.client">
<antcall target="template.build.service">
<param name="template.service.name" value="health"/>
<param name="template.service.version" value="${health.spec.version}"/>
<param name="template.service.includes" value="**/health/**"/>
<param name="template.service.excludes" value="none"/>
<param name="template.service.classpath" value="build.service.core.classpath"/>
</antcall>
</target>
<target name="clean.health">
<antcall target="template.clean.service">
<param name="template.service.name" value="health"/>
</antcall>
</target>
</project>
|