summaryrefslogtreecommitdiff
path: root/check.xml
diff options
context:
space:
mode:
authorJan Matèrne <jhm@apache.org>2014-06-30 12:03:37 +0200
committerJan Matèrne <jhm@apache.org>2014-06-30 12:03:37 +0200
commitf6bdb170fa1a248b66aa89e98782031f4e7170e2 (patch)
treefac553e26bcb6b9efc9b1946a16599b0972fe8c3 /check.xml
parent4e9ffe5bb1ef646b6fd91e6ed9947e202e33b726 (diff)
downloadant-f6bdb170fa1a248b66aa89e98782031f4e7170e2.tar.gz
Show the checkstyle messages sorted by error instead by file.
Diffstat (limited to 'check.xml')
-rw-r--r--check.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/check.xml b/check.xml
index bc6f11fef..fef30c74b 100644
--- a/check.xml
+++ b/check.xml
@@ -39,6 +39,7 @@
<property name="checkstyle.reportdir" location="${build.dir}/reports/checkstyle"/>
<property name="checkstyle.raw" location="${checkstyle.reportdir}/raw.xml"/>
<property name="stylesheet.html" location="${config.dir}/checkstyle-frames.xsl"/>
+ <property name="stylesheet.html.sorted" location="${config.dir}/checkstyle-frames-sortby-check.xsl"/>
<property name="stylesheet.text" location="${config.dir}/checkstyle-text.xsl"/>
<property name="stylesheet.xdoc" location="${config.dir}/checkstyle-xdoc.xsl"/>
@@ -111,6 +112,11 @@
<param name="basedir" expression="${checkstyle.basedir}"/>
<param name="output.dir" expression="${checkstyle.reportdir}"/>
</xslt>
+ <xslt in="${checkstyle.raw}" style="${stylesheet.html.sorted}"
+ out="${checkstyle.reportdir}/html/output-sorted.txt">
+ <param name="basedir" expression="${checkstyle.basedir}"/>
+ <param name="output.dir" expression="${checkstyle.reportdir}"/>
+ </xslt>
</target>
<target name="textreport" description="--> generates a text checkstyle report">