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

Re: JDBC build patches

From: Peter Mount <peter(at)retep(dot)org(dot)uk>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>, <pgsql-jdbc(at)postgresql(dot)org>
Cc: <pgsql-patches(at)postgresql(dot)org>
Subject: Re: JDBC build patches
Date: 2001-03-12 15:45:55
Message-ID: 5.0.2.1.0.20010312154020.02150850@mail.retep.org.uk (view raw or flat)
Thread:
Lists: pgsql-jdbcpgsql-patches
At 23:42 09/03/01 +0100, Peter Eisentraut wrote:
>These are the follow-up patches to Peter Mount's recent Java build
>improvements.
>
>* implement 'make uninstall' for the java directories

What's the difference between uninstall and clean?

>* pick up the version information from Makefile.global

Just need to add a could of -D parameters to the Makefile in the jdbc 
directory.

ie:
         ant -Dmajor=8 -Dminor=2

that would set the version to be 8.2

>* honour the default port as specified to configure

Hmm, not a good idea. The driver should be as globally useable (part of 
write once run anywhere), so this would be pretty disasterous.

So far our standard has been to use 5432 if no port is supplied.


>* allow building outside the source tree
>(This doesn't actually work, because Ant always puts the build dir
>relative to the source dir, but at least the whole thing will proceed
>smoothly when the rest of the tree builds this way.)

You can by passing the base dir in the ant command line using -D

ie:

ant -Ddest=/tmp/dest -Djars=/tmp/jars

would build unti /tmp/dest and put the jars under /tmp/jars

Peter


In response to

Responses

pgsql-patches by date

Next:From: Peter MountDate: 2001-03-12 15:57:49
Subject: Re: getTables is this right?
Previous:From: Bruce MomjianDate: 2001-03-10 18:18:14
Subject: Re: Oracle MINUS is not supported

pgsql-jdbc by date

Next:From: Peter MountDate: 2001-03-12 15:57:49
Subject: Re: getTables is this right?
Previous:From: Peter MountDate: 2001-03-12 15:40:12
Subject: Re: DatabaseMetaData and ResultSetMetaData

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