openoffice-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dam...@apache.org
Subject svn commit: r1829201 - /openoffice/trunk/main/solenv/ant/aoo-ant.xml
Date Sun, 15 Apr 2018 09:47:52 GMT
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}"



Mime
View raw message