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

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1588228 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Uwe Schindler 2014-04-17 12:30:09 +00:00
parent 5d1c11c49b
commit 7704287b8a
2 changed files with 15 additions and 1 deletions

View File

@ -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)

View File

@ -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>