AS IS: In projects, which contains more then one class folder with generated classes (say one is the default one from Eclipse, another one is temporary created by ant during deployment task) FindBugs report bugs in both folders, even if some of folders are not on the class path of the project. This lead to duplicated time used to search bugs in Eclipse and to wrong bug markers generated (or to not generated at all).
TO BE: FindBugs should search for bugs only in class folders which are on the classpath of Java project.
Using latest FindBugs build from SVN head with Eclipse 3.2.2 on JDK 1.5.
Patch (against head) which solves the problem is attached below.
- FindBugsWorker.java.patch 6.22KB
Comment #1
Posted on Nov 6, 2006 by Swift LionSorry, the first patch didn't work in some special cases (if project name does not match the project folder), but here is the better one :o)
BTW is anybody watching this patches/issues page? regards, Andrei Loskutov
- FindBugsWorker.java.patch 6.83KB
Comment #2
Posted on Nov 17, 2006 by Helpful Wombatcommitted your patch to SVN
Status: Fixed
Labels:
Type-Defect
Priority-Medium