--- build.xml.sav	2004-10-07 16:57:00.000000000 +0200
+++ build.xml	2004-11-14 12:43:01.000000000 +0100
@@ -85,6 +85,28 @@
     </antcall>
 </target>
 
+<target name="javadoc-joesnmp"
+    description="--> javadoc joesnmp">
+  <javadoc sourcepath="src/joesnmp"
+           destdir="output/apidocs"
+           classpathref="joesnmp.classpath"
+           packagenames="org.opennms.protocols.*"
+           author="true"
+           version="true"
+           use="true"
+           private="true"
+           windowtitle="JoeSNMP API"
+           doctitle="JoeSNMP API 0.3.3"
+           header="JoeSNMP API 0.3.3"
+           footer="JoeSNMP API 0.3.3"
+           bottom="Generated by ${user.name} on ${TODAY} ${TSTAMP}."
+           splitindex="true"
+           failonerror="true"
+           maxmemory="128m"
+   >
+  </javadoc>
+</target>
+
 <target name="jar-joesnmp"
     description="--> jar joesnmp">
     <mkdir dir="${output.lib}"/>
@@ -109,7 +131,7 @@
     </delete>
 </target>
 
-<target name="build-joesnmp" depends="compile-joesnmp,jar-joesnmp"
+<target name="build-joesnmp" depends="compile-joesnmp,jar-joesnmp,javadoc-joesnmp"
     description="--> compile and jar joesnmp"/>
 
 <!-- ============================================================ -->
