Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'doc/org.eclipse.jet.doc/build/javadoc.xml.template')
-rw-r--r--doc/org.eclipse.jet.doc/build/javadoc.xml.template39
1 files changed, 21 insertions, 18 deletions
diff --git a/doc/org.eclipse.jet.doc/build/javadoc.xml.template b/doc/org.eclipse.jet.doc/build/javadoc.xml.template
index e90d31a..946f9d6 100644
--- a/doc/org.eclipse.jet.doc/build/javadoc.xml.template
+++ b/doc/org.eclipse.jet.doc/build/javadoc.xml.template
@@ -17,22 +17,20 @@
<property name="javadoc.link.location" value="${eclipseDir}/javadoc"/>
<available property="platformJavadocExists" file="${javadoc.link.location}/platform/"/>
- <!-- TODO Enable linking to the platform javadoc -->
- <!-- <target name="extractPlatformJavadoc" unless="platformJavadocExists">
- <exec executable="find">
- <arg value="${eclipseDir}/.."/>
- <arg value="-type"/>
- <arg value="d"/>
- <arg value="-name"/>
- <arg value="javadoc"/>
- </exec>
- <unzip src="${eclipseDir}/@docjar@" dest="${javadoc.link.location}/platform/"/>
- </target> -->
+ <target name="extractPlatformJavadoc" unless="platformJavadocExists">
+ <unzip src="${eclipseDir}/plugins/org.eclipse.platform.doc.isv.jar" dest="${javadoc.link.location}/platform/"/>
+ </target>
- <!-- TODO Enable linking to the platform javadoc -->
- <!-- <target name="javadoc" depends="extractPlatformJavadoc"> -->
-
- <target name="javadoc">
+ <target name="javadoc" depends="extractPlatformJavadoc">
+ <echo message="Get Doclet and compile it with JDK1.4 for use with javadoc"/>
+ <cvs cvsRoot=":pserver:anonymous@dev.eclipse.org:/cvsroot/tools"
+ package="org.eclipse.emf.releng.build/org.eclipse.emf.build"
+ reallyquiet="yes"/>
+ <delete dir="org.eclipse.emf.releng.build/org.eclipse.emf.build/src/CVS"/>
+ <move todir="."><fileset dir="org.eclipse.emf.releng.build/org.eclipse.emf.build/src"/></move>
+
+ <!-- requires JDK1.4 for compilation -->
+ <javac srcdir="org/eclipse/emf/build/doclet" classpath=".:${java.home}/../lib/tools.jar" failonerror="true"/>
<javadoc
destdir="${destDir}"
classpath="${classpath}"
@@ -56,11 +54,16 @@
splitindex="true"
use="true"
version="true">
- <arg value="-J-Xmx180m"/>
+ <arg value="-J-Xmx256m"/>
+
+ <doclet name="org.eclipse.emf.build.doclet.Doclet" path="org/eclipse/emf/build/doclet/Doclet">
+ <param name="-tocFilename" value="../topics_Reference.xml"/>
+ <param name="-tocRefPrefix" value="references/javadoc/"/>
+ <param name="-tocTitle" value="API Reference"/>
+ </doclet>
<link offline="true" href="http://java.sun.com/j2se/1.4/docs/api/" packagelistLoc="${javaHome}/docs/api/"/>
- <!-- TODO Enable link to platform documentation -->
- <!-- <link offline="true" href="/help/topic/org.eclipse.platform.doc.isv/reference/api/" packagelistLoc="${javadoc.link.location}/platform/reference/api/"/> -->
+ <link offline="true" href="/help/topic/org.eclipse.platform.doc.isv/reference/api/" packagelistLoc="${javadoc.link.location}/platform/reference/api/"/>
<tag name="ignore" description="ignore" enabled="false"/>
<tag name="generated" description="ignore" enabled="false"/>

Back to the top