aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build.xml6
-rw-r--r--buildScripts/website.ant.xml1
2 files changed, 7 insertions, 0 deletions
diff --git a/build.xml b/build.xml
index e9497c2c..d6134f14 100644
--- a/build.xml
+++ b/build.xml
@@ -391,6 +391,12 @@ the common tasks and can be called on to run the main aspects of all the sub-scr
</tar>
</target>
+ <target name="javadoc" depends="compile, version" description="Builds javadoc into doc/api.">
+ <ant antfile="buildScripts/website.ant.xml" target="javadoc" inheritAll="false">
+ <property name="lombok.version" value="${lombok.version}" />
+ </ant>
+ </target>
+
<target name="maven" depends="version, dist, test" description="Build a maven artifact bundle.">
<ant antfile="buildScripts/website.ant.xml" target="javadoc" inheritAll="false">
<property name="lombok.version" value="${lombok.version}" />
diff --git a/buildScripts/website.ant.xml b/buildScripts/website.ant.xml
index d9e2e8a1..f949efcf 100644
--- a/buildScripts/website.ant.xml
+++ b/buildScripts/website.ant.xml
@@ -303,6 +303,7 @@ 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" />
+ <classpath location="build/lombok" />
<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/" />