Mercurial > hg > monetdb-java
changeset 455:05592cb939bf
Explicitly set source 8 and target 8 flags for javac compiler.
author | Martin van Dinther <martin.van.dinther@monetdbsolutions.com> |
---|---|
date | Thu, 11 Mar 2021 19:20:00 +0100 (2021-03-11) |
parents | 52030d17ab9a |
children | 055dd9264d46 |
files | build.xml tests/build.xml |
diffstat | 2 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/build.xml +++ b/build.xml @@ -9,10 +9,8 @@ Copyright 1997 - July 2008 CWI, August 2 --> <!-- - - Build file to allow ant (http://jakarta.apache.org/ant/) to be used + Build file to allow ant (http://ant.apache.org/) to be used to build the MonetDB Java packages, such as the JDBC driver. - --> <project name="MonetDB_Java_Drivers" default="default" basedir="."> @@ -55,6 +53,8 @@ Copyright 1997 - July 2008 CWI, August 2 --> <property name="jvm.version" value="8" /> <property name="jre.version" value="jre8" /> + <property name="javac.flags" value="-source 8" /> + <property name="javac.flags" value="-target 8" /> <property name="javac.flags" value="-profile compact2" /> <property name="javac.flags" value="-Xlint" />
--- a/tests/build.xml +++ b/tests/build.xml @@ -9,10 +9,8 @@ Copyright 1997 - July 2008 CWI, August 2 --> <!-- - - Build file to allow ant (http://jakarta.apache.org/ant/) to be used + Build file to allow ant (http://ant.apache.org/) to be used to build and run the tests - --> <project name="JDBCTests" default="compile" basedir="."> @@ -28,6 +26,8 @@ Copyright 1997 - July 2008 CWI, August 2 <property name="jvm.version" value="8" /> <property name="jre.version" value="jre8" /> + <property name="javac.flags" value="-source 8" /> + <property name="javac.flags" value="-target 8" /> <property name="javac.flags" value="-profile compact2" /> <property name="javac.flags" value="-Xlint" />