Skip to Content
0
Aug 23, 2017 at 02:49 PM

Angular on SCP with WebIDE

956 Views Last edit May 26, 2020 at 02:53 PM 2 rev

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.

Regards,

Koray