Whatever ... JDBC build patch

From: Marko Kreen <marko(at)l-t(dot)ee>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Whatever ... JDBC build patch
Date: 2001-10-19 17:46:00
Message-ID: 20011019194600.A13097@l-t.ee
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc


I thought about the issue, then hacked a bit and
the result seems to be quite edible:

* spec.{jdbc1,jdbc2,jdbc2e} files which describe
contents of different driver editions. So main
Makefile is very straightforward.

* make builds all source in one go, thus:

. avoids hell when old .jar is in classpath
. now it uses javac/jikes internal dependency trancing,
so make does not need to know anything about project's
internal dependencies. For make, jar files
depend directly on source.
. it is faster

* driver type is researched in configure, which is the
right place for it.

* ant.cfg in src/interfaces/jdbc, which is made with
'make ant.cfg'. After that the Ant is completely
standalone. Without ant.cfg the Ant needs to be
called from Makefile. Whether Ant should be completely
dropped I do not know, ATM this seemed to be best way.

Not done:

- CORBA examples and tests does not build here, so
those must be tested by someone else.

- Did not touch contrib/retep, IMHO it can stay as it is.

- have not tested if JDBC1 builds

- tested only with jdk1.3, jikes 1.14

Not my call:

- Whether to apply this, whether to keep Ant, this or both...

Comments? Volunteers for testing?

--
marko

Attachment Content-Type Size
jdbc.diff.gz application/octet-stream 3.5 KB

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2001-10-19 18:21:00 Re: Please help me Urgent
Previous Message Bruce Momjian 2001-10-19 14:59:06 Re: [PATCHES] Ant configuration