Skip to content

Commit 555577f

Browse files
young-yang03Young Yang
andauthored
Cloud mta build tool document update (#1024)
* modified: docs/docs/index.md * modified: docs/docs/index.md * modified: docs/docs/index.md * modified: docs/docs/index.md * modified: docs/docs/index.md * modified: docs/docs/index.md * modified: docs/docs/index.md * modified: docs/docs/index.md Co-authored-by: Young Yang <young.yang03@sap.com>
1 parent ffc9a83 commit 555577f

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

docs/docs/index.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,13 @@ If the MTA Build Tool encounters a module type in the `mta.yaml` file that is no
3030

3131
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).
3232

33-
### <b>Creating an MTA Archive According to the MTA Deploymnet Descriptor (`mtad.yaml` file)</b>
33+
### <b>Creating an MTA Archive According to the MTA Deployment Descriptor (`mtad.yaml` file)</b>
34+
35+
The function is provided to assemble multiple modules, which are developed and prebuilt as separate projects, into one MTAR for deployment. The function is implemented by the `mbt assemble` command, which copies all modules, module required dependencies, module build artifacts, and resource definitions into an MTAR, according to the MTA Deployment Descriptor (mtad.yaml file).
36+
37+
If a module doesn’t have the `path` attribute, the assemble process skips it. If a module has the `path` attribute, but its value is invalid, the assemble process fails with the following error: `ERROR could not copy MTA artifacts to assemble: the "<path value>" path does not exist in the MTA project location`.
38+
39+
If a required dependency or resource doesn’t have the `parameters.path` attribute, the assemble process skips it. If a required dependency or resource has the `parameters.path` attribute, but its value is invalid, the assemble process fails with the following error: `ERROR could not copy MTA artifacts to assemble: the "<parameters.path value>" path does not exist in the MTA project location`.
40+
41+
For more details about how to use the MBT assemble command, see [How to build an MTA archive from the modules' build artifacts](https://github.com/SAP/cloud-mta-build-tool/blob/master/docs/docs/usage.md#how-to-build-an-mta-archive-from-the-modules-build-artifacts).
3442

35-
Under construction

0 commit comments

Comments
 (0)