Merging releases/1.6 into trunk.
svn merge -r4511:4604 https://google-web-toolkit.googlecode.com/svn/releases/1.6 .
svn merge -r4605:4657 https://google-web-toolkit.googlecode.com/svn/releases/1.6 .
git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@4659 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/common.ant.xml b/common.ant.xml
index 2b19d63..52d6c5a 100755
--- a/common.ant.xml
+++ b/common.ant.xml
@@ -253,10 +253,12 @@
<element name="sourcepath" implicit="yes" optional="true" />
<sequential>
<taskdef resource="checkstyletask.properties" classpath="${gwt.tools.antlib}/checkstyle-all-4.2.jar;${gwt.build.lib}/gwt-customchecks.jar" />
- <checkstyle config="${gwt.root}/eclipse/settings/code-style/gwt-checkstyle.xml" maxWarnings="0">
+ <checkstyle config="${gwt.root}/eclipse/settings/code-style/gwt-checkstyle.xml" maxErrors="0">
+ <formatter type="xml" toFile="${project.build}/checkstyle_log.xml"/>
<property key="checkstyle.header.file" file="${gwt.root}/eclipse/settings/code-style/google.header" />
<sourcepath />
</checkstyle>
+ <echo message="Checkstyle messages are reported in checkstyle_log.xml located at ${project.build}" />
</sequential>
</macrodef>