diff --git a/docs/anttask.html b/docs/anttask.html index feeb88ed4..082d35904 100644 --- a/docs/anttask.html +++ b/docs/anttask.html @@ -22,14 +22,12 @@ This task is included in the checkstyle distribution.
To use the task in a build file, you will need the following taskdef declaration:
- <taskdef name="checkstyle" - classname="com.puppycrawl.tools.checkstyle.CheckStyleTask"/> --
Alternatively, since checkstyle version 2.2 you can use taskdef's resource attribute:
<taskdef resource="checkstyletask.properties"/>diff --git a/docs/cmdline.html b/docs/cmdline.html index 6c92d605a..faa2acce1 100644 --- a/docs/cmdline.html +++ b/docs/cmdline.html @@ -13,31 +13,25 @@
-This document describes how to run checkstyle using the command line tool. The -latest version of checkstyle can be found at http://checkstyle.sourceforge.net. +This document describes how to run checkstyle using the command line tool. The +latest version of checkstyle can be found at http://checkstyle.sourceforge.net. This command line tool is included in the checkstyle distribution.
-The easiest way is to include checkstyle-all-@ -CHECKSTYLE_VERSION@.jar in the classpath. This contains all the classes -required to run checkstyle. Alternatively, you must include the following in the -classpath: +The easiest way is to include checkstyle-all-@CHECKSTYLE_VERSION@.jar in the classpath. This contains all the classes +required to run checkstyle. Alternatively, you must include the following in the classpath:
-Checkstyle will process the specified files and by default report errors to +Checkstyle will process the specified files and by default report errors to standard out in plain format. Checkstyle requires a configuration XML file that configures the checks to apply. Command line options are:
@@ -65,28 +59,28 @@ checks to apply. Command line options are: package names file to use.
Set the properties for expanded property values
-by either by assigning system
-properties using the -D<property>=<value> arguments to
+by either by assigning system
+properties using the -D<property>=<value> arguments to
java or specifying a property file using the -p option.
If a property file is specified, the system properties are ignored.
- It is possible to run Checkstyle directly from the JAR file using the - - jar option. An example would be: + It is possible to run Checkstyle directly from the JAR file using the - + jar option. An example would be: