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

From version 36.1
edited by cmot
on 2014/07/16 13:25
Change comment: There is no comment for this version
To version 32.1
edited by cmot
on 2014/06/26 13:36
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -KIELER Command Line Compiler
1 +KIELER Compiler Console
Content
... ... @@ -13,20 +13,10 @@
13 13  
14 14  
15 15  
16 -== Quick Start Guide (Online Compiler) ==
16 +== Quick Start Guide ==
17 17  
18 +1. Download KIELER RCA from [[http:~~/~~/rtsys.informatik.uni-kiel.de/~~~~kieler/files/nightly/kieler/>>url:http://rtsys.informatik.uni-kiel.de/~~kieler/files/nightly/kieler/||shape="rect"]] extract it to some location x on your hard drive
18 18  1. Download the [[KielerCompilerConsole>>url:http://git.rtsys.informatik.uni-kiel.de:7990/projects/KIELER/repos/semantics/browse/standalone/KielerCompiler.jar?at=1c807c15f863b699d96d97038501663608d0f2bf&raw||shape="rect"]] ([[alternative Download>>attach:KielerCompiler.jar]]) as a runnable Java JAR archive and save it to some location y on your hard drive
19 -1. Change directory to location y, then type:
20 -
21 -
22 -{{{java -jar KielerCompiler.jar compile.sccharts.com -f somescchart.sct -o somescchart.c CODEGENERATION}}}(((
23 -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 "...").
24 -)))
25 -
26 -== Quick Start Guide (Local Compiler) ==
27 -
28 -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
29 -1. Download the [[KielerCompilerConsole>>url:http://git.rtsys.informatik.uni-kiel.de:7990/projects/KIELER/repos/semantics/browse/standalone/KielerCompiler.jar?at=1c807c15f863b699d96d97038501663608d0f2bf&raw||shape="rect"]] ([[alternative Download>>attach:KielerCompiler.jar]]) as a runnable Java JAR archive and save it to some location y on your hard drive
30 30  1. Open console window and change directory to location x, then type:
31 31  
32 32  
... ... @@ -40,7 +40,7 @@
40 40  
41 41  
42 42  
43 -== Enable the KielerCompiler HTTP Server ==
33 +== Enable the HTTP Server ==
44 44  
45 45  Before you can use the KielerCompiler.jar from the console, you need to start the KIELER RCA and activate the 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 5555. 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.
46 46  
... ... @@ -62,7 +62,7 @@
62 62  
63 63  {{{java -jar KielerCompiler.jar <host>:<port> [Options] <transformationID_1> .. <transformationID_n>}}}
64 64  
65 -In the above screenshot you see the KielerCompiler options when calling with no/too few parameters. The host or the port are mandatory parameters. By default the port **5555** is used and the default host is **localhost**. If you specify the port you do not need to specify localhost, if you specify the host you do not need to specify 5555. The following options are available:
55 +In the above screenshot you see the KielerCompiler options when calling with no/too few parameters. The host or the port are mandatory parameters. By default the port **5555** is used and the default host is **localhost**. If you secify the port you do not need to specify localhost, if you specify the host you do not need to specify 5555. The following options are available:
66 66  
67 67  * -f <filename> : Use a specific input file for the main model (and not the console)
68 68  * -i <filename> : Include additional input files that are referenced by the main model, note that the order for using multiple -i options is important: Use the order -i file1 -i file2 if file1 has references to file2 but file2 has NO references to file1!
Confluence.Code.ConfluencePageClass[0]
Id
... ... @@ -1,1 +1,1 @@
1 -10750896
1 +9471228
URL
... ... @@ -1,1 +1,1 @@
1 -https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/10750896/KIELER Command Line Compiler
1 +https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/9471228/KIELER Compiler Console