<
From version < 9.1 >
edited by cmot
on 2014/06/09 19:39
To version < 10.1 >
edited by cmot
on 2014/06/10 10:24
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,7 +1,9 @@
1 +[[image:attach:KiCoConsole1.jpg]]
2 +
1 1  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
2 2  
3 -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"]] as a runnable Java JAR archive and
4 -1. Enable the TCP Server in the KIELER RCA.
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"]] as a runnable Java JAR archive and run it.
5 5  
6 6  In the following we describe the details for both, the enabling of the TCP server and the possible command line calls of KiCo from the console.
7 7  
... ... @@ -9,9 +9,24 @@
9 9  
10 10  {{toc/}}
11 11  
12 -== Using the KielerCompiler from Console
13 -[[image:attach:KiCoConsole1.jpg]] ==
14 +
14 14  
16 +== Enable the TCP Server ==
17 +
18 +Before you can use the KielerCompiler.jar from the console, you need to start the KIELER RCA and activate the TCP 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.
19 +
20 +[[image:attach:KiCoConsole0.jpg]]
21 +
22 +=== Non-GUI TCP Server ===
23 +
24 +Alternatively (after you configured the port) you can start the KiCo TCP Server via command line:
25 +
26 +{{{kieler -application de.cau.cs.kieler.kico.web.server -noExit}}}
27 +
28 +This will start a background process with the KIELER Compiler TCP Server.
29 +
30 +== Using the KielerCompiler from Console ==
31 +
15 15  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"]] as a runnable Java JAR archive and start it using java:
16 16  
17 17  {{{java -jar KielerCompiler.jar &#x3c;host&#x3e;:&#x3c;port&#x3e; [Options] &#x3c;transformationID_1&#x3e; .. &#x3c;transformationID_n&#x3e;}}}
... ... @@ -23,14 +23,10 @@
23 23  * -v : Use verbose compilation, more error messages
24 24  * -s: Use strict mode compilation (only apply selected transformations)
25 25  
26 -== Enable the TCP Server ==
43 +== Examples ==
27 27  
28 -Before you can use the KielerCompiler.jar from the console, you need to start the KIELER RCA and activate the TCP 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.
45 +=== Example 1 ===
29 29  
30 -[[image:attach:KiCoConsole0.jpg]]
31 -
32 -== Example 1 ==
33 -
34 34  [[image:attach:KiCoConsole2.jpg]]
35 35  
36 36  When calling the KielerCompiler with the ABORT transformation and console output.
... ... @@ -37,14 +37,14 @@
37 37  
38 38  
39 39  
40 -== Example 2
41 -[[image:attach:KiCoConsole3.jpg]] ==
53 +=== Example 2
54 +[[image:attach:KiCoConsole3.jpg]] ===
42 42  
43 43  Using the KielerCompiler with CODEGENERATION transformation and a specific output file.
44 44  
45 45  
46 46  
47 -== Example 3
48 -[[image:attach:KiCoConsole4.jpg]] ==
60 +=== Example 3
61 +[[image:attach:KiCoConsole4.jpg]] ===
49 49  
50 50  Using the KielerCompiler with a non exisiting transformation which generates an error message.
Confluence.Code.ConfluencePageClass[0]
Id
... ... @@ -1,1 +1,1 @@
1 -9470932
1 +9470934
URL
... ... @@ -1,1 +1,1 @@
1 -https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/9470932/KIELER Compiler Console
1 +https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/9470934/KIELER Compiler Console