Update README
This commit is contained in:
Родитель
bb860aa374
Коммит
14cac31a24
11
README.md
11
README.md
|
@ -134,6 +134,7 @@ The extension uses the Gradle wrapper to list daemons, and is quite a slow proce
|
|||
- Pin tasks
|
||||
- List recent tasks
|
||||
- List & stop daemons
|
||||
- Reports Gradle dist download progress
|
||||
|
||||
</details>
|
||||
|
||||
|
@ -224,19 +225,13 @@ The integrated terminal has a limited buffer size and will not show the full out
|
|||
|
||||
</details>
|
||||
|
||||
<details><summary>"Gradle: Configure project"</summary>
|
||||
|
||||
When you open a Gradle project for the first time, the Gradle wrapper will start downloading the Gradle distribution. This process can take a while. As there's no progress events emitted via the Tooling API for this process, the extension will simply report "Gradle: Configure project". You can however view progress by selecting the "Gradle Server" process in the terminal panel to view download progress.
|
||||
|
||||
</details>
|
||||
|
||||
<details><summary>"No connection to the gradle server. Try restarting the server"</summary>
|
||||
|
||||
<img src="./images/no-connection.png" width="500" />
|
||||
|
||||
This error means the Gradle Task server has stopped, or there was an error starting it. Click on "Restart Server" to restart it.
|
||||
|
||||
If you continue to get this error, view the task error messages by selecting "Gradle Server" in the Terminal panel.
|
||||
If you continue to get this error, view the task error messages by selecting "Gradle Tasks" in the output panel.
|
||||
|
||||
The task server is started using a [shell script](https://gist.github.com/badsyntax/d71d38b1700325f31c19912ac3428042) generated by [CreateStartScripts](https://docs.gradle.org/current/dsl/org.gradle.jvm.application.tasks.CreateStartScripts.html). The script uses `#!/usr/bin/env sh` and is as portable as the Gradle wrapper script. If there are any problems executing the start script then it's likely an issue either with your `PATH`, or Java is not installed.
|
||||
|
||||
|
@ -277,7 +272,7 @@ You might see an error like:
|
|||
ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
||||
```
|
||||
|
||||
The start script [should find](https://gist.github.com/badsyntax/d71d38b1700325f31c19912ac3428042#file-gradle-tasks-server-sh-L85-L105) the path to Java in the usual locations. If you get this error it suggests an issues with your `$PATH` or you simply haven't installed Java. Run the Gradle wrapper script (eg `./gradlew tasks`) to debug further.
|
||||
The start script [should find](https://gist.github.com/badsyntax/d71d38b1700325f31c19912ac3428042#file-gradle-tasks-server-sh-L85-L105) the path to Java in the usual locations. If you get this error it suggests an issues with your `$PATH` or you simply haven't installed Java. Run the Gradle wrapper script (eg `./gradlew tasks`) to debug further, or see `Issues with environment vars` below for more information.
|
||||
|
||||
### Shell environment
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче