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

Commit

Permalink
reintroduce CDX LSP (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
xtough authored and amiramw committed Dec 20, 2017
1 parent bf58eb5 commit 329b2f7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion config/components.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@ frameworks:
- "JavaBuildpack::Framework::LanguageServerNodeJSON"
- "JavaBuildpack::Framework::LanguageServerNodeXML"

# - "JavaBuildpack::Framework::LanguageServerNodeCDX"
- "JavaBuildpack::Framework::LanguageServerNodeCDX"
10 changes: 5 additions & 5 deletions config/language_server_node_cdx.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# TODO License.

# Configuration for the JAVA LSP server component
# Configuration for the CDS LSP server component
---
version: 0.0.+
repository_root: "https://buildpackcomponentrepositorycdx.cfapps.sap.hana.ondemand.com"
version: 1.*.*
repository_root: "https://lsp-component-cds.cfapps.eu10.hana.ondemand.com/"
env:
workdir: language_server_node_cdx/
exec: language_server_node_cdx/launcher.sh
ipc:
protocol: "socket-client"
clientport: 8765
protocol: "stream"

4 changes: 2 additions & 2 deletions resources/language_server_node_cdx/launcher.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash

exec npm start
echo 'Starting server.js using node...' >launcher.log
exec ./nodejs/bin/node ./src/server.js --stdio --strict-code-completion

0 comments on commit 329b2f7

Please sign in to comment.