-
Notifications
You must be signed in to change notification settings - Fork 205
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
bugfix: Include semanticdb plugin path in java options processorpath #2072
bugfix: Include semanticdb plugin path in java options processorpath #2072
Conversation
For projects that use javac processorpath option append semanticdb plugin path to avoid compilation errors
Just got back to work this week, I am running the jobs and will take a look at the PR! Sorry for the delay. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the great work! Added a couple of comments, but let's see if we can make the tests pass 🥇
updats sbt to 1.7.2 to match all other projects
removes unnecessary appending "/" before path
Co-authored-by: Tomasz Godzik <tgodzik@users.noreply.github.com>
I added you to triage role in the repo, so that I don't have to click approve every time. Let me know if you need help figuring out the tests! |
@tgodzik thank you, I think what's missing is adding bloop to the sample project 😅 |
I think we are almost there, but the windows tests are failing with:
sourceroot is being set to the original resource directory and not the temporary workspace. |
use project path instead of workspace path to assert semanticdb options
Weirdly enough it seems that on Windows we don't actually run within the created temporary workspace 🤔 I don't see any obvious reason for that, I can take a look on a windows machine tomorrow. |
@tgodzik I see, not running in a workspace is the reason for the difference in the test when asserting the workspace path. I ran the tests on a windows machine, looks like the Compiler is unable to locate the semanticdb plugin on windows
After some trial and error the issue is that in windows you must use |
set scala-java-processorpath project version to "2.12.18"
@tgodzik I'm not sure if the last failure of the pipeline is related to the changes, I would appreciate you to take a look and let me know how to proceed 👍🏼 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! The failing test was not related.
For projects that use javac "-processorpath" option append semanticdb plugin path to avoid compilation errors
Fixes:
#2059