From 43aa86f9fa53cb47d0f8dcb29a5ce3c5fc63c509 Mon Sep 17 00:00:00 2001 From: oburn Date: Thu, 4 Jul 2002 00:01:59 +0000 Subject: [PATCH] Document the -jar option. --- docs/cmdline.html | 10 ++++++++++ docs/releasenotes.html | 1 + 2 files changed, 11 insertions(+) diff --git a/docs/cmdline.html b/docs/cmdline.html index f8cba0e66..633264afb 100644 --- a/docs/cmdline.html +++ b/docs/cmdline.html @@ -43,6 +43,7 @@ This command line tool is included in the checkstyle distribution.

The default behaviour of checkstyle can be changed either by setting system properties using the -D<property>=<value> arguments to java or by specifying a property file using the -p option. If a property file is specified the system properties are ignored. The following table describes what properties can be set:

+ @@ -267,6 +268,15 @@ Older versions of the checkstyle task supported the boolean parameters checkstyl com.puppycrawl.tools.checkstyle.Main Check.java +
+

Tip

+

It is possible to run Checkstyle directly from the JAR file using the -jar option. Example would be:

+ +
+  java  -jar checkstyle-@CHECKSTYLE_VERSION@.jar  Check.java
+
+
+

Copyright © 2001 Oliver Burn. All rights Reserved.

diff --git a/docs/releasenotes.html b/docs/releasenotes.html index 0c15cc271..4f2fe548d 100644 --- a/docs/releasenotes.html +++ b/docs/releasenotes.html @@ -55,6 +55,7 @@
  • Check for whitespace around "{" and "}" (request 557544).
  • Fix Javadoc errors under JDK 1.4 (request 568553).
  • Detect redundant abstract modifier in interfaces (request 573485).
  • +
  • Supporting running Checkstyle using the -jar option.
  • Property