Contents
This topic describes the Run Configuration Wizard, which is used to create a named launch configuration for running a StreamBase application. A launch configuration uses information derived from your Studio preferences and StreamBase project to launch the application, either locally or remotely.
When you run a StreamBase application, you launch an instance of StreamBase Server to host your application, and this launch occurs within a set of parameters. You can define and save one or more named sets of runtime parameters for your run sessions. You can then re-run your StreamBase application with repeatable parameters without having to specify them each time.
StreamBase Studio also provides a default set of launch parameters, which allows you to run your application right away without stopping for configuration. See Running Applications in Studio to learn about running with the default configuration.
StreamBase Studio calls a nearly identical configuration wizard from both the → and → menus. See Saving StreamBase Debug Configurations for a discussion of the Debug Configuration Wizard. See Editing Launch Configurations for details of specifying launch settings in the Run and Debug Configuration Wizards.
You can save separate sets of run and debug configurations with different names, to be used in several ways:
-
You can save one run-debug configuration for each StreamBase application.
-
You can save separate run and debug configurations for each application.
-
You can save several run configurations for any one application, to run and test it with different runtime parameters.
If you invoke → before you have saved your first launch configuration, Studio opens the Run Configuration Wizard.
Once you have named, saved, and run a launch configuration, the configuration's name becomes part of the Run menu. Thereafter, to run an application with a saved configuration, use any of the following methods:
-
Click the Eclipse Run button (
) on the
toolbar. This re-runs the last-run launch configuration.
-
Press Ctrl-F11.
-
Select → → from the top-level menu.
-
Open the Run Configuration Wizard as described below. Select the name of the launch configuration to run, and click the Run button.
Open the Run Configuration Wizard using any of the following methods:
-
If you have never saved a launch configuration, click the Eclipse Run button (
) on the toolbar.
-
Select → from the top-level menu.
-
Right-click in the Editor view canvas of your StreamBase application. From the pop-up menu, select → .
-
In the Package Explorer, right-click the name of your application's EventFlow or StreamSQL file. From the pop-up menu, select → .
If no StreamBase launch configurations have been defined, the Run Configuration Wizard looks much like the following:
Launch configurations are stored as metadata in your current Studio workspace. Thus, by default, your set of named launch configurations is common to all your StreamBase projects. However, a launch configuration includes the pathname of the individual application to be launched, so you cannot share launch configurations among StreamBase applications.
See Editing Launch Configurations to learn how to use the Run Configuration Wizard to specify launch configurations for running applications.
