blob: c881af761c49519afde30f79b9a4e898f081adc0 [file] [log] [blame]
lmandel3a4ece92005-07-11 20:05:31 +00001<?xml version="1.0" encoding="UTF-8"?>
2
3<project default="main" basedir=".">
4
5 <property file="javadoc.properties" />
6 <property name="outputDir" value="${basedir}/output"/>
7
8 <target name="main" depends="prephtml, javadoc" description="Builds Plugin Javadoc" />
9
10 <target name="prephtml" description="Transforms XML to HTML.">
11 <xslt style="javadoc.xsl"
12 destdir=".."
13 basedir=".."
14 includes="**/overview.xml,**/package.xml"
15 excludes="**/build/*,**/@dot/**"
16 />
17 </target>
18
19 <target name="javadoc">
20<echo message="========= ${eclipse.home}"/>
21 <mkdir dir="${outputDir}/reference/api/overview" />
22
23 <copy todir="${outputDir}/reference/api/overview" flatten="true" >
24 <fileset dir="${basedir}/api-overview/overview/"/>
25 <fileset dir="${basedir}/.." includes="*/javadoc-images/*.jpg"/>
26 </copy>
27 <javadoc
28 access="public"
29 author="false"
30 classpath="${classpath}"
31 destdir="${outputDir}/reference/api"
32 doctitle="${api.title}"
33 nodeprecated="false"
34 nodeprecatedlist="false"
35 noindex="false"
36 nonavbar="false"
37 notree="false"
38 overview="${basedir}/api-overview/overview.html"
39 packagenames="${api.packages}"
40 sourcepath="${plugin.sourcefolders}"
41 splitindex="true"
42 stylesheetfile="${basedir}/api-overview/overview/apistyles.css"
43 use="true"
44 version="true"
45 breakiterator="yes"
46 verbose="false"
47 failonerror="false"
48 />
49 <zip destfile="${basedir}/doc.zip">
50 <fileset dir="${outputDir}"/>
51 </zip>
52 </target>
53</project>