Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-jdbc by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group