How can we add a new java based pmd rule in eclipse pmd plugin?
I am getting following error:
Invalid Class implementation.The class must be in plugin classpath and implement the rule interface.
I have extended rule class with AbstractRule class.
How can we add a new java based pmd rule in eclipse pmd plugin?
I am getting following error:
Invalid Class implementation.The class must be in plugin classpath and implement the rule interface.
I have extended rule class with AbstractRule class.
Can you tell me how to create that rule? First of all i am not able to create rules in pma for eclipse. I am confusing with environment for creating rule..! thanks in advance!
yes, i followed ur specified article. but i am using pmd with the version 3.2.6 . The specified article used 3.1.0 . That is the reason i am getting compilation error at RuleViolation class constructor. I think the class has been updated. What should i do now! Offcourse my intention is not use that rule and i need to create a rule for java comments. Have you aware of this type of rule?