Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit525b193

Browse files
author
Dave Cramer
committed
applied patch from Liam Stewart
If one is trying to compile a JDBC 1 driver and junit.jar is in theCLASSPATH, then the build fails as ant tries to build the JDBC 2 testclasses. This patch fixes this problem by excluding the jdbc 2 filesunless the jdk1.2+ property is set.
1 parent1f0e5f6 commit525b193

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎src/interfaces/jdbc/build.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
build file to allow ant (http://jakarta.apache.org/ant/) to be used
55
to build the PostgreSQL JDBC Driver
66
7-
$Header: /cvsroot/pgsql/src/interfaces/jdbc/Attic/build.xml,v 1.21 2002/03/05 17:55:23 momjian Exp $
7+
$Header: /cvsroot/pgsql/src/interfaces/jdbc/Attic/build.xml,v 1.22 2002/03/19 01:32:48 davec Exp $
88
99
-->
1010

@@ -99,6 +99,8 @@
9999
<excludename="${package}/xa/**"unless="datasource" />
100100

101101
<excludename="${package}/test/**"unless="junit" />
102+
<excludename="${package}/test/jdbc2/**"unless="jdbc2" />
103+
<excludename="${package}/test/JDBC2Tests.java"unless="jdbc2" />
102104
</javac>
103105
</target>
104106

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp