dleslie 00/10/26 10:48:42
Modified: . build.xml
Log:
Ant 1.2 javadoc task ignores destdir if doclet is set, so must
assign -d param directly to doclet.
Revision Changes Path
1.34 +14 -10 xml-xalan/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/xml-xalan/build.xml,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- build.xml 2000/10/25 16:19:53 1.33
+++ build.xml 2000/10/26 17:48:40 1.34
@@ -53,7 +53,7 @@
- Much of this file stolen from Stefano's xml-xerces build.xml
- $Id: build.xml,v 1.33 2000/10/25 16:19:53 dleslie Exp $
+ $Id: build.xml,v 1.34 2000/10/26 17:48:40 dleslie Exp $
==================================================================== -->
@@ -205,22 +205,26 @@
<echo message="autojavadocs is for automated build process, without
dependencies"/>
<java fork="yes" classname="${doc.generator}"
classpath="${java.class.path}:${build.dir}/xalan.jar">
<arg line="loaderConfig=${xdocs.javadocloader}
targetDirectory=${src.dir} ${xdocs.javadocbook} ${xdocs.style}"/>
- </java>
-
+ </java>
+ <!-- Ant 1.2 ignores destdir arg if doclet is set, so must send to
doclet in doclet subelement-->
<javadoc
- public="true"
- doclet="xalanjdoc.Standard"
+ classpath="${java.class.path}"
+ Public="true"
sourcepath="${src.dir}"
- overview="${src.dir}/javadocOverview.html"
packagenames="org.apache.xalan.xpath,org.apache.xalan.xpath.xdom,org.apache.xalan.xpath.dtm,org.apache.xalan.xpath.xml,org.apache.xalan.xslt,org.apache.xalan.xslt.trace,org.apache.xalan.xslt.client,org.apache.xalan.xslt.extensions"
- group="XSLT_Packages org.apache.xalan.xslt*,XPath_Packages
org.apache.xalan.xpath*"
- destdir="${build.apidocs}"
+ overview="${src.dir}/javadocOverview.html"
+ packagenames="org.apache.xalan.*"
author="true"
version="true"
use="true"
windowtitle="${Name}"
doctitle="${Name}"
- bottom="Copyright © ${year} Apache XML Project. All Rights
Reserved."
- />
+ bottom="Copyright © ${year} Apache XML Project. All Rights
Reserved.">
+ <doclet name="xalanjdoc.Standard"
path="${xdocs.dir}/xalanjdoc.jar">
+ <param name="-d" value="${build.apidocs}"/>
+ </doclet>
+ <group title="XSLT_Packages" packages="org.apache.xalan.xslt*"/>
+ <group title="XPath_Packages" packages="org.apache.xalan.xpath*"/>
+ </javadoc>
</target>
<!-- ===================================================================
-->