Re: Whatever ... JDBC build patch

From: Marko Kreen <marko(at)l-t(dot)ee>
To: Gunnar Rønning <gunnar(at)polygnosis(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Whatever ... JDBC build patch
Date: 2001-10-21 18:08:38
Message-ID: 20011021200838.A29200@l-t.ee
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On Sat, Oct 20, 2001 at 04:15:56AM +0200, Gunnar Rønning wrote:
> * Marko Kreen <marko(at)l-t(dot)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

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Peter Eisentraut 2001-10-21 19:29:23 Re: Ant installation (and other) issues!
Previous Message Dave Cramer 2001-10-21 15:21:39 Re: Does PG's JDBC support prepared statements at all?