Rename Gradle Tasks Server to Gradle Server
This commit is contained in:
Родитель
6b9a7c3c87
Коммит
db2b0c1d6e
|
@ -226,7 +226,7 @@ The integrated terminal has a limited buffer size and will not show the full out
|
|||
|
||||
<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 Tasks Server" process in the terminal panel to view download progress.
|
||||
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>
|
||||
|
||||
|
@ -236,7 +236,7 @@ When you open a Gradle project for the first time, the Gradle wrapper will start
|
|||
|
||||
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 Tasks Server" in the Terminal panel.
|
||||
If you continue to get this error, view the task error messages by selecting "Gradle Server" in the Terminal 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 was not installed.
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ import * as vscode from 'vscode';
|
|||
import { logger } from '../logger';
|
||||
import { getConfigJavaHome } from '../config';
|
||||
|
||||
export const SERVER_TASK_NAME = 'Gradle Tasks Server';
|
||||
export const SERVER_TASK_NAME = 'Gradle Server';
|
||||
|
||||
export function getGradleServerCommand(): string {
|
||||
const platform = process.platform;
|
||||
|
@ -20,8 +20,8 @@ export function buildGradleServerTask(
|
|||
args: string[] = []
|
||||
): vscode.Task {
|
||||
const cmd = `"${getGradleServerCommand()}"`;
|
||||
logger.debug(`Gradle Tasks Server dir: ${cwd}`);
|
||||
logger.debug(`Gradle Tasks Server cmd: ${cmd} ${args.join(' ')}`);
|
||||
logger.debug(`Gradle Server dir: ${cwd}`);
|
||||
logger.debug(`Gradle Server cmd: ${cmd} ${args.join(' ')}`);
|
||||
const taskType = 'gradleserver';
|
||||
const definition = {
|
||||
type: taskType,
|
||||
|
|
Загрузка…
Ссылка в новой задаче