checkstyle launcher is wrapped by timestamps

This commit is contained in:
Roman Ivanov 2015-05-22 10:43:18 -04:00
parent 603705c0fb
commit 14bca4f18d
1 changed files with 10 additions and 0 deletions

View File

@ -13,6 +13,11 @@
<property name="checkstyle.pattern.todo" value="NOTHingWillMatCH_-"/>
<property name="check.config" location="config/checkstyle_checks.xml"/>
<tstamp>
<format property="STARTED" pattern="dd/MM/yyyy hh:mm:ss aa" />
</tstamp>
<echo>Checkstyle started: ${STARTED}</echo>
<checkstyle config="${check.config}"
failOnViolation="false"
failureProperty="checkstyle.failure.property"
@ -30,6 +35,11 @@
file="config/suppressions.xml"/>
</checkstyle>
<tstamp>
<format property="FINISHED" pattern="dd/MM/yyyy hh:mm:ss aa" />
</tstamp>
<echo>Checkstyle finished: ${FINISHED}</echo>
<fail if="checkstyle.failure.property"
message="Checkstyle failed: ${checkstyle.failure.property}"
/>