How to upload HTML5 application to the Cloud Foundry environment of SAP platform

Source: Internet
Author: User

Create a HTML5 app using Webide first. New->project from Template:

Select SAPUI5 application from the optional template:

Create a HTML5 Module, named Frontend

The following project files are created automatically.

To build this project:

After the build succeeds, export the project file locally to generate the mta1.zip.

Go to the Mta1 folder and execute the command

Java-jar Mta.jar--BUILD-TARGET=CF--mtar=jerry.mtar

Generates a command line parameter--mtar the specified file Jerry.mtar.

Finally, log in to cloud foundry using CF Login:

Use the command CF deploy Jerry.mtar to deploy the local file Jerry.mtar to the Cloud foundry:

After that, you can see the successful deployment of HTML5 applications in the cockpit of the SAP cloud Platform.

Click the hyperlink to open the app.

To get more original Jerry's technical articles, please follow the public number "Wang Zixi" or scan the QR code below:

How to upload HTML5 application to the Cloud Foundry environment of SAP platform

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.