Menu

#961 Embedded rules are not loaded

open
pmd (543)
5
2012-10-07
2011-03-05
No

When supplying the RuleSetFactory with a classloader, it will parse the ruleset therein, but xml files referenced from the ruleset cannot be fount if they are distributed with the ruleset (for instance in a separate jar that is only accessible from the given classloader).
Attached is a diff as well as an example (used by the unit test).

Discussion

  • Floris Ouwendijk

    the diff between the original and the fixed version.

     
  • Floris Ouwendijk

    the ruleset bundled with an additional rule

     
  • Floris Ouwendijk

    fount = found

     

Log in to post a comment.