-
Notifications
You must be signed in to change notification settings - Fork 401
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
Change location of .tooling #1655
Conversation
} | ||
|
||
public static File getSha256CacheFile() { | ||
String checksumCache = System.getProperty("gradle.checksum.cacheDir"); | ||
File file; | ||
if (checksumCache == null || checksumCache.isEmpty()) { | ||
file = new File(System.getProperty("user.home"), ".tooling/gradle/checksums"); | ||
String xdgCache = getXdgCache(); | ||
file = new File(xdgCache, "tooling/gradle/versions.json"); |
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.
Shouldn't stay checksums
instead of versions
?
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.
You are right. Fixed
XDG_CACHE_HOME is distribution specific. Please use a jdt.ls specific env var |
buildship uses it. See |
ok fair enough |
When I run the build locally on these changes I see :
Build passes without this change. Are you able to reproduce at all ? |
@rgrunber What OS and JDK are you using? |
Fedora release 33 (Thirty Three) |
@rgrunber I have reproduced the issue. Checking... |
Signed-off-by: Snjezana Peco <snjezana.peco@redhat.com>
@rgrunber could you check this issue again? |
I re-ran the build and the tests are all passing. Feel free to merge. |
Fixes #1654
Java LS and buildship will use $XDG_CACHE_HOME/tooling, ~/.cache/tooling per default
Signed-off-by: Snjezana Peco snjezana.peco@redhat.com