Re: configure checks per fileset
Jan Groth <[email protected]> Tue, 3 Aug 2010 15:23:43 +0200
| Newsgroups | gmane.comp.java.audit.checkstyle.user |
|---|---|
| Message-ID | <[email protected]> |
Jesus, thanks for the quick reply :-) I'm looking for a solution which works with the Eclipse-Checkstyle plugin as well as with Hudson CI. Having one single checkstyle configuration file (and running it once) would be a way better in terms of tools support and real-time feedback for the developers. I was hoping that it's somehow possible to have different filesets beeing processed differently in just one file (like adding more than one treewalker-module for example?) cheers, Jan On Tue, Aug 3, 2010 at 2:52 PM, Jesus M. Rodriguez <[email protected]>wrote: > On Tue, Aug 3, 2010 at 7:48 AM, Jan Groth <[email protected]> wrote: > > all, > > > > I'm struggling with the configuration of different filesets per check. > What > > I'd like to achieve is the following configuration of the JavadocMethod > > module > > The way we handled it in our project was to run checkstyle task for > each fileset using variable definitions in the checkstyle.xml file > > For example, our main code had more strict rules than our test code. > > Here's our checkstyle.xml: http://bit.ly/cYRB97 > > And the ant task in our build.xml : http://pastie.org/1072820 > > Hope that helps. > > jesus rodriguez > > > ------------------------------------------------------------------------------ > The Palm PDK Hot Apps Program offers developers who use the > Plug-In Development Kit to bring their C/C++ apps to Palm for a share > of $1 Million in cash or HP Products. Visit us here for more details: > http://p.sf.net/sfu/dev2dev-palm > _______________________________________________ > Checkstyle-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/checkstyle-user > ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ Checkstyle-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/checkstyle-user