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
|
Description: Links the documentation with the Javadoc installed locally for the JRE and Hamcrest
Author: Emmanuel Bourg <ebourg@apache.org>
Forwarded: not-needed
--- a/build.xml
+++ b/build.xml
@@ -140,21 +140,22 @@
</exec>
</target>
- <target name="javadoc" depends="unjar.hamcrest">
+ <target name="javadoc">
<javadoc destdir="${javadocdir}"
author="false"
version="false"
use="false"
- windowtitle="JUnit API"
- stylesheetfile="stylesheet.css"
+ windowtitle="JUnit ${version} API"
+ doctitle="JUnit ${version} API"
>
<excludepackage name="junit.*" />
<excludepackage name="org.junit.internal.*" />
<excludepackage name="org.junit.experimental.theories.internal.*" />
<sourcepath location="${src}" />
- <sourcepath location="${hamcrestsrc}" />
- <link href="http://java.sun.com/javase/6/docs/api/" />
+ <classpath path="${hamcrestlib}"/>
+ <link href="/usr/share/doc/default-jre/api" />
+ <link href="/usr/share/doc/libhamcrest-java/api" />
</javadoc>
</target>
|