FindBugs Eclipse Plugin: Is there a way to set the "Start automatically" and "(also on full build)" options at workspace level?

I have an eclipse (kepler) workspace with several (mostly java) projects. I just installed the FindBugs plugin (2.0.3) and noticed that the "Run automatically" and "(also on full build)" options are only configured at the project level, not at the workspace level.

Is there a convenient way to enable / disable these options at the workspace level (other than the find and replace all .project approach)?

UPDATE : It looks like this feature is considered added in the next version 3.0.1:

https://sourceforge.net/p/findbugs/feature-requests/287/

It could also mean there is no way to do this in plugin 2.0.3, which means the solution to this problem is to write a search and replace script: --(

+3


source to share


1 answer


Short version: Since this question hasn't received any answers after about a year, it's safe to assume that the answer is no , the Eclipse Find Bugs 2.0.3 plugin (or earlier) is not capable of customizing the specified options at the workspace level.

Possible workarounds:



  • Please update the plugin version 3.xx or later. (I already mentioned that in the question above.)

  • If updating is not an option, you need to bulk update your .project files. Now I'm pretty sure there is an XML tool or good scripting language designed for this kind of problem (XML content update scope). But since I already had to solve this problem with a simple Java program, I would also recommend just that .

+1


source







All Articles