You may need to provide access to non-EGL JAR files to debug and
run your EGL-generated Java™ code.
The process for providing access to those files varies by project
type:
Application client project
Before running your code perform the following steps:
For each enterprise application project that references the application
client project, import JAR files of interest from a directory in the
file system:
In the Project Explorer view, right-click an enterprise application
project and click Import.
At the Select page, click File System.
At the File System page, specify the directory in which the JAR
files reside.
At the right of the page, select the JAR files of interest.
Click Finish.
Ensure that the build path for each of the affected modules points
to the JAR files in the EAR:
Right-click on the EAR project in the Project Explorer.
Select J2EE Module Dependencies from the
context menu.
Click Add JARs and select the JAR files.
Click OK to finish.
EJB project
Before
running your code (with or without the EGL Java debugger), do as follows:
For each enterprise application project that references the EJB
project, import JAR files of interest from a directory in the file
system:
In the Project Explorer view, right-click an enterprise application
project and click Import.
At the Select page, click File System.
At the File System page, specify the directory in which the JAR
files reside.
At the right of the page, select the JAR files of interest.
Click Finish.
Update the manifest in the EJB project so that the JAR files in
the enterprise application project are available at run time:
In the Project Explorer view, right-click your EJB project and
click Properties.
At the left of the Properties page, click Java JAR
Dependencies.
When the section called Java JAR
Dependencies is displayed at the right of the page, set each check
box that corresponds to a JAR file of interest.
Click OK.
J2EE web project
Before running your code (with or without the EGL Java debugger), import the JAR files from the
file system to the following web project folder:
Web Content/WEB-INF/lib
The
import process is as follows for a set of jar files in a directory:
In the Project Explorer view, expand the web project, expand Web
Content, expand WEB-INF, right-click lib,
and click Import.
At the Select page, click File System.
At the File System page, specify the directory in which the JAR
files reside.
At the right of the page, select the JAR files of interest.