-
-
Notifications
You must be signed in to change notification settings - Fork 422
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
Changed SAT configuration to enable parallel builds #382
Conversation
@VelinYordanov Can you point me to your findings why spotbugs does not work with parallel builds enabled? Is there some upstream report? |
@wborn As you entered openhab/static-code-analysis#200, could you review/approve this? @VelinYordanov Did you see @maggu2810's question? |
@maggu2810 I get the following error when attempting parallel build with spotbugs:
|
Signed-off-by: VelinYordanov <velin.iordanov@gmail.com>
839aedc
to
ec1c5fb
Compare
Sorry for all the sorting and introducing a merge conflict in this PR @VelinYordanov! I've resolved it by cherry picking your commit on the latest master. Now I only have to review and test it. ;-) |
@VelinYordanov In other projects I do not use SAT, but Spotbugs and it works for parallel builds... So is it possible that there is something different involved e.g. Tycho's bundle dependency management? |
Thanks for working on openhab/static-code-analysis#200 @VelinYordanov! I also see the spotbugs error #382 (comment) when running a parallel build. Is there a way to fix it? When we would have to use Updating the SAT spotbugs dependencies also does not seem to solve this issue. Furthermore because also the report plugin is run in parallel, several errors are logged because it tries to write/delete
And also
When the sat-plugin is thread safe it should also be marked as such using
|
@VelinYordanov As we do not use Tycho anymore, has the situation changed for spotbugs? |
@VelinYordanov Friendly ping... Did you see my last message? |
Let's close this due to inactivity. We'd anyhow have to find a solution for openhab/static-code-analysis#200 first... |
See openhab/static-code-analysis#200.
In order for the parallel builds to work spotbugs should be skipped with
-Dspotbugs.skip
Signed-off-by: VelinYordanov velin.iordanov@gmail.com