Setting the variable EGL_GENERATORS_PLUGINDIR
The workbench classpath variable EGL_GENERATORS_PLUGINDIR contains the fully qualified path to the EGL plugin in the workbench. The variable is used in the Java™ build path when you generate an EGL program into a Java™ project, Enterprise Java™ Bean (EJB) project, or application client project.
Usually the variable will be set automatically if you create EGL source code in your own workspace, or if you generate EGL source code in your workspace (even if you got that source code from somewhere else, such as a repository). If you encounter a classpath error that refers to EGL_GENERATORS_PLUGINDIR, the variable may not be set yet. For example, this problem can occur if you check out an EGL project from a software configuration management system like Concurrent Versions System (CVS) before you ever work with an EGL part.
- Select .
- On the Preferences page, expand , and then select Classpath Variables.
- Select New.
- At the New Variable Entry page, type EGL_GENERATORS_PLUGINDIR and
specify the following directory:
shared_resources\plugins\com.ibm.etools.egl.java.runtime_version- shared_resources
- The shared resources directory for your product, such as
C:\Program Files\IBM\SDP70Sharedon a Windows™ system or/opt/IBM/SDP70Sharedon a Linux™ system. If you installed and kept a previous version of an IBM® product containing EGL before installing your current product, you may need to specify the shared resources directory that was set up in the earlier installation. - version
- The installed version of the plugin. If more than one is present, use the one with the most recent version number, unless you have a reason to use an older version.
After you set the variable, build the project.