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 30 31 32 33 34 35 36 37 38 39
|
<project name="docs" default="build.docs" basedir=".">
<!-- Path containing docs.xml -->
<dirname property="build_dir" file="${ant.file.docs}"/>
<import file="${build_dir}/core.xml"/>
<import file="${build_dir}/spreadsheet.xml"/>
<!-- ===================================================================== -->
<!-- Build GData docs library. -->
<!-- ===================================================================== -->
<property name="gdata-docs.jar"
value="${build.jars}/gdata-docs-${docs.spec.version}.jar"/>
<path id="build.service.docs.classpath">
<pathelement location="${mail.jar}"/>
<pathelement location="${activation.jar}"/>
<pathelement location="${gdata-media.jar}"/>
<pathelement location="${gdata-spreadsheet.jar}"/>
</path>
<target name="build.docs" depends="core.build.core.media,spreadsheet.build.spreadsheet">
<antcall target="template.build.service">
<param name="template.service.name" value="docs"/>
<param name="template.service.version" value="${docs.spec.version}"/>
<param name="template.service.includes" value="**/docs/**"/>
<param name="template.service.excludes" value="none"/>
<param name="template.service.classpath" value="build.service.docs.classpath"/>
<param name="template.service.name" value="docs"/>
</antcall>
</target>
<target name="clean.docs">
<antcall target="template.clean.service">
<param name="template.service.name" value="docs"/>
</antcall>
</target>
</project>
|