Re: JDBC build.xml

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: JDBC build.xml
Дата
Msg-id 200203111721.g2BHL0P18434@candle.pha.pa.us
обсуждение исходный текст
Ответ на JDBC build.xml  (Liam Stewart <liams@redhat.com>)
Список 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 по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: support for POSIX 1003.1-2001 hosts
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Adds the parsing of a CREATE SCHEMA statement