You can write a CatalogGeneration task to generate a Catalog file for a Data Object Service in an ABL Web App project.
Task-level properties and elements:
Name
Description
srcdir
Specifies the location of the ABL Web App project.
dlc
Specifies the location of your OpenEdge installation.
verbose
(Optional) Enables the verbose mode. The valid values are true, false, on, off, yes, and no.
Note: By default, the value is set to false.
serviceName
Specifies the name of the service.
resources
Specifies a comma-separated list of resources (classes and procedures) associated with the Data Object Service.
Note: Make sure to specify at least one resource and the resources must be accurately annotated.
destdir
(Optional) Specifies the destination directory where the Catalog file is generated.
resources element
Contains a set of ABL source files that are required to generate the Catalog file. You can configure this element using pathelement or fileset elements.
Note: For more information on pathelement or fileset elements, refer to the Apache Ant documentation.
dbinfo element
Contains the database connection details that the catalog generation task depends on. Each dbinfo element is considered a single database connection information.
Name
Description
name
Specifies the name of the database or the database file with its full path, for example, sports2000 or C:\OpenEdge\WRK114\sports2000.db.
host
(Optional) Specifies the host name, for example, localhost.
port
(Optional) Specifies the server port or service name.
userId
(Optional) Specifies the user ID that you use to log in to the database.
password
(Optional) Specifies the password that you use to log in to the database.
Note: Make sure that the server and database is running when you run the ANT task.
Here is a sample build.xml file for Data Object Service catalog generation: