EGL Reference Guide for iSeries

EGL project

An EGL project is characterized by a set of properties, which are described later. In the context of an EGL project, EGL automatically performs validation and resolves part references when you perform certain tasks; for example, when you save an EGL file or build file. In addition, if you are working with page handler parts (the output of which is used to debug Web applications in the Websphere test environment), EGL automatically generates output, but only in this case:

An EGL project is formed by selecting EGL or EGL Web as the project type when you create a new project. You assign properties while working through the steps of project creation. To begin modifying your choices after you have completed those steps, right-click the project name and when a context menu is displayed, click Properties.

The EGL properties are as follows:

EGL source folder
One or more project folders that are the roots for the project's packages, each of which is a set of subdirectories. A source folder is useful for keeping EGL source separate from Java files and for keeping EGL source files out of the Web deployment directories. It is recommended that you specify EGL source folders in all cases; but if a source folder is not specified, the only source folder is the project directory.

The value of this property is stored in a file named .eglpath in the project directory and is saved in the repository (if any) that you use to store EGL files.

The EGL project wizards each create one source folder named EGLSource.

EGL build path
The list of projects that are searched for any part that is not found in the current project.

The value of this property is stored in a file named .eglpath in the project directory and is saved in the repository (if any) that you use to store EGL files.

In the following example of an .eglpath file, EGLSource is a source folder in the current project, and AnotherProject is a project in the EGL path:

  <?xml version="1.0" encoding="UTF-8"?>
  <eglpath>
    <eglpathentry kind="src" path="EGLSource"/>
    <eglpathentry kind="src" path="\AnotherProject"/>
  </eglpath>

The source folders for AnotherProject are determined from the .eglpath file in that project.

Default build descriptors
The build descriptors that allow you to generate output quickly, as described in Generation in the workbench.


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