harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tony Wu (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-1997) [classlib]adopt CheckStyle to follow junit best practice
Date Mon, 30 Oct 2006 02:29:16 GMT
[classlib]adopt CheckStyle to follow junit best practice

                 Key: HARMONY-1997
                 URL: http://issues.apache.org/jira/browse/HARMONY-1997
             Project: Harmony
          Issue Type: Improvement
          Components: Classlib
            Reporter: Tony Wu
            Priority: Trivial

There are many violations found by Mark's tools(Harmony-1960). To fix and avoid them, I suggest
to use CheckStyle as a Eclipse plugin, which will highlights all possiable violate lines in
your editor windows.

I post my configuration here as an initial. It must be not very precise, you can customize
it by yourself.  Any bug report are welcome. 

1,Install CheckStyle, you can find it at http://eclipse-cs.sourceforge.net/ . 
2,After that you can find an item named checkstyle in your eclipse menu-windows-preferences,
click the new button and then import my configuration.
3,In the properties of a project, there is also an item named checkstyle, you can enable checkstyle
for your project here. remember to select the right configuration you just import.
4,If you get an out of memory error, you can do something in its exclude options. for example,
 exclude files not opened in the editor.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message