IBM InfoSphere Streams Version 4.1.0

Launching a Main composite

You can launch a Main composite in InfoSphere® Streams Studio.

About this task

A Main composite is the entry point to an SPL application. A Main composite can be tied to one or more build configurations, which describe how the application is to be built. A Main composite can be launched in the Project Explorer with the Launch menu option. A Main composite is launch-able if it has at least one build configuration, and it can be built successfully. To run a Main composite, follow this procedure:

Procedure

  1. In the Project Explorer view, select and right-click the Main composite that you want to launch.
  2. From the menu, select Launch.

    The Launch command attempts to find all launch configurations that are associated with the selected Main composite and its build configuration and reuses existing launch configurations to run the application. If no existing launch configuration can be found, then a new launch configuration is created. The generated launch configuration is named with the following naming convention: <Project>-<namespace>__<main composite name>-<distributedOrStandalone>.

    If the Always Prompt option is enabled in the launch configuration, you are presented with the Launch Configuration window, which you can use to change the launch options before launching. If you change options, you must save them when prompted. If you do not save them, the launch proceeds with the previous values. The changes are saved in the launch configuration. If this option is disabled, then you are presented only with the Launch Configuration window if the launch configuration contains errors.

    If more than one launch configuration is found for the selected build configuration, you are prompted to select a launch configuration to run.

  3. In the Select a configuration to launch window, select the launch configuration to run.
  4. Click OK.

    The selected launch configuration is used to run the application. You can see information about the launch in the Streams Studio Console from the Console view.