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

Refine doc & Remove redundant file #1561

Merged
merged 1 commit into from
Aug 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,7 @@ The extension uses a Gradle plugin (`com.microsoft.gradle.GradlePlugin`) to get
1. Run vscode launch configuration `Debug Gradle Server & Extension`.
2. Run vscode launch configuration `Attach to Gradle Server` when you notice the `Gradle: Connecting...` message in the bottom status bar.

> **Note:** If the "Java: Error" message appears in the bottom status bar and the following error is logged in the `.log` file:
> ```java
> java.lang.NullPointerException: Cannot invoke "ch.epfl.scala.bsp4j.WorkspaceBuildTargetsResult.getTargets()"
> ```
> it indicates that the connection attempt to the Gradle Server was too slow. The [GradleBuildClient](/extension/jdtls.ext/com.microsoft.gradle.bs.importer/src/com/microsoft/gradle/bs/importer/ImporterPlugin.java#L107) requires an active Gradle Server to successfully establish a connection. If you encounter this issue, please retry the connection promptly to avoid this error.
> **Note:** If `[error] Error connecting to gradle server: Failed to connect before the deadline` appears in the `Gradle for Java` output channel, it indicates that the connection attempt to the Gradle Server was too slow. The [GradleBuildClient](/extension/jdtls.ext/com.microsoft.gradle.bs.importer/src/com/microsoft/gradle/bs/importer/ImporterPlugin.java#L107) requires an active Gradle Server to successfully establish a connection. If you encounter this issue, please retry the connection promptly to avoid this error.

## Development Workflow

Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

40 changes: 0 additions & 40 deletions proto/gradle.proto
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ service Gradle {
rpc RunBuild(RunBuildRequest) returns (stream RunBuildReply) {}
rpc CancelBuild(CancelBuildRequest) returns (CancelBuildReply) {}
rpc CancelBuilds(CancelBuildsRequest) returns (CancelBuildsReply) {}
rpc GetDaemonsStatus(GetDaemonsStatusRequest) returns (GetDaemonsStatusReply) {}
rpc StopDaemons(StopDaemonsRequest) returns (StopDaemonsReply) {}
rpc StopDaemon(StopDaemonRequest) returns (StopDaemonReply) {}
rpc executeCommand(ExecuteCommandRequest) returns (ExecuteCommandReply) {}
}

Expand Down Expand Up @@ -109,43 +106,6 @@ message CancelBuildsReply {
string message = 1;
}

message GetDaemonsStatusRequest {
string project_dir = 1;
}

message GetDaemonsStatusReply {
repeated DaemonInfo daemon_info = 1;
}

message StopDaemonsRequest {
string project_dir = 1;
}

message StopDaemonsReply {
string message = 1;
}

message StopDaemonRequest {
string pid = 1;
}

message StopDaemonReply {
string message = 1;
}

message DaemonInfo {
enum DaemonStatus {
IDLE = 0;
BUSY = 1;
STOPPED = 2;
STOPPING = 3;
CANCELED = 4;
}
string pid = 1;
DaemonStatus status = 2;
string info = 3;
}

message GradleConfig {
string gradle_home = 1;
string user_home = 2;
Expand Down
Loading