This is an automated email from the git hooks/post-receive script. ebourg-guest pushed a commit to tag REL8_2_509 in repository libpostgresql-jdbc-java.
commit 195748433f8f90fb3bdb1eee9cdfd4a69ad89a05 Author: Kris Jurka <[email protected]> Date: Tue Feb 12 23:41:55 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 | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/build.xml b/build.xml index 9f65cd2..f5daf9a 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.71.2.2 2007/10/07 19:23:12 jurka Exp $ + $PostgreSQL: pgjdbc/build.xml,v 1.71.2.3 2007/10/15 07:49:36 jurka Exp $ --> @@ -45,7 +45,10 @@ <equals arg1="${java.specification.version}" arg2="1.5"/> </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="jdbc3any"> <or> @@ -61,6 +64,18 @@ </or> </condition> + <condition property="unknownjvm"> + <not> + <or> + <isset property="jdbc2" /> + <isset property="jdbc3any" /> + <isset property="jdbc4" /> + </or> + </not> + </condition> + + <fail if="unknownjvm" message="Unknown JDK version." /> + <available property="datasourceclass" classname="javax.sql.DataSource"/> <available property="ssl" classname="javax.net.ssl.SSLContext"/> <available property="junit" classname="junit.framework.Test"/> -- 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

