Eclipse JDT Warnings Level
For code style verification, it is recommended to configure Eclipse jdt settings for errors/warning levels : all rules levels set as "ignored" should be set as "warning".
Some rules might create too many constraints in some java circumstances. The developer is allowed to disactivate the rules in specific areas :
- with projects specific errors/warning levels.
- with @SuppressWarnings, in adding some explanation to the deviation.
For code style verification, a checkstyle configuration file is directly available from the MoDisco SVN:
To use this file, you first need to download the Checkstyle plug-in.
Note that Checkstyle is not an Eclipse.org tool. However, its source code is under the EPL, and its current use has been formally IP-validated for the MoDisco project:
- https://dev.eclipse.org/ipzilla/show_bug.cgi?id=3615 (initial CQ for EMO validation)
- http://dev.eclipse.org/mhonarc/lists/modeling-pmc/msg01391.html (email thread for Modeling PMC validation)
Also note that Checkstyle is not intended to be distributed with MoDisco.