Changes for page Running KEITH
Last modified by Richard Kreissig on 2023/09/14 08:48
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,14 +1,9 @@ 1 -{{layout}} 2 -{{layout-section ac:type="single"}} 3 -{{layout-cell}} 1 += Running KEITH = 4 4 5 5 4 + 6 6 {{toc maxLevel="2"/}} 7 -{{/layout-cell}} 8 -{{/layout-section}} 9 9 10 -{{layout-section ac:type="single"}} 11 -{{layout-cell}} 12 12 == Setting up your Eclipse == 13 13 14 14 For everything not mentioned here refer to [[Getting Eclipse>>doc:KIELER.Getting Eclipse||shape="rect"]] guide. Choose the last Eclipse version and I personally recommend Eclipse for RCP & RAP developers since the Plug-In Development perspective is the default one. Another helpful perspective might be the Git perspective. ... ... @@ -27,13 +27,7 @@ 27 27 * Select all Klighd and pragmatics plugins and do Project>Clean>Only selected and build only selected 28 28 * Do the same for the semantics projects 29 29 * Enable Project>Build automatically 30 -{{/layout-cell}} 31 -{{/layout-section}} 32 32 33 -{{layout-section ac:type="two_equal"}} 34 -{{layout-cell}} 35 -== Legacy Eclipse Application == 36 - 37 37 To run the language server go to //Run Configurations// create a new E//clipse Application// run configuration and select //Run an application// and //de.cau.cs.kieler.language.server.LanguageServer// (for semantics LS,//de.cau.cs.kieler.kgraph.language.server.LanguageServer// otherwise) 38 38 39 39 == [[image:attach:Screenshot from 2019-02-15 14-10-50.png]] == ... ... @@ -54,34 +54,8 @@ 54 54 55 55 [[image:attach:Screenshot from 2019-02-15 14-13-34.png]] 56 56 57 -The default port to which KEITH tries to connect is 5007. You can of course change this for the langua ge server but be aware that this has to be changed in KEITH too.46 +The default port to which KEITH tries to connect is 5007. You can of course change this for the languae server but be aware that this has to be changed in KEITH too. 58 58 59 -\\ 60 -{{/layout-cell}} 61 - 62 -{{layout-cell}} 63 -== Java Application == 64 - 65 -To run the language server go to //Run Configurations// create a new //Java Application// run configuration. 66 - 67 -Select the **//Project//** //de.cau.cs.kieler.language.server// or //de.cau.cs.kieler.pragmatics.language.server// and the **Main class **//de.cau.cs.kieler.language.server.LanguageServer// or //de.cau.cs.kieler.pragmatics.language.server.PragmaticsLanguageServer//. 68 - 69 -[[image:attach:Screenshot from 2020-08-12 13-32-36.png]] 70 - 71 -In the next step all projects that you want to include in your language server have to be added to the classpath. 72 - 73 -Go to **Classpath**, select **User Entries**, click** Add Projects...**, and select all required projects (if you are unsure just add all of them). 74 - 75 -Click on **Advanced**>**Add Folders** add select the project folders of all projects you added earlier. 76 - 77 -In the **Arguments** tab make sure to add //-Dport=5007// to the **VM arguments**. 78 - 79 -\\ 80 -{{/layout-cell}} 81 -{{/layout-section}} 82 - 83 -{{layout-section ac:type="single"}} 84 -{{layout-cell}} 85 85 == Setting up a KEITH developer setup... == 86 86 87 87 General requirements: ... ... @@ -192,12 +192,8 @@ 192 192 {{info}} 193 193 If you previously build keith electron, you have to execute {{code language="none"}}yarn run rebuild:electron{{/code}} 194 194 {{/info}} 195 -{{/layout-cell}} 196 -{{/layout-section}} 197 197 198 -{{layout-section ac:type="two_equal"}} 199 -{{layout-cell}} 200 -== Running the already build LS (legacy, you normally do not want to do this) == 159 +== Running the already build LS (you normally do not want to do this) == 201 201 202 202 Go to the latest [[Bamboo build>>url:https://rtsys.informatik.uni-kiel.de/bamboo/browse/KISEMA-NSI||shape="rect"]] and go to Artifacts. 203 203 ... ... @@ -223,26 +223,6 @@ 223 223 -Dport=5007 224 224 {{/code}} 225 225 226 -\\ 227 - 228 -\\ 229 -{{/layout-cell}} 230 - 231 -{{layout-cell}} 232 -== Running the already build LS == 233 - 234 -Go to the latest [[Bamboo build>>url:https://rtsys.informatik.uni-kiel.de/bamboo/browse/KISEMA-TSIWE/latest||shape="rect"]] and go to Artifacts. 235 - 236 -Select the language server for your OS (this will be a jar file) and run it via: 237 - 238 -{{code}} 239 -java -Dport=5007 -jar <name-of-the-jar-file> 240 -{{/code}} 241 -{{/layout-cell}} 242 -{{/layout-section}} 243 - 244 -{{layout-section ac:type="single"}} 245 -{{layout-cell}} 246 246 5007 is the standard port KEITH is currently connecting to in socket mode. You can find this port in your Theia application at the following location: 247 247 248 248 Assume you are in the [[keith >>url:https://git.rtsys.informatik.uni-kiel.de/projects/KIELER/repos/keith/browse||shape="rect"]]repository. Go to {{code language="none"}}keith-app{{/code}}, you should see something like this: ... ... @@ -265,11 +265,7 @@ 265 265 \\ 266 266 267 267 The {{code language="none"}}LSP_PORT{{/code}} option is used to activate the connection via socket. It is also possible to specify a relative location to a LS via {{code language="none"}}LS_PATH=<path to LS>{{/code}}. 268 -{{/layout-cell}} 269 -{{/layout-section}} 270 270 271 -{{layout-section ac:type="single"}} 272 -{{layout-cell}} 273 273 = Known Issues = 274 274 275 275 === Known issues for windows: === ... ... @@ -299,6 +299,5 @@ 299 299 yarn 300 300 {{/code}} already builds the correct sources). 301 301 ))) 302 -{{/layout-cell}} 303 -{{/layout-section}} 304 -{{/layout}} 237 + 238 +\\
- Confluence.Code.ConfluencePageClass[0]
-
- Id
-
... ... @@ -1,1 +1,1 @@ 1 -8 83100901 +78675990 - URL
-
... ... @@ -1,1 +1,1 @@ 1 -https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/8 8310090/Running KEITH1 +https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/78675990/Running KEITH