Reporting Configuration

Caching Support

The property checkstyle.cache.file specifies the name of a file that can be used to cache details of files that pass Checkstyle. This can significantly increase the speed of checkstyle on successive runs. The property type is string and defaults to an empty string (which means do not cache).

Localisation Support

Checkstyle supports a mechanism for localising the output messages. If your language is not supported, please consider translating the messages in the messages.properties file. Please let us know if you translate the file.

The property checkstyle.locale.language specifies the language to use in localising the output messages. The property type is string and defaults to the default system locale language.

The property checkstyle.locale.country specifies the country to use in localising the output messages. The property type is string and defaults to the default system locale country.

Base directory support

The property checkstyle.basedir specifies a base directory which files are then reported relative to. For example, if a base directory is specified as c:\projects\checkstyle, then an error in the file c:\projects\checkstyle\src\dir\subdir\File.java will be reported as src\dir\subdir\File.java. The property type is string and defaults to an empty string.


Copyright © 2002 Oliver Burn. All rights Reserved.