diff options
author | Jan Matèrne <jhm@apache.org> | 2014-06-30 12:03:37 +0200 |
---|---|---|
committer | Jan Matèrne <jhm@apache.org> | 2014-06-30 12:03:37 +0200 |
commit | f6bdb170fa1a248b66aa89e98782031f4e7170e2 (patch) | |
tree | fac553e26bcb6b9efc9b1946a16599b0972fe8c3 /check.xml | |
parent | 4e9ffe5bb1ef646b6fd91e6ed9947e202e33b726 (diff) | |
download | ant-f6bdb170fa1a248b66aa89e98782031f4e7170e2.tar.gz |
Show the checkstyle messages sorted by error instead by file.
Diffstat (limited to 'check.xml')
-rw-r--r-- | check.xml | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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"> |