diff options
author | gfxadmin <[email protected]> | 2005-11-19 00:49:43 +0000 |
---|---|---|
committer | gfxadmin <[email protected]> | 2005-11-19 00:49:43 +0000 |
commit | e83c712e435eddfa00ffde4f9cc58d017b50a571 (patch) | |
tree | ab0b8c5c896a77665b7ba8b8afeba46339f422c8 /make/build.xml | |
parent | 63bcc3767fecf6ce5471c86e89233a08f80ecb04 (diff) |
Issue number:
Obtained from:
Submitted by: Travis
Reviewed by:
Modified Files:
build.xml
Added javadoc.spec target. This builds the official JSR 231 javadocs only and
excludes the com.sun.* APIs javadocs. We will generally only use this target for
official spec submissions to jcp.org.
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@455 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'make/build.xml')
-rw-r--r-- | make/build.xml | 31 |
1 files changed, 30 insertions, 1 deletions
diff --git a/make/build.xml b/make/build.xml index 9ffdba22e..d1e654f99 100644 --- a/make/build.xml +++ b/make/build.xml @@ -31,7 +31,8 @@ - win32.vc7 - win32.mingw: build everything (jar, DSOs) for the current platform - clean: clean all built - - javadoc: create the standard developer Javadoc + - javadoc: create the standard developer Javadoc (recommended) + - javadoc.spec: create the standard developer Javadoc but exclude com.sun.* classes - javadoc.dev.win32: - javadoc.dev.x11: - javadoc.dev.macosx: create the internal developer Javadoc. This includes the @@ -234,11 +235,13 @@ <!-- The javadoc dirs. --> <property name="javadoc" value="${project.root}/javadoc_public" /> + <property name="javadoc.spec" value="${project.root}/javadoc_spec" /> <property name="javadoc.dev" value="${project.root}/javadoc_jogl_dev" /> <property name="javadoc.link" value="http://java.sun.com/j2se/1.4.2/docs/api/" /> <property name="javadoc.windowtitle" value="JOGL API -- JSR-231 Draft Public Review Specification" /> <property name="javadoc.overview" value="spec-overview.html" /> <property name="javadoc.packagenames" value="javax.media.opengl,javax.media.opengl.glu,com.sun.opengl.utils" /> + <property name="javadoc.spec.packagenames" value="javax.media.opengl,javax.media.opengl.glu" /> <property name="javadoc.dev.packagenames.win32" value="com.sun.opengl.impl.windows" /> <property name="javadoc.dev.packagenames.x11" value="com.sun.opengl.impl.x11" /> <property name="javadoc.dev.packagenames.macosx" value="com.sun.opengl.impl.macosx" /> @@ -951,6 +954,31 @@ <target name="javadoc" depends="javadoc.nocg,javadoc.cg" /> + <target name="javadoc.spec.nocg" depends="setup.java.home.dir,init" unless="jogl.cg"> + <!-- Build the general Javadoc --> + <javadoc packagenames="${javadoc.spec.packagenames}" + sourcepath="${src.java};${src.generated.java}" + destdir="${javadoc.spec}" windowtitle="${javadoc.windowtitle}" + overview="${javadoc.overview}" + source="1.4" + linkoffline="${javadoc.link} 142-packages" + bottom="${javadoc.bottom}" /> + </target> + + <!-- Same as above since Cg directories are not part of spec --> + <target name="javadoc.spec.cg" depends="setup.java.home.dir,init" if="jogl.cg"> + <!-- Build the general Javadoc --> + <javadoc packagenames="${javadoc.spec.packagenames}" + sourcepath="${src.java};${src.generated.java}" + destdir="${javadoc.spec}" windowtitle="${javadoc.windowtitle}" + overview="${javadoc.overview}" + source="1.4" + linkoffline="${javadoc.link} 142-packages" + bottom="${javadoc.bottom}" /> + </target> + + <target name="javadoc.spec" depends="javadoc.spec.nocg,javadoc.spec.cg" /> + <target name="javadoc.dev.nocg" depends="init" unless="jogl.cg"> <!-- Build the internal developer Javadoc --> <javadoc packagenames="${javadoc.dev.packagenames},${javadoc.dev.packagenames.platform}" @@ -1135,6 +1163,7 @@ <delete includeEmptyDirs="true" quiet="true"> <fileset dir="${build}" /> <fileset dir="${javadoc}" /> + <fileset dir="${javadoc.spec}" /> <fileset dir="${javadoc.dev}" /> </delete> |