Skip to content
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

Normalize sourceroot path to prevent spurious warning #229

Open
olafurpg opened this issue May 24, 2021 · 0 comments
Open

Normalize sourceroot path to prevent spurious warning #229

olafurpg opened this issue May 24, 2021 · 0 comments

Comments

@olafurpg
Copy link
Member

While testing locally on macOS against the directory netflix/hystrix I got the following warning

[error] semanticdb-javac: sourceroot '/Users/olafurpg/dev/netflix/hystrix does not contain path '/Users/olafurpg/dev/Netflix/Hystrix/hystrix-core/src/main/java/com/netflix/hystrix/strategy/HystrixArchaiusHelper.java'. To fix this problem, update the -sourceroot flag to be a parent directory of this source file.

The problem is that I had cloned the directory as Netflix/Hystrix and the SemanticDB compiler plugin is not correctly normalizing the sourceroot directory name before doing the startsWith check

@olafurpg olafurpg closed this as completed May 5, 2022
@olafurpg olafurpg reopened this May 5, 2022
@linear linear bot closed this as not planned Won't fix, can't repro, duplicate, stale Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants