|
|
|
|
|
|
|
|
<property name="cs.dir" location="${vaadin.basedir}/checkstyle" /> |
|
|
<property name="cs.dir" location="${vaadin.basedir}/checkstyle" /> |
|
|
<property name="cs.xml" location="${cs.dir}/vaadin-checkstyle.xml" /> |
|
|
<property name="cs.xml" location="${cs.dir}/vaadin-checkstyle.xml" /> |
|
|
<property name="cs.header-file" location="${cs.dir}/header" /> |
|
|
<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" /> |
|
|
<taskdef resource="checkstyletask.properties" uri="antlib:com.puppycrawl.tools.checkstyle" classpathref="taskdefs.classpath" /> |
|
|
|
|
|
|
|
|
<target name="checkstyle"> |
|
|
<target name="checkstyle"> |
|
|
|
|
|
|
|
|
</fileset> |
|
|
</fileset> |
|
|
<formatter type="xml" toFile="${result.dir}/checkstyle-errors.xml" /> |
|
|
<formatter type="xml" toFile="${result.dir}/checkstyle-errors.xml" /> |
|
|
<property key="checkstyle.header.file" file="${cs.header-file}" /> |
|
|
<property key="checkstyle.header.file" file="${cs.header-file}" /> |
|
|
|
|
|
<property key="checkstyle.importControl.file" file="${cs.import-control-file}" /> |
|
|
</cs:checkstyle> |
|
|
</cs:checkstyle> |
|
|
</target> |
|
|
</target> |
|
|
</project> |
|
|
</project> |