# HG changeset patch # User Martin van Dinther <martin.van.dinther@monetdbsolutions.com> # Date 1615486800 -3600 # Node ID 05592cb939bf3d1499eac5b2d31a7e4a4e12cda1 # Parent 52030d17ab9ade38bad02531de44ffc6a59f261e Explicitly set source 8 and target 8 flags for javac compiler. diff --git a/build.xml b/build.xml --- 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" /> diff --git a/tests/build.xml b/tests/build.xml --- 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" />