Download the KielerCompilerConsole as a runnable Java JAR archive.

Using the KielerCompiler from Console:

The KIELER Compiler Console is a pure Java program that together with a KIELER RCA allows to call the KIELER Compiler from the console. Download the KielerCompilerConsole as a runnable Java JAR archive and start it using java:

java -jar KielerCompiler.jar <host>:<port> [Options] <transformationID_1> .. <transformationID_n>

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:

Enable the TCP Server:

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 shwon 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.

Example 1:

When calling the KielerCompiler with the ABORT transformation and console output.

 

Example 2:

Using the KielerCompiler with CODEGENERATION transformation and a specific output file.

 

Example 3:

Using the KielerCompiler with a non exsiting transformation which generates an error message.