The structure of a .eglbld file is as
follows:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE EGL PUBLIC "-//IBM Corporation, Inc.//DTD EGL Build Parts 6.0//EN" "">
<EGL>
<!-- place your import statements here -->
<!-- place your parts here -->
</EGL>
Specify
<import> statements to enable
the current build file to refer to parts in other build files. For
example, if the next build descriptor in a chain, or another build
part that is referred to by a build descriptor option, is in a different
build file, you must include an
<import> statement
to point to the other build file. An example of an
<import> statement
is as follows:
<import file="myBldFile.eglbld"/>
You declare parts from this list:
- <BindControl>
- <BuildDescriptor>
- <LinkEdit>
- <LinkageOptions>
- <ResourceAssociations>
The following is a simple example:
<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 at the following location:
shared_resources\plugins\
com.ibm.etools.edt.common_version\dtd\egl_6_0.dtd
- shared_resources
- The shared resources directory for your product, such as C:\Program
Files\IBM\SDP70Shared on a Windows system
or /opt/IBM/SDP70Shared on 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.
The location of this DTD file should be all on one
line.