Installing The Eclipse Scripting API in a Developer Environment
You can install Eclipse Scripting API libraries and components in a separate Windows developer environment with the Eclipse Scripting API installer. The ESAPI installer installs the Eclipse Script Wizard, Eclipse Scripting API Online Help, and the DLL files needed for creating and compiling scripts. Once these components are installed, you can create and compile standalone and plug-in scripts without having the Eclipse treatment planning system installed. Executing scripts in this developer environment requires Eclipse to be installed.
Note
Do not use this installer for updating the installed Eclipse Scripting API on any clinical system. Varian prohibits the use of the installer for this purpose. Only authorized Varian service personnel is allowed to change the installation on clinical systems.
Note
ESAPI scripts only run on computers that have Eclipse installed.
Installing the Eclipse Scripting API in a developer environment has the following benefits:
- Provides easier access to the Eclipse Script Wizard and Eclipse Scripting API Online Help.
- Allows you to preview new ESAPI releases.
- Allows you to create and compile scripts on workstations that do not have Eclipse installed (as is the case with local workstations in Citrix environments).
Install The Eclipse Scripting API
- Save the installer (Varian_Eclipse_Scripting.msi) on your local computer.
- To start the installation process, double click Varian_Eclipse_Scripting.msi.
- Click Next and follow the instructions in the wizard to complete the installation.
![]() |
---|
Figure 9 Eclipse Scripting API Setup Wizard |
A folder called Varian is added to the desktop and to the Windows Start menu.
This folder contains the subfolder Eclipse Scripting API, which includes a shortcut to the Eclipse Script Wizard and to Eclipse Scripting API Online Help:
![]() |
---|
Figure 10 Folder Structure of the Installed Eclipse Scripting API |
The installer also adds libraries needed for running the Eclipse Script Wizard and for compiling ESAPI plug-in and stand-alone executable scripts.
The Eclipse Script Wizard creates Visual Studio project files that reference these libraries so that ESAPI projects can be compiled on the developer workstation where the Eclipse Scripting API is installed.