diff options
author | kcr <kcr> | 2007-06-19 20:37:39 +0000 |
---|---|---|
committer | kcr <kcr> | 2007-06-19 20:37:39 +0000 |
commit | f28eae8bf914d1da7389abeccf6891118e4839ab (patch) | |
tree | 8ce67dfb7ffd0443c00a56032535332e32043af1 /build.xml | |
parent | 52c04143e39c0c18055875701c50c2f55ac10cc2 (diff) |
Added javadoc target
Diffstat (limited to 'build.xml')
-rw-r--r-- | build.xml | 29 |
1 files changed, 21 insertions, 8 deletions
@@ -40,8 +40,8 @@ * intended for use in the design, construction, operation or * maintenance of any nuclear facility. * - * $Revision: 1.2 $ - * $Date: 2007/06/19 20:11:34 $ + * $Revision: 1.3 $ + * $Date: 2007/06/19 20:37:39 $ * $State: Exp $ */ --> @@ -63,9 +63,9 @@ <!-- Compile the java code from ${src} into ${build}/classes --> <javac srcdir="${src}" destdir="${build}/classes" - source="1.5" - target="1.5" - debug="true" + source="1.5" + target="1.5" + debug="true" deprecation="true"/> <!-- Copy LICENSE and COPYRIGHT files to build --> @@ -73,22 +73,35 @@ <fileset dir="${topdir}" includes ="COPYRIGHT.txt LICENSE*.txt"/> </copy> - + </target> <target name="jar" depends="init,compile"> <!-- Create the dist directory --> <mkdir dir="${dist}"/> - + <!-- Create the jar file --> <jar jarfile="${output.jar}" manifest="manifest.mf" update="no" compress="false"> - <fileset dir="${build}/classes" includes="org/**/*"/> + <fileset dir="${build}/classes" includes="org/**/*"/> </jar> </target> + <target name="javadoc" depends="init"> + <!-- Create the javadoc directory --> + <mkdir dir="${dist}/javadoc"/> + + <!-- Compile the javadoc from ${src} into ${dist}/javadoc --> + <javadoc packagenames="org.jdesktop.applet.util" + destdir="${dist}/javadoc"> + <sourcepath> + <pathelement location="${src}"/> + </sourcepath> + </javadoc> + </target> + <target name="clean" depends="init"> <delete dir="${build}"/> <delete dir="${dist}"/> |