Re: Whatever ... JDBC build patch - Mailing list pgsql-jdbc

From Marko Kreen
Subject Re: Whatever ... JDBC build patch
Date
Msg-id 20011021200838.A29200@l-t.ee
Whole thread Raw
In response to Re: Whatever ... JDBC build patch  (Gunnar Rønning <gunnar@polygnosis.com>)
List pgsql-jdbc
On Sat, Oct 20, 2001 at 04:15:56AM +0200, Gunnar Rønning wrote:
> * Marko Kreen <marko@l-t.ee> wrote:
> |
> | * driver type is researched in configure, which is the
> |   right place for it.
>
> How do distributors that need to build all driver types proceed ?
>
> Compile for each platform in different environments ?

The standard is to ./configure separately whole tree
for every variant.

With my patch this can be done more easily tho':

----
cd src/interfaces/jdbc

make JARFILE=pg-jdbc1.jar JAVAC=javac-jdk11 clean jdbc1

make JARFILE=pg-jdbc2.jar JAVAC=javac-jdk12 clean jdbc2

CLASSPATH=j2ee.jar:... \
make JARFILE=pg-jdbc2e.jar JAVAC=javac-jdk12 clean jdbc2e
----

This should give a idea of what's possible.  In any case they
need to set up both jdk1.1 and 1.2...

Ofcourse something like the above can be made for current
make+Ant setup.

--
marko


pgsql-jdbc by date:

Previous
From: Rene Pijlman
Date:
Subject: Re: Does PG's JDBC support prepared statements at all?
Next
From: Ned Wolpert
Date:
Subject: Re: Whatever ... JDBC build patch