rwaldhoff 2003/03/05 15:39:34
Modified: dbcp build.xml build.properties.sample
Log:
add classpath (sax2) and system property (org.xml.sax.driver) to allow tests to
execute
Revision Changes Path
1.17 +4 -4 jakarta-commons/dbcp/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-commons/dbcp/build.xml,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- build.xml 8 Nov 2002 18:51:06 -0000 1.16
+++ build.xml 5 Mar 2003 23:39:34 -0000 1.17
@@ -42,7 +42,7 @@
<property name="cp" value=""/>
<!-- now combine the classpaths -->
- <property name="classpath"
value="${cp}:${commons-pool.jar}:${commons-collections.jar}:${jdbc20ext.jar}:${junit.jar}:${jndi.jar}:${commons-lang.jar}"/>
+ <property name="classpath"
value="${cp}:${commons-pool.jar}:${commons-collections.jar}:${jdbc20ext.jar}:${junit.jar}:${jndi.jar}:${commons-lang.jar}:${sax2.jar}"/>
<property name="name" value="commons-dbcp"/>
<property name="Name" value="Commons-DBCP"/>
@@ -73,8 +73,7 @@
<property name="dest.doc.api" value="${dest.doc}/api"/>
<property name="dest.jardir" value="${dest}"/>
<property name="dest.jardir.jar" value="${dest.jardir}/${name}.jar"/>
- <available property="available-doc" file="${source.doc}"/> <!-- does this
- module have docs? -->
+ <available property="available-doc" file="${source.doc}"/> <!-- does this
module have docs? -->
<available property="available-src-conf" file="${source.src.conf}"/> <!--
does this module have conf src? -->
<available property="available-src-java" file="${source.src.java}"/> <!--
does this module have java src? -->
<available property="available-src-test" file="${source.src.test}"/> <!--
does this module have test src? -->
@@ -263,6 +262,7 @@
<java classname="${test.runner}" fork="yes" failonerror="${test.failonerror}">
<arg value="${test.entry}"/>
+ <sysproperty key="org.xml.sax.driver"
value="org.apache.xerces.parsers.SAXParser" />
<classpath>
<pathelement location="${dest.classes}" />
<pathelement path="${classpath}" />
1.6 +5 -0 jakarta-commons/dbcp/build.properties.sample
Index: build.properties.sample
===================================================================
RCS file: /home/cvs/jakarta-commons/dbcp/build.properties.sample,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- build.properties.sample 5 Aug 2002 06:42:01 -0000 1.5
+++ build.properties.sample 5 Mar 2003 23:39:34 -0000 1.6
@@ -19,6 +19,11 @@
junit.lib=${junit.home}
junit.jar=${junit.lib}/junit.jar
+# sax2.jar - SAX classpath
+sax2.home=${base.path}/sax
+sax2.lib=${sax2.home}
+sax2.jar=${sax2.lib}/sax2.jar
+
# jndi.jar - Java Naming and Directory Interface (JNDI), version 1.2 or later
# Note: Optional with JDK 1.3+
#jndi.home=${base.path}/jndi
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]