summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2013-05-27 20:35:20 +0300
committerVaadin Code Review <review@vaadin.com>2013-05-29 06:53:01 +0000
commit7c613d107e8318799521a1243b5e480a0c21e2d9 (patch)
treea2fef6e30b4797439a86c41419e099a8a05e741d
parent51a98a3d3cad3af06366e219b36acf1fd063c986 (diff)
downloadvaadin-framework-7c613d107e8318799521a1243b5e480a0c21e2d9.tar.gz
vaadin-framework-7c613d107e8318799521a1243b5e480a0c21e2d9.zip
Exclude parsers from checkstyle as they are generated
Change-Id: I91489d73bec165b5e755b5d76bf220043bee0d66
-rw-r--r--common.xml12
1 files changed, 8 insertions, 4 deletions
diff --git a/common.xml b/common.xml
index d673273a53..c0c5ca5eb5 100644
--- a/common.xml
+++ b/common.xml
@@ -69,7 +69,7 @@
</target>
<target name="fetch-release-notes-tickets" unless="built.release-notes" if="build.release-notes">
- <mkdir dir="${vaadin.basedir}/result"/>
+ <mkdir dir="${vaadin.basedir}/result" />
<subant buildpath="${vaadin.basedir}/buildhelpers" target="fetch-release-notes-tickets" antfile="build.xml" inheritall="true">
<property name="output" location="${release-notes-tickets-file}" />
</subant>
@@ -391,12 +391,16 @@
<target name="checkstyle">
<fail unless="result.dir" message="No result.dir parameter given" />
<fail unless="cs.src" message="No cs.src parameter given" />
- <property name="result.dir.full" location="${result.dir}"/>
+ <property name="result.dir.full" location="${result.dir}" />
<mkdir dir="${result.dir}" />
<echo>##teamcity[importData type='checkstyle' path='${result.dir.full}/checkstyle-errors.xml']</echo>
<cs:checkstyle config="${cs.xml}" failOnViolation="false">
- <fileset dir="${cs.src}" includes="**/*.java" />
- <formatter type="xml" toFile="${result.dir}/checkstyle-errors.xml"/>
+ <fileset dir="${cs.src}" includes="**/*.java">
+ <exclude name="com/vaadin/sass/internal/parser/Parser.java" />
+ <exclude name="com/vaadin/sass/internal/parser/ParserConstants.java" />
+ <exclude name="com/vaadin/sass/internal/parser/ParserTokenManager.java" />
+ </fileset>
+ <formatter type="xml" toFile="${result.dir}/checkstyle-errors.xml" />
<property key="checkstyle.header.file" file="${cs.header-file}" />
</cs:checkstyle>
</target>