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

installationDir

The product installation directory, such as C:\Program Files\IBM\RSPD\6.0. If you installed and kept a Rational Developer product before installing the product that you are using now, you may need to specify the directory that was used in the earlier install.

version

The installed version of the plugin; for example, 6.0.0

The file name (like egl_wssd_6_0.dtd) begins with the letters egl and an underscore. The characters wssd refer to Rational Web Developer and Rational Application Developer; the characters wsed refer to Rational Application Developer for z/OS; and the characters wdsc refer to Rational Application Developer for iSeries.

Related concepts
Import
Parts

Related tasks
Creating an EGL source file

Related reference
EGL editor