diff --git a/docs/writingchecks.html b/docs/writingchecks.html index f75fe3184..b8399cfdc 100644 --- a/docs/writingchecks.html +++ b/docs/writingchecks.html @@ -405,6 +405,10 @@
+ <?xml version="1.0"?>
+ <!DOCTYPE module PUBLIC
+ "-//Puppy Crawl//DTD Check Configuration 1.0//EN"
+ "http://www.puppycrawl.com/dtds/configuration_1_0.dtd">
<module name="Checker">
<module name="TreeWalker">
@@ -423,11 +427,12 @@
To run the new Check on the command line compile your Check,
create a jar that contains the classes and property files,
- e.g. mycompanychecks.jar. Then run:
+ e.g. mycompanychecks.jar. Then run
+ (with the path separator adjusted to your platform):
- java -classpath mycompanychecks.jar \
- -jar checkstyle-all-@CHECKSTYLE_VERSION@ \
+ java -classpath mycompanychecks.jar:checkstyle-all-@CHECKSTYLE_VERSION@.jar \
+ com.puppycrawl.tools.checkstyle.Main \
-c config.xml -r .