{"library":"mbt","title":"Cloud MTA Build Tool (MBT)","description":"The Cloud MTA Build Tool (MBT) is a standalone command-line interface (CLI) that streamlines the development and deployment of Multi-Target Applications (MTAs) on SAP platforms. It currently stands at version 1.2.45, with a rapid release cadence primarily focused on patch updates and minor improvements. MBT's core functionality is to transform an MTA project's artifacts, defined by `mta.yaml` or `mtad.yaml` descriptors, into a deployment-ready `.mtar` archive. Key differentiators include its comprehensive support for MTA model versions 2 and 3, granular control over build processes (e.g., single module builds, descriptor validations), and its availability as an npm package for convenient installation in Node.js environments or as a direct executable download. It aims to simplify the complex build requirements of multi-component SAP applications.","language":"javascript","status":"active","last_verified":"Sun Apr 19","install":{"commands":["npm install mbt"],"cli":{"name":"mbt","version":null}},"imports":["npm install -g mbt","mbt build","npm install -g mbt@1.2.45"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"npm install -g mbt@latest\n\n# Navigate to your MTA project directory\n# Example: A simple MTA project structure with an mta.yaml\n#   my-mta-app/\n#   ├── mta.yaml\n#   └── module-a/\n#       └── package.json\n#       └── ...\n#   └── module-b/\n#       └── ...\n\ncd my-mta-app\n\n# Validate the MTA project descriptor\nmbt validate\n\n# Build the entire MTA project, creating an .mtar file\n# The .mtar file will be generated in the current directory or specified output path.\nmbt build\n\n# Clean up build artifacts\nmbt clean\n\n# For more complex scenarios, refer to the user guide:\n# https://sap.github.io/cloud-mta-build-tool/","lang":"bash","description":"Demonstrates global installation of the Cloud MTA Build Tool and basic commands for validating and building an MTA project.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}