Entering content frame

 DirectoryMapping 

Use

DirectoryMapping is an initialization file of the VMAKE tool. This file is stored in the <path>/sys/desc directory.

VMAKE uses the second and third letters of the file name to assign module files to a layer. An alternative method of assigning module files to a layer is to use the DirectoryMapping function. This method also allows you to use longer and more meaningful file names.

File names specified with the DirectoryMapping function consist of two parts, which are linked by an underscore. The first part specifies the layer in short. The second part specifies the name of the module file.

<file_name> = <short_layer>_<module_file>

The short form is mapped to the corresponding layer in the DirectoryMapping file.

Syntax

<extra_line> = <comment_line> | (<short_layer>, <full_layer><new_line>)

General Rules

  1. The <full_layer> expression stands for the layers below <path>/sys/src/SAPDB .
  2. Lines can contain the comment character # . The subsequent text in this line is treated as a comment.
  3. The layer requires a compilation description, in which the structure of the layers, including the second last layer, is specified.

The <path>/sys/src/DirectoryMapping file contains the following entries:

# <short_layer>, <directory>
# Component SQLStudio
StudioTD, SQLStudio/TableDefinition # Table Definition

If the StudioTD_TableDef.cpp and StudioTD_Wrapper.cpp files are to be created, the compilation description TableDefinition.com must be stored under <path>/sys/desc/SAPDB/SQLStudio/ .

VMAKE searches for the StudioTD_TableDef.cpp and StudioTD_Wrapper.cpp files in the <path>/sys/src/SAPDB/SQLStudio/TableDefinition layer.

 

 

Leaving content frame