rat-check - remove clutter to compact build output

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1721043 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Andreas Beeker 2015-12-20 17:01:46 +00:00
parent 355810fb9f
commit 99f6175e97

View File

@ -1791,7 +1791,17 @@ under the License.
</fileset> </fileset>
</rat:report> </rat:report>
<loadfile property="rat.reportcontent" srcFile="${rat.report}"/> <!-- remove clutter to compact build output -->
<!-- replaceregexp doesn't work within loadfile ... -->
<replaceregexp file="${rat.report}" match="\s+Printing headers for files without AL header.++" replace="" flags="s"/>
<loadfile property="rat.reportcontent" srcFile="${rat.report}">
<filterchain>
<linecontainsregexp negate="true">
<regexp pattern="^\s+(AL|B|N)\s+"/>
</linecontainsregexp>
</filterchain>
</loadfile>
<echo>${rat.reportcontent}</echo> <echo>${rat.reportcontent}</echo>
<!-- fail the build if at least one note is in the report --> <!-- fail the build if at least one note is in the report -->