Re: JDBC build.xml - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: JDBC build.xml
Date
Msg-id 200203111721.g2BHL0P18434@candle.pha.pa.us
Whole thread Raw
In response to JDBC build.xml  (Liam Stewart <liams@redhat.com>)
List pgsql-patches
Your patch has been added to the PostgreSQL unapplied patches list at:

    http://candle.pha.pa.us/cgi-bin/pgpatches

I will try to apply it within the next 48 hours.

(New version of patch attached.)

---------------------------------------------------------------------------


Liam Stewart wrote:
>
> If one is trying to compile a JDBC 1 driver and junit.jar is in the
> CLASSPATH, then the build fails as ant tries to build the JDBC 2 test
> classes. This patch fixes this problem by excluding the jdbc 2 files
> unless the jdk1.2+ property is set.

Index: src/interfaces/jdbc/build.xml
===================================================================
RCS file: /projects/cvsroot/pgsql/src/interfaces/jdbc/build.xml,v
retrieving revision 1.20
diff -c -r1.20 build.xml
*** src/interfaces/jdbc/build.xml       2002/02/24 16:12:51     1.20
--- src/interfaces/jdbc/build.xml       2002/02/25 21:08:53
***************
*** 99,104 ****
--- 99,106 ----
        <exclude name="${package}/xa/**" unless="datasource" />

        <exclude name="${package}/test/**" unless="junit" />
+       <exclude name="${package}/test/jdbc2/**" unless="jdbc2" />
+       <exclude name="${package}/test/JDBC2Tests.java" unless="jdbc2" />
      </javac>
    </target>

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: support for POSIX 1003.1-2001 hosts
Next
From: Bruce Momjian
Date:
Subject: Re: Adds the parsing of a CREATE SCHEMA statement