summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>