diff --git a/docs/index.html b/docs/index.html index 228c6e632..75b4985f1 100644 --- a/docs/index.html +++ b/docs/index.html @@ -29,6 +29,7 @@
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.
+ +