[
https://jira.jboss.org/jira/browse/RFPL-195?page=com.atlassian.jira.plugi...
]
Alex Kolonitsky commented on RFPL-195:
--------------------------------------
I am glad to announce that the long but important work on introducing checkstyle into
Richfaces project is about to be finished.
I am finished with reformatting code and commiting it. And I am ready to commit pom files
for cdk, framework, examples and ui modules, after that the checkstyle errors will be
failing the build. I will do it in a few minutes.
You know how to installing checkstyle
plugin(http://www.jboss.org/community/wiki/InstallCheckstylePlugin) for eclipse and
importing eclipse formatting
rules(http://www.jboss.org/community/wiki/ImportFormatingRules). Same more notes about
using a maven plugin written below.
Notes for using checkstyle maven plugin
• If you need to skip checkstyle use -Dcheckstyle.skip=true
• If you need to add a suppression, you can add it in a checkstyle-suppressions.xml for
your module. For example: we have got a violation DoubleCheckedLocking in the
MultipartRequestRegistry. It was discussed with Nick, and was added as suppressions in the
framework\impl\checkstyle-suppressions.xml (You can see the examples in framework\impl and
framework\test-base)
I am open to any questions or suggestions, so if there's something embarassing you, or
you have some particular problems, please contact me. I'll be glad to help.
Code style policy
-----------------
Key: RFPL-195
URL:
https://jira.jboss.org/jira/browse/RFPL-195
Project: RichFaces Planning
Issue Type: Task
Security Level: Public(Everyone can see)
Affects Versions: 4.0.0.ALPHA2
Reporter: Nick Belaevski
Assignee: Alex Kolonitsky
Fix For: 4.0.0.ALPHA2
We need to select code style policy and describe it on the wiki and create IDE settings
files for Eclipse and probably for Idea.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira