acanda / eclipse-pmd

eclipse-pmd has been moved to
https://github.com/eclipse-pmd/eclipse-pmd
Other
21 stars 10 forks source link

Bug: ruleset of other projects are also listed #66

Closed bohni closed 5 years ago

bohni commented 5 years ago

On project properties there are listed all ruelsets, also some where defined as "project" on other projects. Those were marked with a warning sign and "file not found" tool tip.

acanda commented 5 years ago

This works as intended. When you have a different pmd ruleset for each project then you most likely have it at the same location with the same filename in each project (e.g. all projects have a pmd.xml in a config folder). With this feature it makes it easier to set up all those projects. You don't have to go throught the wizard for each project but can simply do it for one project and then pick the same configuration for all other projects.

The warning sign indicates that you do not have a pmd ruleset file at that location in this project so it wouldn't make sense to select this configuration.

bohni commented 5 years ago

Thanks for clarifying.