Skip to content
Discussion options

You must be logged in to vote

I think I found the solution.

In case that you only have a Java Server implementation, the NodeGlspVscodeServer and the function createServerModules() can simply be removed from the example code.

So your code have to look like this:

....
......

const JAVA_EXECUTABLE = path.join(
  __dirname,
  `../server/${artifactId}-${version}${isSnapShot ? "-SNAPSHOT" : ""}-glsp.jar`
);

export async function activate(context: vscode.ExtensionContext): Promise<void> {
  // Start server process using quickstart component
  let serverProcess: GlspSocketServerLauncher | undefined;
  const useIntegratedServer = JSON.parse(process.env.GLSP_INTEGRATED_SERVER ?? 'false');
  if (!useIntegratedServer && process.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rsoika
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant