summaryrefslogtreecommitdiffstats
path: root/build.xml
diff options
context:
space:
mode:
authorAndreas Beeker <kiwiwings@apache.org>2015-12-20 17:01:46 +0000
committerAndreas Beeker <kiwiwings@apache.org>2015-12-20 17:01:46 +0000
commite50841ea167a1873ea9e4dabaa1a7f9b9b5a71a2 (patch)
tree8692f1799f422badab561c2a59a28c0dbdcc770f /build.xml
parent35470f6386606dae8b8e194f0199660a95d8de8d (diff)
downloadpoi-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.xml12
1 files changed, 11 insertions, 1 deletions
diff --git a/build.xml b/build.xml
index 21e5a3646c..ce129d07cb 100644
--- a/build.xml
+++ b/build.xml
@@ -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 -->