[libpostgresql-jdbc-java] 01/13: Explicitly state which source level we are compiling. Newer versions of gij/gcj run a 1.5 VM, but default to a 1.4 source level compile which tricks up our build system. This still doens't fix the case of running with a newer VM than compiler, but I don't see what we can do about that.
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Mon Jan 9 10:20:03 UTC 2017
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to tag REL8_1_410
in repository libpostgresql-jdbc-java.
commit 63dd9d65ca522098c8c154b12fc180627bd79ea1
Author: Kris Jurka <books at ejurka.com>
Date: Tue Apr 24 18:19:11 2007 +0000
Explicitly state which source level we are compiling. Newer versions
of gij/gcj run a 1.5 VM, but default to a 1.4 source level compile
which tricks up our build system. This still doens't fix the case of
running with a newer VM than compiler, but I don't see what we can
do about that.
Tom Lane + Oliver Jowett
---
build.xml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/build.xml b/build.xml
index 33586b8..dfb9f29 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.64 2005/10/29 01:14:49 davec Exp $
+ $PostgreSQL: pgjdbc/build.xml,v 1.64.2.1 2006/04/29 02:18:51 jurka Exp $
-->
@@ -113,7 +113,7 @@
<available classname="org.postgresql.Driver" property="old.driver.present" />
<fail message="Old driver was detected on classpath or in jre/lib/ext, please remove and try again." if="old.driver.present" />
- <javac classpath="${srcdir}" srcdir="${srcdir}" destdir="${builddir}" debug="${debug}">
+ <javac classpath="${srcdir}" srcdir="${srcdir}" destdir="${builddir}" debug="${debug}" source="${java.specification.version}">
<!-- This is the core of the driver. It is common for all versions. -->
<include name="${package}/*.java" />
<include name="${package}/core/**" />
@@ -342,7 +342,7 @@
<target name="testjar" depends="jar">
<fail message="JUnit could not be found in your classpath. You must download and install it from http://junit.org to build and run the test suite." unless="junit" />
<mkdir dir="${builddir}/tests"/>
- <javac srcdir="${srcdir}" destdir="${builddir}/tests" debug="${debug}">
+ <javac srcdir="${srcdir}" destdir="${builddir}/tests" debug="${debug}" source="${java.specification.version}">
<include name="${package}/test/**" />
<exclude name="${package}/test/jdbc2/optional/**" unless="jdbc2optionaltests" />
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libpostgresql-jdbc-java.git
More information about the pkg-java-commits
mailing list