LUCENE-8156: Require users to not have ASM on the Ant classpath during build (this is required by LUCENE-7966)

This commit is contained in:
Uwe Schindler 2018-02-07 19:26:52 +01:00
parent 62537bebc4
commit 466c1ef4da
2 changed files with 9 additions and 0 deletions

View File

@ -175,6 +175,9 @@ Other
* LUCENE-8075: Removed unnecessary null check in IntersectTermsEnum.
(Pulak Ghosh via Adrien Grand)
* LUCENE-8156: Require users to not have ASM on the Ant classpath during build.
This is required by LUCENE-7966. (Adrien Grand, Uwe Schindler)
======================= Lucene 7.2.1 =======================
Bug Fixes

View File

@ -65,6 +65,12 @@
<not><matches pattern="^\Q${version.base}\E(|\-.*)$" casesensitive="true" string="${version}"/></not>
</condition>
</fail>
<fail message="Your ~/.ant/lib folder or the main classpath of Ant contains some version of ASM. Please remove it, otherwise this build can't run correctly.">
<condition>
<available classname="org.objectweb.asm.ClassReader"/>
</condition>
</fail>
<property name="year" value="2000-${current.year}"/>