diff --git a/docs/index.html b/docs/index.html index 724791e98..9f3afcec5 100644 --- a/docs/index.html +++ b/docs/index.html @@ -116,36 +116,16 @@

-

Upgrading to release 2.4

- -

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.

+

Upgrading to release 3.0

+

As of release 3.0 Checkstyle has changed it's + configuration system, the configuration file is now an XML file + that configures a tree of check modules. The Checkstyle 2 + configuration files (based on properties) are not supported in + Checkstyle 3. Please consult the documentation to learn about the new + configuration file format. +

Related Tools

@@ -155,8 +135,8 @@

Additionally: @@ -164,17 +144,21 @@