Scripting Integration in Eclipse

Script Engines

EASE script engines integrate

The first 2 methods will automatically create a launch configuration and execute the script right away. In some cases, you will want to adjust the launch parameters or specify additional arguments. Therefore you have to choose the third option.

How to create a launch configuration:

  1. Select Opens the Run Launch Configurations dialog Run > Run Configurations... or Opens the Debug Launch Configurations dialog Run > Debug Configurations... from the workbench menu bar.
  2. This opens a dialog that lets you create, modify, and delete launch configurations of different types.
  3. Select EASE Script in the left hand list of launch configuration types, and press the New button in the toolbar. This will create a new launch configuration for a script. The tabs on the right hand side allow you control specific aspects of the launch.

For other tabs see Java Launch Configuration.

Executing within the Script Shell

The script shell view allows to execute script file by using the include command. You may either type it in or directly drag and drop the file into the shell. As scripts are included, they are not spawned as a separate thread and run in the context of th script shell view. Therefore they have full access to the current variable stack. They also will block the shell until execution is terminated.

Executing scripts from Script Explorer

Scripts fetched from script locations are visible within the Script Explorer view. There they can be executed by a double click and spawn as a separate thread, similar to an EASE Script launch configurations