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 (2 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. nre1 +XWiki.sdo - Content
-
... ... @@ -30,13 +30,41 @@ 30 30 {{/layout-cell}} 31 31 {{/layout-section}} 32 32 33 -{{layout-section ac:type=" single"}}33 +{{layout-section ac:type="two_equal"}} 34 34 {{layout-cell}} 35 +== Legacy Eclipse Application == 36 + 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 + 39 +== [[image:attach:Screenshot from 2019-02-15 14-10-50.png]] == 40 + 41 +\\ 42 + 43 +You have to edit the arguments too. The Vm arguments host and port are added to connect the LS via socket: 44 + 45 +{{code}} 46 +-os ${target.os} -ws ${target.ws} -arch ${target.arch} -nl ${target.nl} -consoleLog 47 +{{/code}} 48 + 49 +{{code}} 50 +-Dhost=localhost -Dport=5007 51 +{{/code}} 52 + 53 +\\ 54 + 55 +[[image:attach:Screenshot from 2019-02-15 14-13-34.png]] 56 + 57 +The default port to which KEITH tries to connect is 5007. You can of course change this for the language server but be aware that this has to be changed in KEITH too. 58 + 59 +\\ 60 +{{/layout-cell}} 61 + 62 +{{layout-cell}} 35 35 == Java Application == 36 36 37 37 To run the language server go to //Run Configurations// create a new //Java Application// run configuration. 38 38 39 - (% style="letter-spacing: 0.0px;" %)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//.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//. 40 40 41 41 [[image:attach:Screenshot from 2020-08-12 13-32-36.png]] 42 42 ... ... @@ -49,10 +49,6 @@ 49 49 In the **Arguments** tab make sure to add //-Dport=5007// to the **VM arguments**. 50 50 51 51 \\ 52 - 53 -The default port to which KEITH tries to connect is 5007. You can of course change this for the language server but be aware that this has to be changed in KEITH too. 54 - 55 -\\ 56 56 {{/layout-cell}} 57 57 {{/layout-section}} 58 58 ... ... @@ -171,20 +171,44 @@ 171 171 {{/layout-cell}} 172 172 {{/layout-section}} 173 173 174 -{{layout-section ac:type=" single"}}198 +{{layout-section ac:type="two_equal"}} 175 175 {{layout-cell}} 176 -== (% style="letter-spacing: -0.008em;" %)Running the already build LS(%%) ==200 +== Running the already build LS (legacy, you normally do not want to do this) == 177 177 178 - \\202 +Go to the latest [[Bamboo build>>url:https://rtsys.informatik.uni-kiel.de/bamboo/browse/KISEMA-NSI||shape="rect"]] and go to Artifacts. 179 179 180 -{{note}} 181 -In the current builds, there seems to be a problem with the packaging of the jar file and executing will cause a ClassNotFoundException for org/eclipse/ui/IStorageEditorInput when initializing the LS. We are looking into this issue. For now, setup your Eclipse as described above. 182 -{{/note}} 204 +[[image:attach:image2019-2-7_17-46-58.png]] 183 183 206 +Select Language Server Zip and download the LS and unpack it somewhere. 207 + 208 +Locate the kieler.ini file. Depending on the OS it has a different location (linux; toplevel, windows, toplevel, mac: Content/Eclipse/kieler.ini) 209 + 210 +Paste the following at the beginning of the ini-file: 211 + 212 +{{code language="bash"}} 213 +-application 214 +de.cau.cs.kieler.language.server.LanguageServer 215 +-noSplash 216 +{{/code}} 217 + 218 +Since an Eclipse application is built, this is needed to start the LS without a splashscreen. 219 + 220 +If you want to connect that LS via socket to your Theia application (KEITH) add the following to the vmargs: 221 + 222 +{{code}} 223 +-Dport=5007 224 +{{/code}} 225 + 184 184 \\ 185 185 186 -Go to the latest [[Bamboo build>>url:https://rtsys.informatik.uni-kiel.de/bamboo/browse/KISEMA-NSI||shape="rect"]] and go to Artifacts. 228 +\\ 229 +{{/layout-cell}} 187 187 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 + 188 188 Select the language server for your OS (this will be a jar file) and run it via: 189 189 190 190 {{code}} ... ... @@ -230,8 +230,6 @@ 230 230 231 231 === Known issues on mac: === 232 232 233 -//(this might already be resolved, has not been tested yet though)// 234 - 235 235 Since SWT is still used as part of the diagram synthesis (but is not relevant anymore). Since it is not called on the main thread this causes a deadlock. Therefore mac just does not work. 236 236 237 237 === Known issues: ===
- Confluence.Code.ConfluencePageClass[0]
-
- Id
-
... ... @@ -1,1 +1,1 @@ 1 - 947323111 +88310090 - URL
-
... ... @@ -1,1 +1,1 @@ 1 -https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/ 94732311/Running KEITH1 +https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/88310090/Running KEITH