morgand 02/01/15 14:32:40
Modified: latka build.xml
Log:
added transform task to generate docbook
Revision Changes Path
1.15 +9 -2 jakarta-commons/latka/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-commons/latka/build.xml,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- build.xml 7 Jan 2002 12:32:10 -0000 1.14
+++ build.xml 15 Jan 2002 22:32:40 -0000 1.15
@@ -1,4 +1,4 @@
-<!-- $Id: build.xml,v 1.14 2002/01/07 12:32:10 jefft Exp $ -->
+<!-- $Id: build.xml,v 1.15 2002/01/15 22:32:40 morgand Exp $ -->
<project name="commons-latka" default="build-java" basedir=".">
<!-- patternset describing files to be copied from the doc directory -->
@@ -56,6 +56,7 @@
<property name="source.src.java" value="${source.src}/java"/>
<property name="source.src.test" value="${source.src}/test"/>
<property name="source.doc" value="${basedir}/doc"/>
+ <property name="source.doc.xsl"
value="${basedir}/xsl/docbook/html/docbook.xsl"/>
<property name="dest" value="${basedir}/build"/>
<property name="dest.classes" value="${dest}/classes"/>
<property name="dest.doc" value="${dest}/docs"/>
@@ -138,7 +139,7 @@
<!-- ######################################################### -->
- <target name="doc" depends="init,doc-top,doc-copy,doc-javadoc"
description="generates javadocs and other documentation">
+ <target name="doc" depends="init,doc-top,doc-copy,doc-javadoc,doc-xslt"
description="generates javadocs and other documentation">
</target>
<target name="doc-top" depends="init">
@@ -184,6 +185,12 @@
serialwarn="false">
</javadoc>
<delete dir="${workdir}"/>
+ </target>
+
+ <target name="doc-xslt" depends="init">
+ <style basedir="${source.doc}" destdir="${dest.doc}"
+ extension=".html" style="${source.doc.xsl}"
+ includes="*.xml"/>
</target>
<!-- ######################################################### -->
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>