IBM InfoSphere Streams Version 4.1.0

Launching an active build configuration

You can launch the active build configuration in InfoSphere® Streams Studio.

About this task

A Main composite is the entry point into an SPL application. A Main composite can be tied to one or more build configurations, which describe how the application is to be built. You can designate one of the build configurations as the "active" build configuration. The active build configuration is used to build the SPL application whenever the SPL project is built. The output of this build configuration is kept up to date with the latest source code, if the auto-build option is enabled in the workspace.

The Launch option that is discussed in the following procedure conveniently runs the output of an active build configuration. It is helpful if you have more than one build configuration for a Main composite.

To launch the active build configuration from 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 Active Build Configuration.

    This command attempts to find all launch configurations that are associated with the selected Main composite and its active build configuration. It reuses existing launch configurations to run the application. If no existing launch configurations can be located, 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 active 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.