ui5-community / generator-ui5-project

Generator for UI5-based web-apps which use the official UI5 tooling and support multiple deployment targets such as the SAP Business Technology Platform
Apache License 2.0
33 stars 25 forks source link

fix: add destination content to mta.yaml #49 #50

Closed nicoschoenteich closed 1 year ago

nicoschoenteich commented 1 year ago

This is aiming to fix #49. I added the destination content to the mta.yaml after it is being created so that the application will be displayed in the HTML5 Application Repository in the SAP BTP Cockpit (after deployment). Unfortunately I couldn't really figure out where the mta.yaml gets created initially. There has to be some kind of way to pass the requirement of the destination content to whatever method creates the mta.yaml, because this is what happens when the selected deployment platform is the SAP Fiori Launchpad instead of SAP HTML5 Application Repository service for SAP BTP. In that case, the destination content is already there "out of the box". Anyhow, I would still consider this a decent fix for the issue.