Welcome to the Cloud MTA Build Tool (MBT)
The Cloud MTA Build Tool is a standalone command-line tool that builds a deployment-ready
multitarget application (MTA) archive
.mtar file from the artifacts of an MTA project according to the project’s MTA
development descriptor (
mta.yaml file), or from the module build artifacts according to the MTA deployment descriptor (
The archive builder is used on a file system that is independent from the development environment where the application project was created.
The archive builder is supported on Windows and Linux operating systems.
Before using this package, you should be familiar with the multitarget application concept and terminology. For background and detailed information, see the Multi-Target Application Model guide.
Creating an MTA Archive According to the MTA Development Descriptor (
The build process and the resulting multitarget application archive depend on the target platform where the archive will be deployed. The currently supported target platforms are SAP Cloud Platform (both the Neo and Cloud Foundry environments) and the SAP HANA XS advanced model.
Each module is built using the build technology that is either associated with the module type by default or is configured explicitly. Then the results of each module's build are packaged into an archive together with the multitarget application deployment descriptor. The deployment descriptor is created based on the structure of the multitarget application project, the multitarget application development descriptor (
mta.yaml file), the extension descriptors, if they are supplied (the builder merges them with the
mta.yaml file), and the command-line options. In the deployment descriptor, the design-time modules are converted into the module types that are recognized by the respective target platforms. The resulting multitarget application archive can then be deployed on the required target platform.
For more details about how the design-time module types in the
mta.yaml file are converted into deployment time module types in the
mtad.yaml file according to the target platform, see Module types conversion.
If the MTA Build Tool encounters a module type in the
mta.yaml file that is not listed in the configuration file, its definition is copied to the
mtad.yaml file as is and the
zip builder is applied to the module (in other words, the archived module sources are packaged as the build result).
All resource definitions are passed to the
mtad.yaml file as is without mapping and validations (for example, if the resource is supported in the target platform or if the specified parameters match the type).
Creating an MTA Archive According to the MTA Deploymnet Descriptor (