Generated Project Files

Section - TM Design Tool

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:

where:

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\m0

By 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\m0

Generated 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:

  1. The definition of the transformation required (the project).
  2. The Java source .java files generated from the project.
  3. The compiled Java .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: