poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kiwiwi...@apache.org
Subject svn commit: r1721043 - /poi/trunk/build.xml
Date Sun, 20 Dec 2015 17:01:46 GMT
Author: kiwiwings
Date: Sun Dec 20 17:01:46 2015
New Revision: 1721043

URL: http://svn.apache.org/viewvc?rev=1721043&view=rev
Log:
rat-check - remove clutter to compact build output

Modified:
    poi/trunk/build.xml

Modified: poi/trunk/build.xml
URL: http://svn.apache.org/viewvc/poi/trunk/build.xml?rev=1721043&r1=1721042&r2=1721043&view=diff
==============================================================================
--- poi/trunk/build.xml (original)
+++ poi/trunk/build.xml Sun Dec 20 17:01:46 2015
@@ -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 -->



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message