#1074 rule priority doesn't work on group definitions

PMD-5.0.3
closed
None
PMD
4-Minor
Feature-Request
5.0.2
2014-08-20
2013-03-08
john
No

When creating a rule file, I'm setting the priority for a group like so:

  <rule ref="rulesets/java/design.xml">
    <priority>2</priority>
  </rule>

however, that does not work. It only works if I specify exact rules like this:

  <rule ref="rulesets/java/codesize.xml/NcssTypeCount">
    <priority>5</priority>
  </rule>

It would be nice if the rule priority could be overridden in a simple manner like the first option

Discussion

  • Andreas Dangel

    Andreas Dangel - 2013-03-09
    • status: open --> in-progress
    • assigned_to: Andreas Dangel
    • milestone: PMD-5.0.x --> PMD-5.0.3
     
  • Andreas Dangel

    Andreas Dangel - 2013-03-14
    • status: in-progress --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks