sebb 2004/02/14 11:59:49
Modified: . build.xml
Log:
Include most jorphan files in Javadoc
ensure that docversion is picked up
always use current year in Copyright line
Revision Changes Path
1.163 +36 -8 jakarta-jmeter/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-jmeter/build.xml,v
retrieving revision 1.162
retrieving revision 1.163
diff -u -r1.162 -r1.163
--- build.xml 14 Feb 2004 01:20:53 -0000 1.162
+++ build.xml 14 Feb 2004 19:59:49 -0000 1.163
@@ -900,20 +900,48 @@
<delete dir="${site.dir}"/>
</target>
- <target name="docs-api" description="Generate the API documentation.">
+ <target name="docs-api" depends="init-version" description="Generate the API
documentation.">
+ <tstamp>
+ <!-- Used to ensure end-year is up to date -->
+ <format property="THISYEAR" pattern="yyyy"/>
+ </tstamp>
<mkdir dir="${dest.docs.api}"/>
<javadoc sourcepathref="srcpaths"
additionalparam="-breakiterator"
destdir="${dest.docs.api}"
- Protected="yes" author="yes" version="yes"
+ protected="yes" author="yes" version="yes"
doctitle="Apache JMeter API Specification"
windowtitle="Apache JMeter API Specification"
- header="<b>Apache JMeter</b><br><font
size='-1'>${docversion}</font>" bottom="Copyright © 1998-2003 Apache
Software Foundation. All Rights Reserved."
- packagenames="org.apache.jmeter.*"
excludepackagenames="org.apache.jmeter.util.keystore">
+ header="<b>Apache JMeter</b><br><font
size='-1'>${docversion}</font>" bottom="Copyright © 1998-${THISYEAR}
Apache Software Foundation. All Rights Reserved."
+ packagenames="org.apache.jmeter.*,org.apache.jorphan.*"
+ excludepackagenames="org.apache.jmeter.util.keystore,org.apache.jorphan.timer">
<classpath refid="classpath"/>
<link href="http://java.sun.com/products/jdk/1.3/docs/api/"/>
</javadoc>
</target>
+
+<!--
+ Run Doccheck: See http://java.sun.com/j2se/javadoc/doccheck/docs/DocCheck.html
+ Download the doclet, and put the jar in lib/opt.
+ Output is in reports/ directory
+-->
+<target name="docs-check">
+ <javadoc sourcepathref="srcpaths"
+ destdir="reports"
+ docletpath="${lib.opt}/doccheck.jar"
+ packagenames="org.apache.jmeter.*,org.apache.jorphan.*"
+ excludepackagenames="org.apache.jmeter.util.keystore,org.apache.jorphan.timer">
+ <classpath refid="classpath"/>
+ <doclet name="com.sun.tools.doclets.doccheck.DocCheck">
+ <!--
+ -execDepth: 1=org.* 2=org.apache.* 3+=org.apache.jmeter.*
+ -evident does not seem to work
+ -->
+ <param name="-execDepth" value="3"/>
+ <param name="-evident" value="4"/>
+ </doclet>
+ </javadoc>
+</target>
<target name="docs-site" depends="init-docs" if="AnakiaTask.present"
description="Generate browsable HTML documentation in web-site format.">
<taskdef name="anakia" classpathref="anakia.classpath"
classname="org.apache.velocity.anakia.AnakiaTask"/>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]