Using Checkstyle to enforce 308 coding conventions
Windows and Linux instructions only.
- Install the Checkstyle eclipse plugin found here.
- Download the 308 style conventions file here.
- In eclipse, go to window->preferences... and click on Checkstyle on the left.
- In the Checkstyle pane, click on new.
- Select External Configuration File for the type.
- Click browse and select the 308style.xml file you downloaded.
- Type in any name and click OK.
- Set the new configuration as the default.
If Checkstyle reports an error, do the following.
- Click on Configure.
- Under the Other tab, remove VariableNameLength and LogicComment.
