Setting the variable EGL_GENERATORS_PLUGINDIR

The workbench classpath variable EGL_GENERATORS_PLUGINDIR contains the fully qualified path to the EGL plug-in in the Workbench. The variable is used in the Java build path when you generate an EGL program into a project of type Java, application client, or EJB.

If you encounter a classpath error that refers to EGL_GENERATORS_PLUGINDIR, the variable may not be set. The problem occurs, for example, if you check out an EGL-related project from a software configuration management system like Concurrent Versions System (CVS) before you ever work with an EGL part.

You can set the variable by creating an EGL part, by generating EGL code, or by following these steps:

  1. Select Window, then Preferences

  2. On the Preferences page, select Java, then Classpath Variables

  3. Select New...

  4. At the New Variable Entry page, type EGL_GENERATORS_PLUGINDIR and specify the following directory:
    installationDir\egl\eclipse\plugins\
    com.ibm.etools.egl.generators_version

    installationDir

    The product installation directory, such as C:\Program Files\IBM\RSPD\6.0. If you installed and kept a Rational Developer product before installing the product that you are using now, you may need to specify the directory that was used in the earlier install.

    version

    The installed version of the plugin; for example, 6.0.0

After you set the variable, rebuild the project.

Related concepts
Generation of Java code into a project

Related reference
genProject