Sorry for the long delay in getting a new release of the PMD Plugin for Eclipse out (v4.0.0) but the latest version is now properly hosted on SourceForge itself rather than some obscure site that I put up as a stop-gap. Disregard the earlier alpha v5 version number, thats PMD's current version, not the plugins'.
It works under Juno and uses the 5.1.0 snapshot build of PMD so the rules should be pretty fresh.
Current issues:
The two Reports and File Filters preference pages are still works-in-progress so bear with us. The overhauled Rule Configuration page has a few bugs remaining as well but its much more workable and easier to pick the rules compared to the ancient 3.x version. The new custom decorators that markup the source are still a bit problematic as well.
The bug that wouldn't remove old flagged issues when you had the new "Check code after saving" option turned on is now fixed as well.
We're still looking for volunteers to help with bugfixes, enhancements.
I just upgraded to Juno and used the link above http://sourceforge.net/projects/pmd/files/pmd-eclipse/update-site/ but it installs pmd 4.0.0.2 rather than 5.0.x How do I install 5.0.x? I tried downloading the zip file buy the install complains there is no jar file found (there are no feature or plugin directories either) If I use the standard install link, I am asked for Eclipse 2 or 3.
Thanks for any help
Bill
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you've installed the latest 4.x plugin for Eclipse then you already have the 5.0.x version of PMD. They are two separate projects, different release numbers.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The plugin gets installed and the PMD menu appears in the context menu, but when I try to activate it by choosing 'Check Code', it changes to the PMD perspective, the progress bar in the lower right corner of the Ecplise window blinks but no violations are reported. The Violations Overview is empty. If I run PMD through Gradle on the same project violations are detected.
If I select a source file and choose Generate Abstract Syntax Tree an ast-file is created. If I choose a another file containing annotations I get "PMD Exception Can't use annotations when running in JDK 1.4 mode."
So something seems to be working but my main question is: Is the new plugin compatible with Indigo ?
Regards
Esben
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi all,
Sorry for the long delay in getting a new release of the PMD Plugin for Eclipse out (v4.0.0) but the latest version is now properly hosted on SourceForge itself rather than some obscure site that I put up as a stop-gap. Disregard the earlier alpha v5 version number, thats PMD's current version, not the plugins'.
It works under Juno and uses the 5.1.0 snapshot build of PMD so the rules should be pretty fresh.
Current issues:
The two Reports and File Filters preference pages are still works-in-progress so bear with us. The overhauled Rule Configuration page has a few bugs remaining as well but its much more workable and easier to pick the rules compared to the ancient 3.x version. The new custom decorators that markup the source are still a bit problematic as well.
The bug that wouldn't remove old flagged issues when you had the new "Check code after saving" option turned on is now fixed as well.
We're still looking for volunteers to help with bugfixes, enhancements.
Point your Eclipse installer here:
http://sourceforge.net/projects/pmd/files/pmd-eclipse/update-site/
Last edit: Brian R 2012-11-08
I just upgraded to Juno and used the link above http://sourceforge.net/projects/pmd/files/pmd-eclipse/update-site/ but it installs pmd 4.0.0.2 rather than 5.0.x How do I install 5.0.x? I tried downloading the zip file buy the install complains there is no jar file found (there are no feature or plugin directories either) If I use the standard install link, I am asked for Eclipse 2 or 3.
Thanks for any help
Bill
If you've installed the latest 4.x plugin for Eclipse then you already have the 5.0.x version of PMD. They are two separate projects, different release numbers.
Hi,
I am trying to run the new plugin 4.0.0.* under Indigo.
I used the URL
http://sourceforge.net/projects/pmd/files/pmd-eclipse/update-site/
The plugin gets installed and the PMD menu appears in the context menu, but when I try to activate it by choosing 'Check Code', it changes to the PMD perspective, the progress bar in the lower right corner of the Ecplise window blinks but no violations are reported. The Violations Overview is empty. If I run PMD through Gradle on the same project violations are detected.
If I select a source file and choose Generate Abstract Syntax Tree an ast-file is created. If I choose a another file containing annotations I get "PMD Exception Can't use annotations when running in JDK 1.4 mode."
So something seems to be working but my main question is: Is the new plugin compatible with Indigo ?
Regards
Esben