dleslie 00/12/07 14:03:24
Modified: java build.xml
Log:
prepare.docs is a dependency for the site target (so that
todo.html can be copied to the site directory).
Revision Changes Path
1.56 +5 -5 xml-xalan/java/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/xml-xalan/java/build.xml,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -r1.55 -r1.56
--- build.xml 2000/12/07 20:49:32 1.55
+++ build.xml 2000/12/07 22:03:21 1.56
@@ -41,7 +41,7 @@
- Much of this file stolen from Stefano's xml-xerces build.xml
- $Id: build.xml,v 1.55 2000/12/07 20:49:32 curcuru Exp $
+ $Id: build.xml,v 1.56 2000/12/07 22:03:21 dleslie Exp $
==================================================================== -->
@@ -108,7 +108,7 @@
<gunzip src="${doc.generator.styletargz}"/>
<untar src="${doc.generator.styletar}" dest="${xdocs.dir}"/>
<delete file="${doc.generator.styletar}"/>
- <mkdir dir="${build.docs}"/>
+ <mkdir dir="${build.docs}"/> <!-- transform todo.xml and put the result
in build/docs -->
<java fork="yes" classname="org.apache.xalan.xslt.Process"
classpath="${java.class.path}:${build.dir}/$xalan.jar">
<arg line="-in todo.xml -xsl todo.xsl -out ${build.docs}/todo.html"/>
</java>
@@ -398,7 +398,7 @@
<copy file="${build.dir}/xalan.jar" todir="${dist.dir}/bin"/>
<copy todir="${dist.dir}">
- <fileset dir="."
includes="README,README.html,CREDITS,KEYS,License,build.xml,build.sh,build.bat,todo.xml,todo.xsl,todo.html"/>
+ <fileset dir="."
includes="README,README.html,CREDITS,KEYS,License,build.xml,build.sh,build.bat,todo.xml,todo.xsl"/>
</copy>
<zip zipfile="${build.dir}/${dist.file}.zip" basedir="${build.dir}"
includes="${dist.file}/**"/>
@@ -409,13 +409,13 @@
<!-- ===================================================================
-->
<!-- Creates the documentation tree for the org.apache.xml website
-->
<!-- ===================================================================
-->
- <target name="site">
+ <target name="site" depends="prepare.docs">
<mkdir dir="${site.dir}/apidocs"/>
<java fork="yes" classname="${doc.generator}"
classpath="${java.class.path}:${build.dir}/$xalan.jar">
<arg line="targetDirectory=${site.dir} ${site.book} ${xdocs.style}"/>
- </java>
+ </java> <!-- put todo.html in the site directory -->
<copy file="${build.docs}/todo.html" todir="${site.dir}"/>
<copy todir="${site.dir}/apidocs">
<fileset dir="${build.apidocs}"/>