You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by ce...@apache.org on 2021/05/14 06:41:20 UTC
svn commit: r1889879 - /poi/trunk/build.xml
Author: centic
Date: Fri May 14 06:41:20 2021
New Revision: 1889879
URL: http://svn.apache.org/viewvc?rev=1889879&view=rev
Log:
Make isJava8 true or false, print out result in "init"
Some CI-builds with Java 11+ seem to still run as "JDK 8" builds...
Modified:
poi/trunk/build.xml
Modified: poi/trunk/build.xml
URL: http://svn.apache.org/viewvc/poi/trunk/build.xml?rev=1889879&r1=1889878&r2=1889879&view=diff
==============================================================================
--- poi/trunk/build.xml (original)
+++ poi/trunk/build.xml Fri May 14 06:41:20 2021
@@ -68,7 +68,7 @@ under the License.
<contains string="${java.vendor}" substring="IBM" casesensitive="false"/>
</condition>
- <condition property="isJava8">
+ <condition property="isJava8" else="false">
<equals arg1="${ant.java.version}" arg2="1.8"/>
</condition>
@@ -615,6 +615,8 @@ under the License.
<echo message="Using Ant: ${ant.version} from ${ant.home}, Ant detected Java ${ant.java.version} (may be different than actual Java sometimes...)" />
<echo message="Using Java: ${java.version}/${java.runtime.version}/${java.vm.version}/${java.vm.name} from ${java.vm.vendor} on ${os.name}: ${os.version}" />
<echo message="Building Apache POI version ${version.id} and RC: ${release.rc}, isJava8: ${isJava8}" />
+ <echo if:true="${isJava8}">Compiling for Java 8</echo>
+ <echo unless:true="${isJava8}">Compiling for Java 9+</echo>
<loadresource property="RELEASE_TAG">
<string>REL_${version.id}</string>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org