Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Download KIELER RCA from http://rtsys.informatik.uni-kiel.de/~kieler/files/nightly/kieler/ extract it to some location x on your hard drive
  2. Download the KielerCompilerConsole (alternative Download) as a runnable Java JAR archive and save it to some location y on your hard drive
  3. Open console window and change directory to location x, then type:
    kieler -application de.cau.cs.kieler.kico.server.headless -noExit -p 5555 &
  4. Change directory to location y, then type:
    java -jar KielerCompiler.jar 5555 -f somescchart.sct -o somescchart.c CODEGENERATION

    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 "...").

 

Enable the KielerCompiler HTTP Server

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.

...