IBM InfoSphere Streams Version 4.1.0

Launching a build configuration

You can launch a build configuration to run an SPL application in InfoSphere® Streams Studio.

About this task

A build configuration describes how an SPL application is to be built. Each build configuration contains an output directory where the output of the build is stored. A build configuration is a launch-able entity in Streams Studio. When launched, the launch shortcut finds the output from the build configuration and use that information to launch the SPL application. To launch a build configuration, follow this procedure:

Procedure

  1. In the Project Explorer view, select the main composite that you want to launch.
  2. Expand the main composite and you see all the build configurations that are associated with this main composite.
  3. Select and right-click one of the build configurations.
  4. From the menu, select Launch.

    The Launch attempts to find all launch configurations that are associated with the selected 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 using 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 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.

  5. In the Select a configuration to launch window, select the launch configuration to run.
  6. 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.