EGL Reference Guide for iSeries


EGL build-file format

The structure of a .eglbld file is as follows:

   <?xml version="1.0" encoding="UTF-8"?>
   <!DOCTYPE EGL PUBLIC "-//IBM//DTD EGL 5.1//EN" "">
   <EGL>
     <!-- place your import statements here -->
     <!-- place your parts here -->
   </EGL>

Your task is to place import statements and parts inside the <EGL> element.

You specify <import> elements to reference the file containing the next build descriptor in a chain or to reference any of the build parts referenced by a build descriptor. An example of an import statement is as follows:

  <import file="myBldFile.eglbld"/>

You declare parts from this list:

A simple example is as follows:

  <EGL>
    <import file="myBldFile.eglbld"/>
    <BuildDescriptor name="myBuildDescriptor"
      genProject="myNextProject"
      system="WIN"
      J2EE="NO"
      genProperties="GLOBAL"
      genDataTables="YES"
      dbms="DB2"
      sqlValidationConnectionURL="jdbc:db2:SAMPLE"
      sqlJDBCDriverClass="COM.ibm.db2.jdbc.app.DB2Driver"
      sqlDB="jdbc:db2:SAMPLE"
    </BuildDescriptor>
  </EGL>

You can review the build-file DTD, which is in the following subdirectory:

installationDir\wstools\eclipse\plugins\
com.ibm.etools.egl_version\dtd
installationDir
The WebSphere Studio installation directory, such as c:\myStudio
version
The installed version of the plugin; for example, 5.1.2

The file name (like egl_5_1.dtd) begins with the letters egl and an underscore.


Related concepts
Import
Parts


Related tasks
Creating an EGL source file


Related reference
EGL editor


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