Re: Question regarding the checkstyle output xml
Oliver Burn <[email protected]> Wed, 6 Apr 2011 15:22:01 +1000
| Newsgroups | gmane.comp.java.audit.checkstyle.user |
|---|---|
| Message-ID | <[email protected]> |
I would suggest trying one of the contributed stylesheets to generate the report. See stylesheets in the "contrib" directory of the source distribution. On Wed, Apr 6, 2011 at 09:02, praneeth kumar <[email protected]> wrote: > Hi, > I am new to using ChckStyle and its great. > However I have a question (for which there could be very simple solution). > I am trying to generate the checkstyle report. Using this in my build file: > > > <checkstyle config="docs/sun_checks.xml" > failureProperty="checkstyle.failure" failOnViolation="false"> > <formatter type="xml" tofile="checkstyle_report.xml"/> <fileset > dir="src" > includes="**/*.java"/> </checkstyle> > > However in the output xml, it is listing all the files in the directory > 'src' > irrespective of whether it has any violations or not. > Is there a way to not include the files in the report which do not have any > violations? > > Listing ALL the files and displaying no errors is actually cluttering my > HTML > output file. > > Thanks in advance > > > ------------------------------------------------------------------------------ > Xperia(TM) PLAY > It's a major breakthrough. An authentic gaming > smartphone on the nation's most reliable network. > And it wants your games. > http://p.sf.net/sfu/verizon-sfdev > _______________________________________________ > Checkstyle-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/checkstyle-user > ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev _______________________________________________ Checkstyle-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/checkstyle-user