rwaldhoff 2003/03/14 09:06:03
Modified: dbcp/src/test/org/apache/commons/dbcp TestJOCLed.java
Log:
if sax driver is not otherwise set, set it here, so we can run a bit more easily
from eclipse and other IDEs
Revision Changes Path
1.4 +7 -4
jakarta-commons/dbcp/src/test/org/apache/commons/dbcp/TestJOCLed.java
Index: TestJOCLed.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/dbcp/src/test/org/apache/commons/dbcp/TestJOCLed.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- TestJOCLed.java 8 Nov 2002 18:51:07 -0000 1.3
+++ TestJOCLed.java 14 Mar 2003 17:06:03 -0000 1.4
@@ -73,6 +73,9 @@
public class TestJOCLed extends TestConnectionPool {
public TestJOCLed(String testName) {
super(testName);
+ if(null == System.getProperty("org.xml.sax.driver")) {
+
System.setProperty("org.xml.sax.driver","org.apache.xerces.parsers.SAXParser");
+ }
}
public static Test suite() {
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]