summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDor Bivas <dor1_b@walla.com>2014-04-12 15:15:59 +0300
committerDor Bivas <dor1_b@walla.com>2014-04-12 15:15:59 +0300
commitdc830810b58e223b836335a4457f4a1fb479cd63 (patch)
tree3b976eb1ed8b94352b6e5de11a18f3d4e13b2798
parent0f6567d5b78218fd4a1a62f2452d22643d52080e (diff)
build.xml: support building javadoc with ant
-rw-r--r--build.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/build.xml b/build.xml
index a49675b..441ad25 100644
--- a/build.xml
+++ b/build.xml
@@ -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>