diff options
author | Dor Bivas <dor1_b@walla.com> | 2014-04-12 15:15:59 +0300 |
---|---|---|
committer | Dor Bivas <dor1_b@walla.com> | 2014-04-12 15:15:59 +0300 |
commit | dc830810b58e223b836335a4457f4a1fb479cd63 (patch) | |
tree | 3b976eb1ed8b94352b6e5de11a18f3d4e13b2798 | |
parent | 0f6567d5b78218fd4a1a62f2452d22643d52080e (diff) |
build.xml: support building javadoc with ant
-rw-r--r-- | build.xml | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -6,6 +6,7 @@ <property name="src" location="src"/> <property name="build" location="build"/> <property name="dist" location="dist"/> + <property name="doc" location="doc"/> <target name="init"> <!-- Create the time stamp --> @@ -52,6 +53,10 @@ <delete dir="${dist}"/> </target> + <!-- Generate javadocs for current project into ${doc.dir} --> + <target name="doc" depends="init" description="generate documentation"> + <javadoc sourcepath="${src}" destdir="${doc}"/> + </target> </project> |