Updated to make "ant checkstyle" work again; it worked well enough to find that the samples don't pass! Will have to fix in a subsequent checkin 



git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@109 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/common.ant.xml b/common.ant.xml
index b7ce837..a03ab26 100755
--- a/common.ant.xml
+++ b/common.ant.xml
@@ -179,7 +179,7 @@
 		<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/gwtCheckStyle.xml" maxWarnings="0">

+			<checkstyle config="${gwt.root}/eclipse/settings/code-style/gwt-checkstyle.xml" maxWarnings="0">

 				<property key="checkstyle.header.file" file="${gwt.root}/eclipse/settings/code-style/google.header" />

 				<sourcepath />

 			</checkstyle>

diff --git a/samples/build.xml b/samples/build.xml
index c169faa..8152cd0 100644
--- a/samples/build.xml
+++ b/samples/build.xml
@@ -42,7 +42,7 @@
 		</antcall>

 	</target>

 

-	<target name="checkstyle" depends="build" description="Static analysis of GWT source">

+	<target name="checkstyle" description="Static analysis of GWT source">

 		<antcall target="-do">

 			<param name="target" value="checkstyle" />

 		</antcall>

diff --git a/samples/common.ant.xml b/samples/common.ant.xml
index 4e5c9da..fa5ec0f 100755
--- a/samples/common.ant.xml
+++ b/samples/common.ant.xml
@@ -61,6 +61,8 @@
 	<target name="build" depends="compile, gwtc, scripts" description="Build and package this project" />

 

 	<target name="checkstyle" description="Static analysis of source">

-		<gwt.checkstyle />

+		<gwt.checkstyle>

+                        <fileset dir="src"/>

+                </gwt.checkstyle>

 	</target>

 </project>