| ... |
... |
@@ -3,7 +3,7 @@ |
| 3 |
3 |
The KIELER Compiler Console is a pure Java program that together with a KIELER RCA allows to call the KIELER Compiler from the console. For using the KIELER Compiler Console you need to |
| 4 |
4 |
|
| 5 |
5 |
1. Enable the TCP Server in the KIELER RCA and |
| 6 |
|
-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 run it. |
|
6 |
+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"]] ([[alternati>>attach:KielerCompiler.jar]][[ve Download>>attach:KielerCompiler.jar]]) as a runnable Java JAR archive and run it. |
| 7 |
7 |
|
| 8 |
8 |
In the following we give a short quick start guide and describe the details for both, the enabling of the TCP server and the possible command line calls of KiCo from the command line: |
| 9 |
9 |
|
| ... |
... |
@@ -20,11 +20,11 @@ |
| 20 |
20 |
1. Open console window and change directory to location x, then type: |
| 21 |
21 |
|
| 22 |
22 |
|
| 23 |
|
-{{{kieler -application de.cau.cs.kieler.kico.web.server -noExit -p 5555 &}}} |
|
23 |
+{{{kieler -application de.cau.cs.kieler.kico.server.headless -noExit -p 5555 &}}} |
| 24 |
24 |
1. Change directory to location y, then type: |
| 25 |
25 |
|
| 26 |
26 |
|
| 27 |
|
-{{{java -jar KielerCompiler.jar 5555 -f somescchart.sct -o somesschart.c CODEGENERATION}}}((( |
|
27 |
+{{{java -jar KielerCompiler.jar 5555 -f somescchart.sct -o somescchart.c CODEGENERATION}}}((( |
| 28 |
28 |
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 "..."). |
| 29 |
29 |
))) |
| 30 |
30 |
|
| ... |
... |
@@ -40,9 +40,9 @@ |
| 40 |
40 |
|
| 41 |
41 |
Alternatively (after you configured the port) you can start the KiCo TCP Server via command line: |
| 42 |
42 |
|
| 43 |
|
-{{{kieler -application de.cau.cs.kieler.kico.web.server -noExit [-p <port>]}}} |
|
43 |
+{{{kieler -application de.cau.cs.kieler.kico.server.headless -noExit [-p <port>] [-d]}}} |
| 44 |
44 |
|
| 45 |
|
-This will start a background process with the KIELER Compiler TCP Server. Optionally you can specify a (new) listening port for the TCP server using "-p <port>" or "–port <port>",e.g. "-p 5555". |
|
45 |
+This will start a background process with the KIELER Compiler TCP Server. Optionally you can specify a (new) listening port for the TCP server using "-p <port>" or "–port <port>",e.g. "-p 5555". The option -d or ~-~-debug enables the debug mode with verbose debug output messages. |
| 46 |
46 |
|
| 47 |
47 |
|
| 48 |
48 |
|
| ... |
... |
@@ -54,7 +54,8 @@ |
| 54 |
54 |
|
| 55 |
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: |
| 56 |
56 |
|
| 57 |
|
-* -f <filename> : Use a specific input file (and not the console) |
|
57 |
+* -f <filename> : Use a specific input file for the main model (and not the console) |
|
58 |
+* -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! |
| 58 |
58 |
* -o <filename> : Use a specific output file (and not the console) |
| 59 |
59 |
* -v : Use verbose compilation, more error messages |
| 60 |
60 |
* -s: Use strict mode compilation (only apply selected transformations) |
| ... |
... |
@@ -106,7 +106,7 @@ |
| 106 |
106 |
Generate C code |
| 107 |
107 |
))) |
| 108 |
108 |
)))|((( |
| 109 |
|
-In order to get other transformation IDs you can use the KIELER Compiler Selection View. It will show the transformation ID for each transformation or transformation group as a tooltip text that woll show up if you place and hold the mouse over the transformation node as shown below: |
|
110 |
+In order to get other transformation IDs you can use the KIELER Compiler Selection View. It will show the transformation ID for each transformation or transformation group as a tooltip text that will show up if you place and hold the mouse over the transformation node as shown below: |
| 110 |
110 |
|
| 111 |
111 |
[[image:attach:TRANSFORMATIONIDs.jpg]] |
| 112 |
112 |
))) |