Skip to content
This repository was archived by the owner on Jan 3, 2024. It is now read-only.

Commit 329b2f7

Browse files
xtoughamiramw
authored andcommitted
reintroduce CDX LSP (#6)
1 parent bf58eb5 commit 329b2f7

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

config/components.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,4 @@ frameworks:
6262
- "JavaBuildpack::Framework::LanguageServerNodeJSON"
6363
- "JavaBuildpack::Framework::LanguageServerNodeXML"
6464

65-
# - "JavaBuildpack::Framework::LanguageServerNodeCDX"
65+
- "JavaBuildpack::Framework::LanguageServerNodeCDX"

config/language_server_node_cdx.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# TODO License.
22

3-
# Configuration for the JAVA LSP server component
3+
# Configuration for the CDS LSP server component
44
---
5-
version: 0.0.+
6-
repository_root: "https://buildpackcomponentrepositorycdx.cfapps.sap.hana.ondemand.com"
5+
version: 1.*.*
6+
repository_root: "https://lsp-component-cds.cfapps.eu10.hana.ondemand.com/"
77
env:
88
workdir: language_server_node_cdx/
99
exec: language_server_node_cdx/launcher.sh
1010
ipc:
11-
protocol: "socket-client"
12-
clientport: 8765
11+
protocol: "stream"
12+
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/bash
2-
3-
exec npm start
2+
echo 'Starting server.js using node...' >launcher.log
3+
exec ./nodejs/bin/node ./src/server.js --stdio --strict-code-completion

0 commit comments

Comments
 (0)