Hi,

I am using the code quality plugin that invokes Checkstyle on my source code. There is a checking rule called "magic number" that I'd like to apply only to the main source set, not to the test source set. "Magic numbers" are numbers other than 0 or 1, and the rule says "make them a static final variable". In test cases, however, I have tons of those concrete magic numbers for which I do not want to create Java constants at all.

So, how do I apply different checkstyle.xml configurations files to the main and to the test source sets?

Cheers
Matthias


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to