After you design the model files using the UNICOM® Digital Transformation Toolkit (UDTT™) tools, you can use build function to generate the related runtimes files. Following are the detailed relationship of the model files and runtime files:
▪ Global model (data dictionary, etc.) -> global runtime XML
UDTT supports two levels of building tasks:
▪ Building files and directory/subdirectory structures on a single call
▪ Building a whole UDTT project
There are two ways to build a UDTT project:
▪ Interactive mode: you can invoke the build task from the development environment. This mode is appropriate for debugging situation to verify the medium result about runtime. It is also necessary in situations where new model files have just been added to a project without their runtime counterparts, for example as a result of a user-originated file copy operation.
▪ Non-interactive mode: you can invoke the building APIs in your build script. This mode is appropriate for project-level situation to execute the automated build.
Project Build in Interactive Mode
File-level building is automatically executed silently when saving a model file: whenever the user saves a model file, the related runtime files will be generated.
You can invoke the building APIs in your build process. You need to import btttbpers.jar from<toolkit_root>\plugins\tooling\com.ibm.btt.tools.perspective.0 directory.