File: build-doc.xml

package info (click to toggle)
texhyphj 1.2+dfsg-1
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 448 kB
  • sloc: java: 2,033; xml: 297; makefile: 24
file content (45 lines) | stat: -rw-r--r-- 1,375 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
40
41
42
43
44
45
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project default="buildDoc">

	<import file="build-properties.xml"/>
	
	<property name="classes" value="${basedir}/bin"/>
	<property name="ant-build.dir" value="${basedir}/ant-build"/>
	<property name="ant-output.dir" value="${ant-build.dir}/output"/>

	<property name="javadoc.dir" value="${ant-output.dir}/docs/javadoc"/>

    <!--
	<path id="path.lib">
		<fileset dir="${basedir}/lib">
			<include name="*.jar"/>
		</fileset>
	</path>
    -->
	
    <target name="javadoc" description="Create javadoc">
    	<delete dir="${javadoc.dir}"/>
        <javadoc access="public" author="true"
        	destdir="${javadoc.dir}" 
        	nodeprecated="false" 
        	nodeprecatedlist="false" 
        	noindex="false" 
        	nonavbar="false" 
        	notree="false" 
        	packagenames="net.davidashen.*"
        	source="1.5" 
        	sourcepath="${main-src.dir}" 
        	splitindex="true" 
        	use="true" 
        	version="true"
        	encoding="UTF-8"
        	charset="UTF-8">
        	<link offline="true" href="http://java.sun.com/javase/6/docs/api/" packagelistLoc="ant-build/resources/javase-6"/>
        </javadoc>
    </target>
	
	<target name="buildDoc" description="Build javadoc documentation">
		<antcall target="javadoc"/>
	</target>

</project>