From 194f604d1af9fad18dbf41817815c8e9de3f6eea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20K=C3=BChne?= Date: Sun, 22 Dec 2002 11:29:16 +0000 Subject: [PATCH] added 3rd party tools from current home page replaced upgrade procedure --- docs/index.html | 54 +++++++++++++++++-------------------------------- 1 file changed, 19 insertions(+), 35 deletions(-) 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 @@