When you select the Build menu option in Transformation Manager (TM), the system analyses the transformation statements and source and target models and then generates the files necessary to create programs to perform the transformations required.
Note that the directories containing generated files should be regarded as TM’s property; no other files should be placed in these directories, and files in these directories should not be edited. Most files are deleted and recreated whenever the Build operation is performed. The information in this section is provided to assist you when identifying the files required to deploy completed transformation programs.
Locations
The generated files are written to a subdirectory of the TM installation directory:
<install_dir>\com\prismt\transform\transforms\<project>\<major>\<minor>where:
<install_dir> is the path to the TM installation<project> is the name entered when the project was created in the TM Design Tool<major> is the major version number (as generated by TM Design Tool)
preceded by an upper-case ‘V’ (for example, V1)<minor> is the minor version number (as generated by TM Design Tool)
preceded by a lower-case ‘m’ (for example, m0)For example, the generated files for the first version of a project called
ErrorTrapping would be stored in the following directory on a Windows
system:
<install_dir>\com\prismt\transform\transforms\ErrorTrapping\V1\m0
This directory contains individual Java source and compiled .class files, plus
the <project_name>.jar file that is actually required for running the
transformation.
Note In order to help organise related projects, a full stop in a
project name is converted to a directory separator character (a slash / on Unix
and a backslash \ on Windows) when the generated programs are saved. For
example, the generated files for the first version of a project called
Ch2.Sec1.Project1 would be stored in the following directory on a Windows
system:
<install_dir>\com\prismt\transform\transforms\Ch2\Sec1\Project1\V1\m0By way of a contrast the generated files for the first version of a
project called Ch2.Sec1.Project1 would be stored in the following
directory on a Windows system:
<install_dir>\com\prismt\transform\transforms\Ch2\Sec1\Project1\V1\m0Generated File Types
There are essentially three sets of files generated for any one project, but they are all stored in the same location (see above). They correspond to the three steps in creating a transformation program:
.java files generated from the project..class files which can be run to perform the
transformation.The numbers and sizes of the files generated vary naturally depending on the type and complexity of the transformation to be performed. Certain files are always generated; others may only be created in particular circumstances.
The files indicated with an asterisk * are the ones that must be copied when the finished transformation project is to be deployed. Those files are: