Richard Willis

Results 80 comments of Richard Willis

I've tested this in MacOS and Windows and the variable substitution works as expected. I had to accept the following: Did you see any errors in the "Gradle Tasks" output?

I will however add support for `java.import.gradle.user.home` to provide integrations between the gradle and java extensions.

@hanct do you know if `java.import.gradle.user.home` supports relative paths in the Java language support extension? It seems like the setting is ignored if not using an absolute path. Can you...

Actually it does seem to support relative paths, eg: `"java.import.gradle.user.home": "test-gradle-home"`

Actually, it doesn't look like relative paths are supported, i'm getting the following error: The Language support extension downloads the wrapper correctly into the correct (relative) path but then bombs...

When setting an absolute path, and clearing the custom gradle user home directory, there's a conflict between gradle tasks and language server extensions as they both try to install the...

I got confused by some of the settings myself. There's two vscode settings: `java.import.gradle.home` and `java.import.gradle.user.home`. It's very easy to miss this. * `java.import.gradle.user.home` (`GRADLE_USER_HOME`) is where the gradle wrapper...

I didn't really answer your main question. From my testing, it seems to me that yes, `gradle.user.home` specified inside the org.eclipse.buildship.core.prefs should match `java.import.gradle.user.home`

@hanct did you delete the `org.eclipse.buildship.core.prefs` file before restarting vscode? if you raise this to them can you link it here? thanks

Thanks, this matches my testing too. > Query: Which extension results in the .gradle20 folder created in the project folder? vscode-java or vscode-gradle? vscode-java is doing this. It creates the...