SPL Compiler

The SPL compiler is an incremental compiler that generates artifacts needed to run your stream application. These artifacts include, for example, C++ code for several entities in your SPL program and an application bundle file.

About this task

The SPL compiler analyzes changes in any application files (.spl, operator XML files, etc.), then generates and compiles any modified code. The SPL compiler must be run on a host that contains a full Teracloud® Streams product installation.

To compile an application, use the sc command and the -M, --main-composite option to specify the main composite of the application. For example, if the name of the main composite is WordCount and it resides in the my.sample namespace, then the following sc command should be used:

        sc -M  my.sample::WordCount