summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-11-18 22:29:39 +0100
committerMichael Bien <[email protected]>2010-11-18 22:29:39 +0100
commit49897769100b6c236ca1e451775e478c1eee2633 (patch)
tree63aedae800f423f71b909dcb0c4c56528c709049
parent952425dbb135152912057930cd83008b9b09da08 (diff)
relative javadoc linking with gluegen and jogl.
-rw-r--r--build.xml17
-rw-r--r--nbproject/project.properties2
2 files changed, 15 insertions, 4 deletions
diff --git a/build.xml b/build.xml
index 6b6b3311..5edb09c1 100644
--- a/build.xml
+++ b/build.xml
@@ -325,6 +325,12 @@
<mkdir dir="${dist.javadoc.dir}"/>
+ <!-- copy gluegen and jogl doc next to the jocl doc for relative linking -->
+ <copy todir="${dist.dir}/javadoc" failonerror="false">
+ <fileset dir="${gluegen.root}/build/javadoc"/>
+ <fileset dir="${jogl.root}/build/javadoc"/>
+ </copy>
+
<javadoc author="${javadoc.author}" charset="UTF-8" destdir="${dist.javadoc.dir}"
docencoding="UTF-8" encoding="${javadoc.encoding.used}" failonerror="true"
noindex="${javadoc.noindex}" nonavbar="${javadoc.nonavbar}" notree="${javadoc.notree}"
@@ -335,8 +341,10 @@
<arg line="${javadoc.additionalparam} -J-Dnativetaglet.mapping=${basedir}/resources/native-taglet.properties"/>
<taglet name="net.highteq.nativetaglet.NativeTaglet" path="${gluegen.root}/${rootrel.build}/gluegen.jar:/home/jogamp/NetBeansProjects/JOGL/jocl/"/>
- <link offline="true" href="http://jogamp.org/deployment/jogamp-next/javadoc/gluegen/javadoc/" packagelistloc="${gluegen.root}/build/javadoc"/>
- <link offline="true" href="http://jogamp.org/deployment/jogamp-next/javadoc/jogl/javadoc/" packagelistloc="${jogl.root}/build/javadoc"/>
+ <!-- relative linking between docs -->
+ <link href="../../gluegen/javadoc"/>
+ <link href="../../jogl/javadoc"/>
+
<link href="http://download.oracle.com/javase/6/docs/api"/>
<classpath>
@@ -356,7 +364,10 @@
<excludepackage name="com.jogamp.opencl.impl"/>
</javadoc>
- <zip destfile="${dist.javadoc.dir}/../jocl-javadoc.zip" basedir="${dist.javadoc.dir}"/>
+ <zip destfile="${dist.dir}/jocl-javadoc.zip">
+ <zipfileset dir="${dist.javadoc.dir}" prefix="jocl/javadoc"/>
+ </zip>
+
</target>
<target name="test-file">
diff --git a/nbproject/project.properties b/nbproject/project.properties
index 3e5d27b4..fcbc58da 100644
--- a/nbproject/project.properties
+++ b/nbproject/project.properties
@@ -29,7 +29,7 @@ debug.test.classpath=\
# This directory is removed when the project is cleaned:
dist.dir=dist
dist.jar=${dist.dir}/jocl.jar
-dist.javadoc.dir=${dist.dir}/javadoc
+dist.javadoc.dir=${dist.dir}/javadoc/jocl/javadoc
endorsed.classpath=
excludes=