EGL Reference Guide for iSeries

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\wstools\eclipse\plugins\
    com.ibm.etools.egl.generators_version
    

    installationDir
    The WebSphere Studio installation directory, such as c:\myStudio
    version
    The installed version of the plugin; for example, 5.0.1

After you set the variable, rebuild the project.


Related tasks
Generating into a project


Related reference
genProject


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]