summaryrefslogtreecommitdiffstats
path: root/common.xml
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2014-03-25 09:03:52 +0200
committerVaadin Code Review <review@vaadin.com>2014-03-25 11:33:17 +0000
commitdc89e28f4d8251d0b721a2b9e143770a5fcda195 (patch)
treea52b93e699d304b0218ece0450ff89cb0ad813ed /common.xml
parent4379bd6368983de07c907421140499f471465408 (diff)
downloadvaadin-framework-dc89e28f4d8251d0b721a2b9e143770a5fcda195.tar.gz
vaadin-framework-dc89e28f4d8251d0b721a2b9e143770a5fcda195.zip
Trigger a checkstyle error if importing the wrong Element class (#13287)
Change-Id: Ief15e88c9c6fe5fd88dbf9f12783ac2f5ae617c6
Diffstat (limited to 'common.xml')
-rw-r--r--common.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/common.xml b/common.xml
index cef335035d..59e32136b4 100644
--- a/common.xml
+++ b/common.xml
@@ -422,6 +422,7 @@
<property name="cs.dir" location="${vaadin.basedir}/checkstyle" />
<property name="cs.xml" location="${cs.dir}/vaadin-checkstyle.xml" />
<property name="cs.header-file" location="${cs.dir}/header" />
+ <property name="cs.import-control-file" location="${cs.dir}/import-control.xml" />
<taskdef resource="checkstyletask.properties" uri="antlib:com.puppycrawl.tools.checkstyle" classpathref="taskdefs.classpath" />
<target name="checkstyle">
@@ -438,6 +439,7 @@
</fileset>
<formatter type="xml" toFile="${result.dir}/checkstyle-errors.xml" />
<property key="checkstyle.header.file" file="${cs.header-file}" />
+ <property key="checkstyle.importControl.file" file="${cs.import-control-file}" />
</cs:checkstyle>
</target>
</project>