Changeset: 05592cb939bf for monetdb-java URL: https://dev.monetdb.org/hg/monetdb-java?cmd=changeset;node=05592cb939bf Modified Files: build.xml tests/build.xml Branch: default Log Message:
Explicitly set source 8 and target 8 flags for javac compiler. diffs (48 lines): 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" /> _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list