Skip to Content
0

deploying a html5 module in HANA XSA

Feb 26 at 08:49 AM

56

avatar image
Former Member

I referred the tutorial

https://www.sap.com/india/developer/tutorials/xsa-html5-module.html

and created a module as described and tried to deploy the mtar in the XSA on premise.

I get the error as

Error merging descriptors: Unsupported module type "html5" for platform type "XSA" Unsupported module type "html5" for platform type "XSA" ERR Error merging descriptors: Unsupported module type "html5" for platform type "XSA" Unsupported module type "html5" for platform type "XSA"

The mtad.yml file looked like this

_schema-version: "2.0.0" ID: com.sap.myapp version: "1.1.1" modules: - name: html5only type: html5 path: web

whereas the same packaging structure works for a node js application when bundled with node js libraries and using

_schema-version: "2.0.0" ID: com.sap.myapp version: "1.1.1" modules: - name: html5only type: javascript.nodejs path: web

I wish to know, why this error occurs and what is the correct way to deploy a html5 module in XSA.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Lucia Subatin
Feb 27 at 12:04 AM
1

That tutorial is based on Web IDE (on premise) and uses mta.yaml, which has a different specification than the mtad.yaml file for CLI-based development.

The specification for the mtad.yaml file is here and shows using javascript.nodejs is correct:

https://help.sap.com/viewer/4505d0bdaf4948449b7f7379d24d0f0d/2.0.01/en-US/4050fee4c469498ebc31b10f2ae15ff2.html

That tutorial will not help with your approach unless you use SAP Web IDE for SAP HANA.

Share
10 |10000 characters needed characters left characters exceeded