Last modified by cmot on 2023/09/11 16:16

From version 13.1
edited by cmot
on 2016/11/14 15:28
Change comment: There is no comment for this version
To version 5.1
edited by cmot
on 2014/06/26 13:39
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -KIELER Command Line Rendering
1 +KIELER KLighD Console Diagram Rendering
Parent
... ... @@ -1,1 +1,0 @@
1 -Kieler Compiler
Content
... ... @@ -1,10 +1,9 @@
1 -(% class="confluence-link" %)
2 -[[image:http://rtsys.informatik.uni-kiel.de/confluence/download/attachments/9471221/klighd.png?version=1&modificationDate=1403781377000&api=v2||class="confluence-link"]]
1 +[[image:attach:klighd.png]]
3 3  
4 4  The KIELER KLighD Console Diagram Renderer is a pure Java program that together with a KIELER RCA allows to call the KIELER KLighD Rendering for model diagrams from the console. For using the KIELER Console Rendering you need to
5 5  
6 6  1. Enable the KLighD HTTP Server in the KIELER RCA and
7 -1. Download [[KLighD>>url:http://git.rtsys.informatik.uni-kiel.de:7990/projects/KIELER/repos/semantics/browse/standalone/KLighD.jar||shape="rect"]] ([[alternative download>>attach:KLighD.jar]]) as a runnable Java JAR archive and run it.
6 +1. Download [[KLighD>>url:http://git.rtsys.informatik.uni-kiel.de:7990/projects/KIELER/repos/semantics/browse/standalone/KLighD.jar||shape="rect"]] ([[alternati>>attach:KIELER Compiler Console@KielerCompiler.jar]][[ve Download>>attach:KIELER Compiler Console@KielerCompiler.jar]]) as a runnable Java JAR archive and run it.
8 8  
9 9  In the following we give a short quick start guide and describe the details for both, the enabling of the HTTP server and the possible command line calls of KiCo from the command line:
10 10  
... ... @@ -14,20 +14,10 @@
14 14  
15 15  
16 16  
17 -== Quick Start Guide (Online Rendering) ==
16 +== Quick Start Guide ==
18 18  
19 -1. Download [[KLighD>>url:http://git.rtsys.informatik.uni-kiel.de:7990/projects/KIELER/repos/semantics/browse/standalone/KLighD.jar||shape="rect"]] ([[alternative download>>attach:KLighD.jar]]) as a runnable Java JAR archive and save it to some location y on your hard drive
20 -1. Change directory to location y, then type:
21 -
22 -
23 -{{{java -jar KLighD.jar render.sccharts.com -f somescchart.sct -o somescchart.c CORE}}}(((
24 -where somescchart.sct must be a valid SCChart modeled with the KIELER SCCharts editor. You should find the generated c code in the file somsschart.c. Be sure that somescchart.sct is also located in directory y (or give the full path in "...").
25 -)))
26 -
27 -== Quick Start Guide (Local Rendering) ==
28 -
29 -1. Download KIELER RCA from [[http:~~/~~/rtsys.informatik.uni-kiel.de/~~~~kieler/files/nightly/sccharts/>>url:http://rtsys.informatik.uni-kiel.de/%7Ekieler/files/nightly/sccharts/||shape="rect"]] extract it to some location x on your hard drive
30 -1. Download [[KLighD>>url:http://git.rtsys.informatik.uni-kiel.de:7990/projects/KIELER/repos/semantics/browse/standalone/KLighD.jar||shape="rect"]] ([[alternative download>>attach:KLighD.jar]]) as a runnable Java JAR archive and save it to some location y on your hard drive
18 +1. Download KIELER RCA from [[http:~~/~~/rtsys.informatik.uni-kiel.de/~~~~kieler/files/nightly/kieler/>>url:http://rtsys.informatik.uni-kiel.de/%7Ekieler/files/nightly/kieler/||shape="rect"]] extract it to some location x on your hard drive
19 +1. Download [[KLighD>>url:http://git.rtsys.informatik.uni-kiel.de:7990/projects/KIELER/repos/semantics/browse/standalone/KLighD.jar||shape="rect"]] ([[alternati>>attach:KIELER Compiler Console@KielerCompiler.jar]][[ve Download>>attach:KIELER Compiler Console@KielerCompiler.jar]]) as a runnable Java JAR archive and save it to some location y on your hard drive
31 31  1. Open console window and change directory to location x, then type:
32 32  
33 33  
... ... @@ -41,9 +41,9 @@
41 41  
42 42  
43 43  
44 -== Enable the KLighD HTTP Server ==
33 +== Enable the HTTP Server ==
45 45  
46 -Before you can use KLighD.jar from the console, you need to start the KIELER RCA and activate the KLighD HTTP Server. This is done using the button at 1. shown in the screenshot below. After downloading the KIELER SCCharts RCA (as descibed in the paragraph before), activate the sever as illustrated in the figure below. When pressing it the windows shown at 2. is displayed and allows to enable or disable the server and also to modify the default port of 4444. Whenever the server was enabled and is started, you will see its job running at 3. in the lower region of the KIELER RCA. When you enabled the server in previous runs of the KIELER RCA it will automatically started when you run KIELER again.
35 +Before you can use KLighD.jar from the console, you need to start the KIELER RCA and activate the KLighD HTTP Server. This is done using the button at 1. shown in the screenshot below. When pressing it the windows shown at 2. is displayed and allows to enable or disable the server and also to modify the default port of 4444. Whenever the server was enabled and is started, you will see its job running at 3. in the lower region of the KIELER RCA. When you enabled the server in previous runs of the KIELER RCA it will automatically started when you run KIELER again.
47 47  
48 48  [[image:attach:klighd2.png]]
49 49  
... ... @@ -59,7 +59,7 @@
59 59  
60 60  == Using  KLighD.jar from Console ==
61 61  
62 -Download the  [[KLighD>>url:http://git.rtsys.informatik.uni-kiel.de:7990/projects/KIELER/repos/semantics/browse/standalone/KLighD.jar||shape="rect"]] ([[alternative download>>attach:KLighD.jar]]) as a runnable Java JAR archive and start it using java:
51 +Download the  [[KLighD>>url:http://git.rtsys.informatik.uni-kiel.de:7990/projects/KIELER/repos/semantics/browse/standalone/KLighD.jar||shape="rect"]] ([[alternati>>attach:KIELER Compiler Console@KielerCompiler.jar]][[ve Download>>attach:KIELER Compiler Console@KielerCompiler.jar]]) as a runnable Java JAR archive and start it using java:
63 63  
64 64  {{{java -jar KLighD.jar <host>:<port> [Options] }}}
65 65  
KLighD.jar
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
Size
... ... @@ -1,1 +1,0 @@
1 -11.7 KB
Content
klighd.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
Size
... ... @@ -1,1 +1,0 @@
1 -29.2 KB
Content
klighd2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
Size
... ... @@ -1,1 +1,0 @@
1 -55.2 KB
Content
Confluence.Code.ConfluencePageClass[0]
Id
... ... @@ -1,1 +1,1 @@
1 -9471221
1 +9471231
URL
... ... @@ -1,1 +1,1 @@
1 -https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/9471221/KIELER Command Line Rendering
1 +https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/9471231/KIELER KLighD Console Diagram Rendering