You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the Eclipse plug-in, on some projects, I get a warning like: "You are going to run SpotBugs analysis on a not compiled or partially compiled project".
Then I'm offered to continue nonetheless, however, if SpotBugs doesn't report any bug, I'm no longer sure if there aren't any or if it's SB that couldn't terminate its analysis, as the warning says (I have much experience as a developer, but even more of the Murphy law, so to me, such a situation sounds like too good to be real...).
Whatever it is, this message shouldn't appear when the project is indeed built and without errors (ie, in the 'Problems' box).
Having looked at the code, and this check on description.isAutoBuilding() is suspicious: I have the 'auto-build' option off (cause I have projects with tons of dependencies and I can't allow Eclipse to rebuild them all the time), but the projects causing the warning above are already built when I run SB.
marco-brandizi
changed the title
Eclipse plug-in: false warning about not built project.
Eclipse plug-in: false warning about not built project?
Mar 1, 2024
When using the Eclipse plug-in, on some projects, I get a warning like: "You are going to run SpotBugs analysis on a not compiled or partially compiled project".
Then I'm offered to continue nonetheless, however, if SpotBugs doesn't report any bug, I'm no longer sure if there aren't any or if it's SB that couldn't terminate its analysis, as the warning says (I have much experience as a developer, but even more of the Murphy law, so to me, such a situation sounds like too good to be real...).
Whatever it is, this message shouldn't appear when the project is indeed built and without errors (ie, in the 'Problems' box).
Having looked at the code, and this check on
description.isAutoBuilding()
is suspicious: I have the 'auto-build' option off (cause I have projects with tons of dependencies and I can't allow Eclipse to rebuild them all the time), but the projects causing the warning above are already built when I run SB.Details:
SpotBugs version: 4.8.3.r202312121044-1e42fc9
Eclipse version: 2023-12 (4.30.0) Build id: 20231201-2043
OS: macOS 14.3.1 (23D60)
The text was updated successfully, but these errors were encountered: