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.
npm install mbtVerified import paths — ran on the pinned version, not inferred.
Demonstrates global installation of the Cloud MTA Build Tool and basic commands for validating and building an MTA project.
Ensure you are using a Node.js version of 11.15.0 or higher, 12.22.0 or higher, 13.14.0 or higher, or any version of Node.js v14 or later. It is highly recommended to use an actively supported LTS Node.js version (e.g., Node.js 18, 20).
For automation, execute `mbt` commands using Node.js `child_process` module (e.g., `spawn` or `exec`), ensuring proper error handling and output capture.
Always validate your `mta.yaml` using `mbt validate` or an appropriate schema validator before attempting a full build. Refer to the official MTA Model documentation for correct syntax and structure.
Run `npm install -g mbt` to install the package globally. If the issue persists, verify your system's PATH environment variable includes the directory where npm installs global executables (e.g., `~/.npm-global/bin` or `/usr/local/bin`).
Upgrade your Node.js runtime to a compatible version (e.g., Node.js 11.15.0+, 12.22.0+, 13.14.0+, or any Node.js 14+). Check `node -v` to confirm your active Node.js version.
Carefully review the error messages provided by `mbt validate` or `mbt build`. Correct any syntax errors, ensure all referenced modules and resources exist, and align the descriptor with the MTA model specification.
No dependency data recorded yet.