Re: Some Issues w/ a green install of Checkstyle 5.0 beta
Oliver Burn <[email protected]> Thu, 16 Apr 2009 09:48:22 +1000
| Newsgroups | gmane.comp.java.audit.checkstyle.user |
|---|---|
| Message-ID | <[email protected]> |
Re 1 - which XSLT file are you using to generate the report? It sounds like this can be improved to combine entries. Re 2 - I would recommend removing the trailing whitespace. You must have a rule, unrelated to the Javadoc checks, that is reporting on the trailing whitespace. I personally use an Eclipse Save action to remove all trailing whitespace whenever a file is saved. See https://twitpic.com/3djdj for a screenshot. Regards, Oliver On Thu, Apr 16, 2009 at 02:07, Tim Visher <[email protected]> wrote: > Hey Everyone, > > I have several issues regarding my team's use of Checkstyle so I'm > hoping that someone on the lists can help me resolve them. > > 1. For some reason the Checkstyle report is doubling all file output. > On one of the report sections it reports 0 violations and on the other > it reports the real violations findings. I'd like it to only report > once per file and only if that file has violations. > > 2. We do pretty standard Javadoc comments such as > > /** > * Example example example... > * > * @author example > */ > > This is standard Eclipse procedure and every other IDE/Editor that I > know of that does Javadoc comments formats things this way. The > problem is that Checkstyle seems to believe that the ' * ' is a line > that contains trailing spaces, which of course it is, but that by no > means invalidates it's format. I couldn't find a specific rule in the > sun-checks.xml file that dealt with javadoc comments and none of the > white space rules appear to indicate that they check after a *. Also, > a quick google search only appeared to turn up violations of this > rule in other projects. Is there any way to get this to stop being > reported/checked? > > Thanks in advance! > > -- > > In Christ, > > Timmy V. > > http://burningones.com/ > http://five.sentenc.es/ - Spend less time on e-mail > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > High Quality Requirements in a Collaborative Environment. > Download a free trial of Rational Requirements Composer Now! > http://p.sf.net/sfu/www-ibm-com > _______________________________________________ > Checkstyle-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/checkstyle-user > ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p _______________________________________________ Checkstyle-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/checkstyle-user