mirror of https://github.com/apache/lucene.git
Allow the bootstrap warning in javadoc with Java 7
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1150480 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7c1a58f72d
commit
589bd811c6
|
@ -838,9 +838,16 @@
|
|||
|
||||
<delete>
|
||||
<fileset file="@{destdir}/log_javadoc.txt">
|
||||
<not>
|
||||
<containsregexp expression="\[javadoc\]\s*[1-9][0-9]*[\s]*warning"/>
|
||||
</not>
|
||||
<or>
|
||||
<not>
|
||||
<containsregexp expression="\[javadoc\]\s*[1-9][0-9]*\s*warning"/>
|
||||
</not>
|
||||
<and>
|
||||
<!-- allow 1 warning, if there is also a bootstrap warning generated by Java7 -->
|
||||
<containsregexp expression="\[javadoc\]\s*warning.*bootstrap"/>
|
||||
<containsregexp expression="\[javadoc\]\s*1\s*warning"/>
|
||||
</and>
|
||||
</or>
|
||||
</fileset>
|
||||
</delete>
|
||||
|
||||
|
|
Loading…
Reference in New Issue