logo       

patch: fix 'compile' target to do correct dependency checking: msg#00181

db.postgresql.jdbc

Subject: patch: fix 'compile' target to do correct dependency checking

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-ant_dependency_fix.txt
Description: Text document


---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise