on 2023 Aug 29 3:17 PM
I am working in the Deploy Your CAP Application on SAP BTP Cloud Foundry Environment | Tutorials for SAP Developers tutorial.
When I go back to the project root folder "cpapp", and start the command "mbt build -t ./", I get the following error message:
[2023-08-29 15:54:43] INFO Cloud MTA Build Tool version 1.2.24
[2023-08-29 15:54:43] INFO generating the "Makefile_20230829155443.mta" file...
Error: could not generate the "Makefile_20230829155443.mta" file: the "C:\tutorial\cpapp\mta.yaml" file is not a valid MTA descriptor: yaml: line 29: did not find expected '-' indicator
I appended the mta,yaml file as "mta.txt" here: mta.txt
I also append the two manifest.json files (from risks and mitigations).
risks-manifest.txt and mitigations-manifest.txt
Please provide the files with the proper content so that the "mbt" build will run successfully.
Best regards,
Martin
Request clarification before answering.
Hi Martin,
The error is correct, I checked line 29 of mta.txt and there is a requires section without any entries. I am not sure why this is the case in your mta, but you can see here for a fully populated mta: https://github.tools.sap/CPES/CPAppDevelopment-dev/blob/logging/mta.yaml , you could delete the mta file and generate it by following the related steps from step 5 in the tutorial: https://developers.sap.com/tutorials/btp-app-cap-mta-deployment.html#d772a0d9-5609-4c29-9232-ebde957... .
Best regards,
Mahati
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
30 | |
10 | |
8 | |
7 | |
7 | |
6 | |
6 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.