From 310100c2396c64ddf566abbe46207de1f0ca0b79 Mon Sep 17 00:00:00 2001
From: Oliver Burn
As of release 2.4 Checkstyle can only be configured by + properties. The major impact is to the ANT task as many arguments have + been removed. It is still possible to customise Checkstyle via ANT task, + but the technique has changed. For example the following call with + Checkstyle 2.3:
+ ++ <checkstyle cacheFile="target/checkstyle.cache" + headerFile="dev/header.txt" + properties="dev/checkstyle.config"> + <fileset dir="src" includes="**/*.java"/> + </checkstyle> ++ +
has the equivalent call with Checkstyle 2.4:
++ <checkstyle properties="dev/checkstyle.config"> + <fileset dir="src" includes="**/*.java"/> + <property key="checkstyle.cache.file" + file="target/checkstyle.cache"/> + <property key="checkstyle.header.file" + file="dev/header.txt"/> + </checkstyle> ++ +
See the documentation for the ANT + Task for more examples.
+ +