You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by da...@apache.org on 2018/04/15 09:47:52 UTC

svn commit: r1829201 - /openoffice/trunk/main/solenv/ant/aoo-ant.xml

Author: damjan
Date: Sun Apr 15 09:47:52 2018
New Revision: 1829201

URL: http://svn.apache.org/viewvc?rev=1829201&view=rev
Log:
Target our baseline Java version in the new Ant build.

Patch by: me


Modified:
    openoffice/trunk/main/solenv/ant/aoo-ant.xml

Modified: openoffice/trunk/main/solenv/ant/aoo-ant.xml
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/solenv/ant/aoo-ant.xml?rev=1829201&r1=1829200&r2=1829201&view=diff
==============================================================================
--- openoffice/trunk/main/solenv/ant/aoo-ant.xml (original)
+++ openoffice/trunk/main/solenv/ant/aoo-ant.xml Sun Apr 15 09:47:52 2018
@@ -40,6 +40,7 @@
     <property name="test.src.dir" location="src/test/java"/>
     <property name="test.build.dir" location="${build.base.dir}/test"/>
     <property name="test.reports.dir" location="${build.base.dir}/test-reports"/>
+    <property name="java.baseline.version" value="1.7"/>
     <property name="jar.dir" location="${WORKDIR}/Ant"/>
 
     <property name="main.debug" value="true"/>
@@ -111,6 +112,8 @@
         <mkdir dir="${main.build.dir}"/>
         <javac srcdir="${main.src.dir}"
                destdir="${main.build.dir}"
+               source="${java.baseline.version}"
+               target="${java.baseline.version}"
                debug="${main.debug}"
                debuglevel="lines,vars,source"
                deprecation="${main.deprecation}"
@@ -144,6 +147,8 @@
         <mkdir dir="${test.build.dir}" unless:set="test.skip"/>
         <javac srcdir="${test.src.dir}"
                destdir="${test.build.dir}"
+               source="${java.baseline.version}"
+               target="${java.baseline.version}"
                debug="${test.debug}"
                debuglevel="lines,vars,source"
                deprecation="${test.deprecation}"