Skip to Content

Angular on SCP with WebIDE

Dear Experts,

Our customer wants to use Angular JS for their applications on SAP Cloud Platform. They are using gulp to build the projects. I could successfully deploy one of their projects in SCP following these steps:

1. Angular JS development locally (Sublime for example). For webservice endpoints using SAP Cloud Platform Destinations.

2. Creating a WebIDE UI5 project. Configuring a neo-app.json as if it's a normal UI5 application.

3. Running gulp build for the local Angular project

4. Copying gulp build results under WebIDE webapp folder

5. Deploying WebIDE project

With these steps I could deploy the project successfully and even call webservices using SCP destinations and the User API. As you can see in the steps it is a bit time consuming for the developers to run the gulp build locally and copy the results every time in WebIDE. So I am asking myself how to optimize this process.

- Can I deploy an HTML5 application without using WebIDE?

- Can I run gulp on WebIDE somehow?

Happy to hear your opinions and suggestions.

PS: I have tried to run the whole thing in Eclipse and deploy as a Java Application. But calling UserAPI and using destinations were not possible.



Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Aug 23, 2017 at 03:46 PM

    you can use HANA studio / eclipse with the right plug ins to connect to your SCP (or trial) account

    I am not sure if gulp runs on the webide, I have use it on my desktop and then go from there. I explained something similar here

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 31, 2017 at 02:06 PM

    Hi Koray,

    Check the new version of Web IDE - Multi-cloud version of Web IDE. It supports Gruntt build and many more options.

    Regarding Angular JS, there is a tutorial already by SAP on building it. If you have not looked at it earlier, the link is pasted below:

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.