Update the checkstule path for validation sample
Fix the @NotSupported count
Review at http://gwt-code-reviews.appspot.com/1547803
Review by: rjrjr@google.com
git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@10646 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/samples/common.ant.xml b/samples/common.ant.xml
index a0b8784..bcdc229 100755
--- a/samples/common.ant.xml
+++ b/samples/common.ant.xml
@@ -189,8 +189,8 @@
<target name="checkstyle" description="Static analysis of source">
<gwt.checkstyle outputdirectory="${sample.build}">
<fileset dir="src" >
- <exclude name="org/**/super/org/**/*.java"/>
- <exclude name="com/google/gwt/sample/validation*/**/ValidationMessages.java" />
+ <exclude name="main/java/org/**/super/org/**/*.java"/>
+ <exclude name="main/java/com/google/gwt/sample/validation*/**/ValidationMessages.java" />
</fileset>
</gwt.checkstyle>
</target>
diff --git a/user/build.xml b/user/build.xml
index c37fbeb..f1f1c1a 100755
--- a/user/build.xml
+++ b/user/build.xml
@@ -803,13 +803,14 @@
<countfilter match="@Failing" property="jsr303.marked.Failing" init="0"/>
<countfilter match="@NonTckTest" property="jsr303.marked.NonTckTest" init="0"/>
<countfilter match="@NotSupported" property="jsr303.marked.NotSupported" init="0"/>
- <countfilter match="@TestNotCompatible" property="jsr303.marked.NotSupported" init="0"/>
+ <countfilter match="@TestNotCompatible" property="jsr303.marked.TestNotCompatible" init="0"/>
</filterchain>
</scan>
<!-- force to zero if not set above -->
<property name="jsr303.marked.Failing" value="0"/>
<property name="jsr303.marked.NonTckTest" value="0"/>
+ <property name="jsr303.marked.NotSupported" value="0"/>
<property name="jsr303.marked.TestNotCompatible" value="0"/>
<echo message="Marked Failing = ${jsr303.marked.Failing}" />