craigmcc 02/04/29 12:56:40
Modified: pool build.xml
Log:
Make it possible to run the "xdoc" target when you don't have
commons-collections.jar in your classpath or $ANT_HOME/lib directory.
Revision Changes Path
1.8 +5 -2 jakarta-commons/pool/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-commons/pool/build.xml,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- build.xml 28 Apr 2002 21:48:08 -0000 1.7
+++ build.xml 29 Apr 2002 19:56:40 -0000 1.8
@@ -1,4 +1,4 @@
-<!-- $Id: build.xml,v 1.7 2002/04/28 21:48:08 rwaldhoff Exp $ -->
+<!-- $Id: build.xml,v 1.8 2002/04/29 19:56:40 craigmcc Exp $ -->
<project name="commons-pool" default="test" basedir=".">
<!-- patternset describing files to be copied from the doc directory -->
@@ -272,12 +272,15 @@
/>
</target>
- <target name="xdoc" depends="xdoc.fetch-stylesheet"
+ <target name="xdoc" depends="init,xdoc.fetch-stylesheet"
description="Generates HTML documentation from XML source">
+ <mkdir dir="${dist.home}"/>
+ <mkdir dir="${dist.home}/docs"/>
<taskdef name="anakia" classname="org.apache.velocity.anakia.AnakiaTask">
<classpath location="${velocity.jar}"/>
<classpath location="${jdom.jar}"/>
<classpath location="${xerces.jar}"/>
+ <classpath location="${commons-collections.jar}"/>
</taskdef>
<echo>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>