You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by ki...@apache.org on 2015/12/20 18:01:46 UTC

svn commit: r1721043 - /poi/trunk/build.xml

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