dleslie 02/01/24 11:52:44
Modified: java build.xml
Log:
Expand xml-commons-src.tar.gz into source tree for inclusion
in Javadoc build.
Revision Changes Path
1.154 +14 -4 xml-xalan/java/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/xml-xalan/java/build.xml,v
retrieving revision 1.153
retrieving revision 1.154
diff -u -r1.153 -r1.154
--- build.xml 18 Jan 2002 15:26:13 -0000 1.153
+++ build.xml 24 Jan 2002 19:52:44 -0000 1.154
@@ -41,7 +41,7 @@
Copyright:
Copyright (c) 1999-2001 The Apache Software Foundation.
- $Id: build.xml,v 1.153 2002/01/18 15:26:13 curcuru Exp $
+ $Id: build.xml,v 1.154 2002/01/24 19:52:44 dleslie Exp $
==================================================================== -->
<project name="Xalan" default="jar" basedir=".">
@@ -124,6 +124,10 @@
<property name="build.compat.jar" value="${build.dir}/${compat.jar}"/>
<property name="build.compat.apidocs"
value="${build.docs}/compat_apidocs"/>
+ <!-- xml-commons sources (for Javadoc) -->
+ <property name="xml-commons-srcs.tar.gz"
value="${src.dir}/xml-commons-src.tar.gz"/>
+ <property name="xml-commons-srcs.tar"
value="${build.dir}/xml-commons-src.tar"/>
+
<!-- Documentation and samples information -->
<property name="Name-in-docs" value="Xalan-Java"/>
<property name="version.file"
value="${xalan.reldir}/processor/XSLProcessorVersion.java"/>
@@ -177,7 +181,7 @@
<!-- Creates output build directories and doc prerequistes
-->
<!-- ===================================================================
-->
<target name="prepare">
- <echo message="Project:${Name-in-docs} version:${version} build.xml
$Revision: 1.153 $"/>
+ <echo message="Project:${Name-in-docs} version:${version} build.xml
$Revision: 1.154 $"/>
<mkdir dir="${build.dir}"/>
<mkdir dir="${build.classes}"/>
<!-- Note that all testing-related targets *must* depend on
@@ -620,13 +624,19 @@
<!-- Creates the API documentation
-->
<!-- ===================================================================
-->
<target name="javadocs" depends="jar,prepare.docs,autojavadocs"
- description="Build the Javadocs for Xalan 2.x sources" >
+ description="Build the Javadocs for Xalan 2.x and xml-commons sources" >
<echo message="javadocs is human-usable target with dependencies"/>
</target>
<target name="autojavadocs">
- <echo message="autojavadocs is for automated build process, without
dependencies"/>
+ <echo message="autojavadocs is for automated build process, without
dependencies"/>
+ <!-- Expand xml-commons sources (JAXP 1.1, DOM 2, and SAX 2) into
source tree for
+ inclusion in the Javadoc. -->
+ <gunzip src="${xml-commons-srcs.tar.gz}" dest="${build.dir}" />
+ <untar src="${xml-commons-srcs.tar}" dest="${src.dir}" /><!-- Note this
is into the src area.-->
+ <delete file="${xml-commons-srcs.tar}"/>
+
<!-- Ant ignores destdir arg if doclet is set, so must send to doclet in
doclet subelement-->
<javadoc
public="true"
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]