I have installed PMD in Eclipse Kepler using Eclipse market place. But I am unable to access it after the installation.
When I go to Window → Preferences and search for PMD, I get no results.
Is there any other plugin available for source code cleanup?
Or: What needs to be done to install PMD in Kepler?
Thanks
Installation ✏️️ PMD is distributed as a zip archive, which includes both PMD and CPD. You can download the latest binary distribution from the github releases page. Unzip it into any directory, optionally add the bin subdirectory in your PATH , and you're good to go!
I found the PMD plugin that installs through Eclipse Marketplace to be harder to use than the standalone one. Install available by an Eclipse update site here.
I've tried all these suggestions and now i have it working in Kepler; here's how to do it: I made sure my Eclipse Kepler instance was using Java 7--it was.
The link from the eclipse marketplace did not work. It would show a PMD option for the individual projects properties, but there were no rules to select from. Also the main workspace preferences were not showing up.
I had to install it using this update site, as Jeanne Boyarsky mentioned:
http://sourceforge.net/projects/pmd/files/pmd-eclipse/update-site/
Restart Kepler.
The PMD option now shows up in the Windows->Preferences->PMD
The PMD project menu now shows up when right clicking on the project.
The install information on the web site for this plugin http://acanda.github.io/eclipse-pmd/getting-started.html says you must open the Properties
for a project and look at the PMD
tab.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With