Adding new rule to Eclipse's code analysis plugin PMD
posted 7 years ago
I've added a plugin to eclipse for java code analysis,the plugin is PMD.Now i want to add a new rule to the existing rules of PMD.
I make a plug in development project by going to New Project wizard -> Plug in development->Fragment Project.After making the rule class I run the project as Eclipse Application.A new instance of eclipse is started. In this i add the rule to the plugin.For this I go to Window | Preferences... | PMD | Rules configuration .There i go to Add Rule and in the dialog that opens i fill the required fields but when i click ok I get the following message-
Invalid implementation class .The class must be in the plugin classpath and implement the rule interface.
What am i doing wrong? Can anyone please suggest me.
Thanks in advance,
posted 5 years ago
I am also facing the same problem.
Can you please tell me how to solve above problem.