Permalink
Browse files

build script now contains an explicit javadoc target.

  • Loading branch information...
1 parent 88e9515 commit 389dbf5edadfb61e808e7d5273bb11990821ff9f @rzwitserloot committed Mar 22, 2012
Showing with 7 additions and 0 deletions.
  1. +6 −0 build.xml
  2. +1 −0 buildScripts/website.ant.xml
View
@@ -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}" />
@@ -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/" />

0 comments on commit 389dbf5

Please sign in to comment.