-
Notifications
You must be signed in to change notification settings - Fork 578
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Eclipse plug-in: false warning about not built project? #2882
Comments
Thanks for opening your first issue here! 😃 |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: