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

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 (view raw or flat)
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: jdbc.diff.gz
Description: application/octet-stream (3.5 KB)

Responses

pgsql-jdbc by date

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

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