Directory Structure of the Development Environment

Definition

The development environment has a fixed defined directory structure.

Use

The MaxDB_ORG directory and its subdirectories contain the original versions of the description and module files that are not changed by the development environment tools.

You change the files in the MaxDB_DEV directory (“development area”). All files that you want to change have to be copied with the icp.pl script to the development area.

The two directories MaxDB_ORG and MaxDB_DEV are created when the source text is installed. If you are calling VMAKE for the first time, VMAKE creates the corresponding subdirectories.

You use the $OWN environment variable to configure the path and, if you require, to define a different name for the MaxDB_DEV directory. If you do not define module files and description files in the MaxDB_DEV directory, but in a different location, adapt the environment variable $VMAKE_PATH (Search Hierarchy) accordingly.

Structure

MaxDB_DEV has the subdirectories sys, tmp and usr.

The sys directory is the work area. It contains the following subdirectories:

src: module files, optionally also description files

desc: description files

wrk : directory in which the MAKE operation takes place. All of the intermediate products (object files, include files) and logs are stored here.

A separate directory (fast, slow) with a similar structure exists for each of the VMAKE versions. Since include files are independent of the VMAKE version, they are stored directly below the wrk directory in the incl directory. The associated date files are stored directly below the wrk directory in the dates directory.

All of the object files and static libraries created are stored in the obj subdirectory. The date files are stored in the dates subdirectory. The psrc and csrc directories can be used as buffers for module files if the parameters for VMAKE_OPTION have been set accordingly. The module files that were translated in debug mode are stored in thedebug directory Activating Debug Mode.

The tmp directory contains temporary files for the Perl script iview.pl for displaying and editing source text files.

The usr directory contains the MaxDB programs that were created using the development environment. This directory is the future $INSTROOT directory for the MaxDB software (<dependent_path>; see Installation Manual, Directories).

Example

<myDevelopmentDirectory>
  MaxDB_DEV
    sys
      desc
      src
        ak
          vak54
    tmp

  MaxDB_ORG
    sys
      desc
      src
        ContentStorage
        Globals
        Interfaces
        Resource
        SAPDB
        ak
          gak00
          ...
          vak54
          ...
        bd
        ...