From: Dominik Stadler Date: Thu, 11 Aug 2016 12:00:53 +0000 (+0000) Subject: Fix detecting Java 6 versus Java 7 or higher for Findbugs-version, this did not reall... X-Git-Tag: REL_3_15_FINAL~22 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=79306792a0d8358288d481ac627302defac7d6c0;p=poi.git Fix detecting Java 6 versus Java 7 or higher for Findbugs-version, this did not really work for some reason. Use real Java version, not ant.java.version as this is not correctly set sometimes . Also print out some more Ant-version-information git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1755962 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/build.xml b/build.xml index 856b73465d..f40ff4c774 100644 --- a/build.xml +++ b/build.xml @@ -283,13 +283,10 @@ under the License. NOTE: we did not update to 3.x yet because it requires Java 7, but we are still supporting Java 6 currently =========================================================================================================== --> - - + + - - - - + @@ -441,7 +438,7 @@ under the License. This is POI ${version.id} - Java Version ${ant.java.version} + Java Version ${ant.java.version}/${java.version} Timestamp ${DSTAMP} The main targets of interest are: - clean Erase all build work products (ie. everything in the build directory) @@ -480,7 +477,9 @@ under the License. + + var rel = ("REL_"+project.getProperty("version.id")).toUpperCase().replace(/\W/g,"_");