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:
Uwe Schindler 2011-07-24 20:16:15 +00:00
parent 7c1a58f72d
commit 589bd811c6
1 changed files with 10 additions and 3 deletions

View File

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