File: docs.xml

package info (click to toggle)
libgdata-java 1.20.0%2Bdak1-2
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 3,428 kB
  • ctags: 7,289
  • sloc: java: 33,714; xml: 605; sh: 19; makefile: 10
file content (39 lines) | stat: -rw-r--r-- 1,561 bytes parent folder | download
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>