You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by cu...@locus.apache.org on 2000/08/22 22:41:15 UTC
cvs commit: xml-xalan build.xml
curcuru 00/08/22 13:41:10
Modified: . build.xml
Log:
Added back prepare.docs target that had gotten lost
Revision Changes Path
1.27 +13 -6 xml-xalan/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/xml-xalan/build.xml,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- build.xml 2000/08/18 21:36:42 1.26
+++ build.xml 2000/08/22 20:41:05 1.27
@@ -51,7 +51,7 @@
- Much of this file stolen from Stefano's xml-xerces build.xml
- $Id: build.xml,v 1.26 2000/08/18 21:36:42 curcuru Exp $
+ $Id: build.xml,v 1.27 2000/08/22 20:41:05 curcuru Exp $
==================================================================== -->
@@ -90,7 +90,7 @@
<property name="build.dest" value="${build.dir}/classes"/>
<property name="build.docs" value="${build.dir}/docs"/>
<property name="build.samples" value="${build.dir}/samples"/>
- <property name="build.apidocs" value="${build.dir}/docs/apidocs"/>
+ <property name="build.apidocs" value="${build.docs}/apidocs"/>
<property name="dist.file" value="${name}-j_${version}"/>
<property name="build.dist" value="${build.dir}/${dist.file}"/>
@@ -107,6 +107,15 @@
<mkdir dir="${build.src}"/>
<mkdir dir="${build.dest}"/>
</target>
+ <target name="prepare.docs" depends="prepare">
+ <!-- Note: unfortunately, our clean target currently does not clean up the
+ stylebook-related files that come out of this tar. Fortunately, most
+ users won't need to worry about this, and these files rarely change. -->
+ <gunzip src="${doc.generator.styletargz}"/>
+ <untar src="${doc.generator.styletar}" dest="${xdocs.dir}"/>
+ <mkdir dir="${build.docs}"/>
+ <mkdir dir="${build.apidocs}"/>
+ </target>
<!-- =================================================================== -->
<!-- Copy over the source code -->
@@ -177,8 +186,7 @@
<!-- Generate HTML docs -->
<!-- =================================================================== -->
<!-- explicitly remove depends=package to make automated JDK 1.1.8 builds easier -->
- <target name="docs" depends="prepare"> <!-- xalan.jar used by doc.generator -->
- <mkdir dir="${build.docs}"/>
+ <target name="docs" depends="prepare.docs"> <!-- xalan.jar used by doc.generator -->
<java fork="yes" classname="${doc.generator}" classpath="${java.class.path}:${build.dir}/${xalan.jar}"
args="targetDirectory=${build.docs} ${xdocs.book} ${xdocs.style}"/>
</target>
@@ -187,12 +195,11 @@
<!-- Creates the API documentation -->
<!-- =================================================================== -->
<!-- explicitly remove depends=package to make automated JDK 1.1.8 builds easier -->
- <target name="javadocs" depends="prepare"> <!-- xalan.jar used by doc.generator -->
+ <target name="javadocs" depends="prepare.docs"> <!-- xalan.jar used by doc.generator -->
<java fork="yes" classname="${doc.generator}" classpath="${java.class.path}:${build.dir}/${xalan.jar}"
args="loaderConfig=${xdocs.javadocloader} targetDirectory=${build.src} ${xdocs.javadocbook} ${xdocs.style}"/>
- <mkdir dir="${build.apidocs}"/>
<javadoc
public="true"
doclet="xalanjdoc.Standard"