diff options
author | Andreas Beeker <kiwiwings@apache.org> | 2015-12-20 17:01:46 +0000 |
---|---|---|
committer | Andreas Beeker <kiwiwings@apache.org> | 2015-12-20 17:01:46 +0000 |
commit | e50841ea167a1873ea9e4dabaa1a7f9b9b5a71a2 (patch) | |
tree | 8692f1799f422badab561c2a59a28c0dbdcc770f /build.xml | |
parent | 35470f6386606dae8b8e194f0199660a95d8de8d (diff) | |
download | poi-e50841ea167a1873ea9e4dabaa1a7f9b9b5a71a2.tar.gz poi-e50841ea167a1873ea9e4dabaa1a7f9b9b5a71a2.zip |
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
Diffstat (limited to 'build.xml')
-rw-r--r-- | build.xml | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -1791,7 +1791,17 @@ under the License. </fileset> </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> <!-- fail the build if at least one note is in the report --> |