patch: fix 'compile' target to do correct dependency checking - Mailing list pgsql-jdbc

From Oliver Jowett
Subject patch: fix 'compile' target to do correct dependency checking
Date
Msg-id 20030817015420.GC17855@opencloud.com
Whole thread Raw
Responses Re: patch: fix 'compile' target to do correct dependency checking
List pgsql-jdbc
This patch ensures that the 'compile' target includes all the source files
needed for the build so that Ant's dependency checking works correctly.
I've only tested against JDK1.4 / JDBC3 but it should work for other builds
(all going well).

Without this patch, only the jdbcN subpackage corresponding to the exact
JDBC version the driver is configured for is included in the source file
set. Changes to abstract classes in other subpackages (for example,
jdbc1.AbstractJdbc1Statement with a JDBC2 or JDBC3 build) will be missed by
ant's dependency check and the classes may not be rebuilt.

This only bites dependency checking, not clean builds, as the "missing"
source files are automatically located and built by the compiler when
referenced by other, included, classes.

-O

Attachment

pgsql-jdbc by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [BUGS] Bug #926: if old postgresql.jar in CLASSPATH, ant fails
Next
From: Oliver Jowett
Date:
Subject: patch: add a finalizer to AbstractJdbc1Statement