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/13 12:11:41 UTC
svn commit: r1889841 - /poi/trunk/build.xml
Author: centic
Date: Thu May 13 12:11:40 2021
New Revision: 1889841
URL: http://svn.apache.org/viewvc?rev=1889841&view=rev
Log:
Print out state of isJava8 when building jars
It seems this is not set properly in some of the CI-builds
Modified:
poi/trunk/build.xml
Modified: poi/trunk/build.xml
URL: http://svn.apache.org/viewvc/poi/trunk/build.xml?rev=1889841&r1=1889840&r2=1889841&view=diff
==============================================================================
--- poi/trunk/build.xml (original)
+++ poi/trunk/build.xml Thu May 13 12:11:40 2021
@@ -569,7 +569,7 @@ under the License.
<target name="help" description="Prints Apache POI's Ant usage help">
<echo>
This is POI ${version.id}
- Java Version ${ant.java.version}/${java.version}
+ Java Version ${ant.java.version}/${java.version}, isJava8: ${isJava8}
Timestamp ${DSTAMP}
The main targets of interest are:
- clean Erase all build work products (ie. everything in the build directory)
@@ -612,7 +612,7 @@ 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}" />
+ <echo message="Building Apache POI version ${version.id} and RC: ${release.rc}, isJava8: ${isJava8}" />
<loadresource property="RELEASE_TAG">
<string>REL_${version.id}</string>
@@ -1082,6 +1082,8 @@ under the License.
<mkdir dir="build/dist/maven/${maven-name}"/>
+ <echo message="Building jar for @{module}, module-name: ${module-name} with isJava8: ${isJava8}"/>
+
<!-- create classes jar -->
<jar destfile="build/dist/maven/${maven-name}/${maven-name}-@{version}.jar">
<fileset dir="@{classes}"/>
@@ -1139,6 +1141,8 @@ under the License.
</modulepath>
</javac>
+ <echo message="Building test-jar for @{module}, module-name: ${module-name} with isJava8: ${isJava8}"/>
+
<!-- create test classes jar - using the module-info of the tests -->
<jar destfile="build/dist/maven/${maven-name}-tests/${maven-name}-@{version}-tests.jar" unless:blank="@{test}">
<fileset dir="@{classes}"/>
@@ -2201,6 +2205,8 @@ under the License.
</filterchain>
</loadresource>
+ <echo message="Building maven-jar for @{module}, module-name: ${module-name} with isJava8: ${isJava8} and src: @{src}"/>
+
<javac release="9"
srcdir="${basedir}/@{module}/src/main/java9"
destdir="@{src}/META-INF/versions/9"
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org