Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Download the KielerCompilerConsole as a runnable Java JAR archive.


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:

  • -f <filename> : Use a specific input file (and not the console)
  • -o <filename> : Use a specific output file (and not the console)
  • -v : Use verbose compilation, more error messages
  • -s: Use strict mode compilation (only apply selected transformations)

 

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.

  • No labels