Go to main content

Developing Data Services

Exit Print View

Updated: August 2018

Directory Structure That Agent Builder Creates

Agent Builder creates a directory structure to hold all the files that it generates for the target resource type. You specify the working directory on the Create screen. You must specify separate install directories for any additional resource types that you develop. Under the working directory, Agent Builder creates a subdirectory whose name is a concatenation of the vendor name and the resource type name. For example, if you specify ORCL as the vendor name and create a resource type called ftp, Agent Builder creates a directory called ORCLftp under the working directory.

Under this subdirectory, Agent Builder creates and populates the directories that are listed in the following table.

Directory Name
For C output, contains the binary files that are compiled from the source files. For Korn shell output, contains the same files as the src directory.
Contains the RTR file. Agent Builder concatenates the vendor name and application name, separated by a period (.), to form the RTR file name. For example, if the vendor name is ORCL and the name of the resource type is ftp, the name of the RTR file is ORCL.ftp.
Contains customized man pages for the start, stop, and remove utility scripts, for example, startftp(1M), stopftp(1M), and removeftp(1M).
To view these man pages, specify the path with the man -M option. For example:
% man -M install-directory/ORCLftp/man removeftp
Contains the final Oracle Solaris package that includes the created data service.
Contains the source files that Agent Builder generates.
Contains the start, stop, and remove utility scripts that Agent Builder generates. See Utility Scripts and Man Pages That Agent Builder Creates. Agent Builder appends the application name to each of these script names, for example, startftp, stopftp, and removeftp.