You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by us...@apache.org on 2014/04/17 14:30:09 UTC
svn commit: r1588228 - in /lucene/dev/trunk/lucene: CHANGES.txt
common-build.xml
Author: uschindler
Date: Thu Apr 17 12:30:09 2014
New Revision: 1588228
URL: http://svn.apache.org/r1588228
Log:
LUCENE-5614: Enable building on Java 8 using Apache Ant 1.8.3 or 1.8.4 by adding a workaround for the Ant bug
Modified:
lucene/dev/trunk/lucene/CHANGES.txt
lucene/dev/trunk/lucene/common-build.xml
Modified: lucene/dev/trunk/lucene/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/CHANGES.txt?rev=1588228&r1=1588227&r2=1588228&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/CHANGES.txt (original)
+++ lucene/dev/trunk/lucene/CHANGES.txt Thu Apr 17 12:30:09 2014
@@ -309,7 +309,10 @@ Build
* LUCENE-5512: Remove redundant typing (use diamond operator) throughout
the codebase. (Furkan KAMACI via Robert Muir)
-Documentation:
+* LUCENE-5614: Enable building on Java 8 using Apache Ant 1.8.3 or 1.8.4
+ by adding a workaround for the Ant bug. (Uwe Schindler)
+
+Documentation
* LUCENE-5534: Add javadocs to GreekStemmer methods.
(Stamatis Pitsios via Robert Muir)
Modified: lucene/dev/trunk/lucene/common-build.xml
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/common-build.xml?rev=1588228&r1=1588227&r2=1588228&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/common-build.xml (original)
+++ lucene/dev/trunk/lucene/common-build.xml Thu Apr 17 12:30:09 2014
@@ -333,6 +333,17 @@
</and>
</condition>
+ <!-- workaround for https://issues.apache.org/bugzilla/show_bug.cgi?id=53347 -->
+ <condition property="build.compiler" value="javac1.7">
+ <and>
+ <equals arg1="${build.java.runtime}" arg2="1.8"/>
+ <or>
+ <antversion exactly="1.8.3" />
+ <antversion exactly="1.8.4" />
+ </or>
+ </and>
+ </condition>
+
<target name="-documentation-lint-unsupported" unless="documentation-lint.supported">
<fail message="Linting documentation HTML is not supported on this Java version (${build.java.runtime}) / JVM (${java.vm.name}).">
<condition>