[opencms-dev] javadoc ant target
Dan Moore
Dan.Moore at xor.com
Wed Apr 24 18:18:09 CEST 2002
Hi folks,
Attached, please find a diff for an ant target that makes the javadoc
for the opencms.com classes. I diffed against the latest build.xml file
(1.37).
Please let me know if this diff format isn't correct, or if this is the
wrong place to send it.
Thanks.
Dan
-------------- next part --------------
Index: build.xml
===================================================================
RCS file: /usr/local/cvs/opencms/build.xml,v
retrieving revision 1.37
diff -u -r1.37 build.xml
--- build.xml 2002/04/10 08:29:53 1.37
+++ build.xml 2002/04/18 18:43:43
@@ -14,6 +14,7 @@
<property name="build.home" value="../build"/>
<property name="build.classes" value="${build.home}/classes"/>
+ <property name="build.javadoc" value="${build.home}/javadoc"/>
<property name="build.inputlib" value="../ExternalComponents"/>
<property name="build.web" value="${build.home}/${app.name}"/>
<property name="build.webinf" value="${build.web}/WEB-INF"/>
@@ -98,7 +99,9 @@
</target>
- <target name="prepare" depends="initmsg" description="Create output directories">
+ <target name="prepare" depends="initmsg,mkdirs" description="Create output directories"/>
+
+ <target name="mkdirs" description="Create output directories">
<mkdir dir="${build.classes}"/>
<mkdir dir="${build.home}"/>
<mkdir dir="${build.lib}"/>
@@ -361,5 +364,34 @@
zipfile="${zip.home}/opencms_src_${version.number}.zip"
basedir="${build.srcdist}"/>
</target>
+
+ <target name="javadoc" depends="mkdirs">
+ <mkdir dir="${build.javadoc}" />
+ <javadoc packagenames="com.*,org.*,de.*"
+ private="true"
+ destdir="${build.javadoc}"
+ author="true"
+ version="true"
+ splitindex="true"
+ overview="${overview.dir}/overview.html"
+ noindex="false"
+ maxmemory="256m"
+ classpath="${build.inputlib.servlet}:
+ ${build.inputlib.activation}:
+ ${build.inputlib.mail}:
+ ${build.inputlib.xerces}:
+ ${build.inputlib.oracle}:
+ ${build.inputlib.mysql}:
+ ${build.inputlib.fop}:
+ ${build.inputlib.oro}:
+ ${build.inputlib.tidy}">
+ <sourcepath>
+ <pathelement path="src"/>
+ <pathelement path="${build.lib}"/>
+ <pathelement path="${build.oclib}" />
+
+ </sourcepath>
+ </javadoc>
+ </target>
-</project>
\ No newline at end of file
+</project>
More information about the opencms-dev
mailing list