diff options
Diffstat (limited to 'buildScripts/website.ant.xml')
-rw-r--r-- | buildScripts/website.ant.xml | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/buildScripts/website.ant.xml b/buildScripts/website.ant.xml index ef12026e..d1eb92ec 100644 --- a/buildScripts/website.ant.xml +++ b/buildScripts/website.ant.xml @@ -296,10 +296,18 @@ such as converting the changelog into HTML, and creating javadoc. ]]></echo> <javadoc sourcepath="src/core" defaultexcludes="yes" destdir="build/api" windowtitle="Lombok" Overview="${javadoc.overview.html}"> <classpath refid="build.path" /> - <link href="http://java.sun.com/javase/6/docs/api/" offline="true" packagelistLoc="./buildScripts/javadoc/java6"/> - <header><![CDATA[<a href='http://projectlombok.org/'>Lombok</a> - ]]>v${lombok.version}</header> + <link href="http://download.oracle.com/javase/6/docs/api/" /> + <link href="http://www.slf4j.org/api/" /> + <link href="http://commons.apache.org/logging/apidocs/" /> + <link href="http://logging.apache.org/log4j/1.2/apidocs/" /> + <header><![CDATA[<a href='http://projectlombok.org/' target='_blank'>Lombok</a> - ]]>v${lombok.version}</header> <bottom><![CDATA[<i>Copyright © 2009-2010 Reinier Zwitserloot, Roel Spilker and Robbert Jan Grootjans, licensed under the <a href='http://www.opensource.org/licenses/mit-license.php'>MIT licence</a>.]]></bottom> </javadoc> + <!-- bugfix for boneheaded javadoc bug where ?is-external=true is inserted before an anchor ref, breaking the anchor ref. + is-external=true doesn't actually do anything, so, we'll just get rid of it. --> + <replaceregexp match="\?is-external=true#" replace="#" flags="gi"> + <fileset dir="build/api" includes="**/*.html" /> + </replaceregexp> <mkdir dir="doc/api" /> <copy todir="doc/api"> <fileset dir="build/api" includes="**/*.html" /> |