aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes Adding new rule to Eclipse's code analysis plugin PMD Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Adding new rule to Eclipse Watch "Adding new rule to Eclipse New topic
Author

Adding new rule to Eclipse's code analysis plugin PMD

Piyush Tripathi
Greenhorn

Joined: Jan 28, 2009
Posts: 16
Hi,
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,
Piyush

Shainaz Tamboli
Greenhorn

Joined: Jun 09, 2010
Posts: 11
Hi All,

I am also facing the same problem.
Can you please tell me how to solve above problem.



Regards,
Shainaz


-Shainaz
 
 
subject: Adding new rule to Eclipse's code analysis plugin PMD