Environment:
Eclipse Juno
PMD Eclipse plugin version 4.0.0.201211080927
When I select a file in the package explorer in Eclipse and choose the 'right click menu'->'PMD'->'Check Code' the file is not checked. I get the following output in the error log:
!ENTRY net.sourceforge.pmd.eclipse.plugin 1 0 2013-03-06 12:48:01.211
!MESSAGE 0 markers applied on 0 files in 0ms.
!ENTRY net.sourceforge.pmd.eclipse.plugin 1 0 2013-03-06 12:48:01.212
!MESSAGE Review code command terminated. 228 rules were executed against 0 files. PMD was not executed.
!ENTRY net.sourceforge.pmd.eclipse.plugin 1 0 2013-03-06 12:48:01.213
!MESSAGE Command ReviewCode excecuted in 157ms
The file I try to check is 'JenkinsLastBuildXmlParserTest.java'. If I select 'JenkinsProjectStatusTest.java' and try to check that it works.
If I select the package instead and check that so all three files should be checked only one is checked according to the log output:
!ENTRY net.sourceforge.pmd.eclipse.plugin 1 0 2013-03-06 13:00:07.262
!MESSAGE 3 markers applied on 1 files in 0ms.
!ENTRY net.sourceforge.pmd.eclipse.plugin 1 0 2013-03-06 13:00:07.429
!MESSAGE Review code command terminated. 228 rules were executed against 1 files. Actual PMD duration is about 33ms, that is about 33.0 ms/file, 0.14473684 ms/rule, 0.14473684 ms/filerule
!ENTRY net.sourceforge.pmd.eclipse.plugin 1 0 2013-03-06 13:00:07.431
!MESSAGE Command ReviewCode excecuted in 452ms
Same thing just happened to one of my files.
Hi,
could you check this problem again with the latest eclipse version released just now?
-> https://sourceforge.net/projects/pmd/files/pmd-eclipse/update-site/
Thanks,
Andreas
Tested successfully with latest version on 22-Aug-2013.
Eclipse Kelper with PMD Plug-in 4.0.1.v20130811-0001
Thanks,
Manfred