You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pivot.apache.org by rw...@apache.org on 2020/05/07 16:13:41 UTC
svn commit: r1877480 - /pivot/trunk/build.xml
Author: rwhitcomb
Date: Thu May 7 16:13:41 2020
New Revision: 1877480
URL: http://svn.apache.org/viewvc?rev=1877480&view=rev
Log:
PIVOT-1032: Echo the style summary report from the build.
Modified:
pivot/trunk/build.xml
Modified: pivot/trunk/build.xml
URL: http://svn.apache.org/viewvc/pivot/trunk/build.xml?rev=1877480&r1=1877479&r2=1877480&view=diff
==============================================================================
--- pivot/trunk/build.xml (original)
+++ pivot/trunk/build.xml Thu May 7 16:13:41 2020
@@ -101,6 +101,8 @@ limitations under the License.
<entry key="build.time" value="${build_time}"/>
</propertyfile>
<property file="build.number"/>
+ <property name="style.errors.log" value="style_errors.log"/>
+ <property name="style.summary.log" value="style_summary.log"/>
<!-- Compiler properties and Test properties have been moved into build.properties -->
@@ -1067,15 +1069,17 @@ limitations under the License.
<include name="**/src/org/**/*.java"/>
<include name="**/test/org/**/*.java"/>
</fileset>
- <cs:formatter type="plain" toFile="style_errors.log"/>
+ <cs:formatter type="plain" toFile="${style.errors.log}"/>
</cs:checkstyle>
<javac srcdir="." includeantruntime="false">
<include name="StyleErrors.java"/>
</javac>
- <java dir="." classname="StyleErrors" fork="true" output="style_summary.log" logError="true">
- <arg value="style_errors.log"/>
+ <java dir="." classname="StyleErrors" fork="true" output="${style.summary.log}" outputproperty="style.summary" logError="true">
+ <arg value="${style.errors.log}"/>
</java>
- <echo message="Style check results in "style_errors.log" and "style_summary.log""/>
+ <echo message="Style Check Results"/>
+ <echo message="(full report in "${style.errors.log}", this summary also in "${style.summary.log}")"/>
+ <echo message="${style.summary}"/>
</target>
<!-- Do the "normal" clean build stuff -->