aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2012-03-22 17:16:31 +0100
committerReinier Zwitserloot <reinier@zwitserloot.com>2012-03-22 17:16:31 +0100
commit389dbf5edadfb61e808e7d5273bb11990821ff9f (patch)
treed43e509aa0b8da47c98fd6afc444bb64c10479f6
parent88e95158f0958beb5804aab07ee0022b038d2847 (diff)
downloadlombok-389dbf5edadfb61e808e7d5273bb11990821ff9f.tar.gz
lombok-389dbf5edadfb61e808e7d5273bb11990821ff9f.tar.bz2
lombok-389dbf5edadfb61e808e7d5273bb11990821ff9f.zip
build script now contains an explicit javadoc target.
-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/" />