This is an automated email from the git hooks/post-receive script. ebourg-guest pushed a commit to tag REL8_0_323 in repository libpostgresql-jdbc-java.
commit f6ab49f218617569b71a4f6e80f3735635ac1c46 Author: Kris Jurka <[email protected]> Date: Tue Feb 12 23:42:09 2008 +0000 Make the build system aware of the 1.7 JDK (which icedtea reports itself as) and add an explicit check and complaint if we find a JDK that we don't support. --- build.xml | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/build.xml b/build.xml index fb1f31c..1ca821e 100644 --- a/build.xml +++ b/build.xml @@ -8,7 +8,7 @@ This file now requires Ant 1.4.1. 2002-04-18 - $PostgreSQL: pgjdbc/build.xml,v 1.63.2.2 2007/04/24 18:19:15 jurka Exp $ + $PostgreSQL: pgjdbc/build.xml,v 1.63.2.3 2007/10/15 07:50:18 jurka Exp $ --> @@ -51,10 +51,24 @@ </or> </condition> <condition property="jdbc4"> + <or> <equals arg1="${java.specification.version}" arg2="1.6"/> + <equals arg1="${java.specification.version}" arg2="1.7"/> + </or> + </condition> + + <condition property="unknownjvm"> + <not> + <or> + <isset property="jdbc2" /> + <isset property="jdbc3any" /> + <isset property="jdbc4" /> + </or> + </not> </condition> - <fail if="jdbc4" message="Building with JDK 1.6 not supported." /> + <fail if="jdbc4" message="Building with JDK 1.6+ not supported." /> + <fail if="unknownjvm" message="Unknown JDK version." /> <available property="datasource" classname="javax.sql.DataSource"/> <available property="ssl" classname="javax.net.ssl.SSLContext"/> -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libpostgresql-jdbc-java.git _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

