Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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 Android Security Essentials Live Lessons this week in the Android 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Adding new rule to Eclipse's code analysis plugin PMD
 
Similar Threads
Eclipse "plugin project" : can it depend on a standard java project?
Configuring PMD on WSAD
PMD for Eclipse Version: 3.4.0
Junits monitoring
Creating new rules for code review in RAD