Would be nice to see the name of CHECK together with its output
---------------------------------------------------------------

                 Key: MCHECKSTYLE-148
                 URL: http://jira.codehaus.org/browse/MCHECKSTYLE-148
             Project: Maven 2.x Checkstyle Plugin
          Issue Type: Improvement
         Environment: maven-3
            Reporter: Vincenzo Mancini


This is what I see in my report (for example):

{noformat}
[...]
[ERROR] Abc.java[77:5] Class should define a constructor.
[ERROR] Abc.java[88:5] Class should define a constructor.
[ERROR] Abc.java[99:8] Unused @param tag for 's'.
[...]
{noformat}

It's difficult to understand which particular checkstyle check produced these 
lines. Would be nice to have a configuration option in the plugin, which will 
let me turn such extra logging ON and OFF, and I would see something like this:

{noformat}
[...]
[ERROR] Abc.java[77:5] Class should define a constructor. 
(com.puppycrawl.tools.checkstyle.checks...)
[ERROR] Abc.java[88:5] Class should define a constructor. 
(com.puppycrawl.tools.checkstyle.checks...)
[ERROR] Abc.java[99:8] Unused @param tag for 's'. 
(com.puppycrawl.tools.checkstyle.checks...)
[...]
{noformat}

This logging will help me to find (!) and re-configure my checks very fast.

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

        

Reply via email to