Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
Mattias
Active Participant

After reading Matthias Vachs excellent blog post Using an open source based development infrastructure with SAP HANA Cloud Platform I decided to play around with the tools mentioned in his blog post. The result of this is a SAP UI5 Application available on GitHub, that you can use as starting point for your ventures into Continuos Integration.

In part one of this blog series we will focus on getting the project up and running on our local Hana Cloud Server, subsequent parts will deal with setting up an environment for Continues Delivery.

The Project

To get started with contninuous delivery on the SAP HANA Cloud Platform we will start by cloning and building a simple SAP UI5 project, SAPUI5 for Maven, or UI5MVN. The project is meant to be used as a starting point for Hana Netweaver Cloud development, and the focus has been to streamline the development process with the help of best of breed open source tools.

  • Source Versioning is with GitHUB

  • Maven is used as dependency and build tool
  • The project is editor agnostic, but it has been tested using Eclipse

Prerequisites

Installation

  1. Make sure you have all prerequisits installed and setup.
  2. Clone the project from the git repository to a directory of your choice.

  3. git clone https://github.com/matt1as/SapUI5-for-Maven




  4. Change into the directory SAPUI5-for-maven
  5. Rename or copy the following files:
    • pom.xml.local to pom.xml
    • nwcloud.properties to nwcloud.properties.local
    • src/main/destinations/Gateway.local to src/main/destinations/Gateway
  6. Edit the property <nw.cloud.sdk.path> in pom.xml to point to your local SAP Hana Cloud Platform SDK
  7. Edit the following properties in nwcloud.properties
    • sdk.dir - to point to your local SAP Hana Cloud Platform SDK
    • account - your Hana Cloud Platform account
    • user - your Hana Cloud Platform user
    • password - Your Hana Cloud Platform password
  8. Edit your username and password in src/main/destinations/Gateway
  9. Build and install using maven

    mvn clean install



  10. Deploy to your local Hana Cloud Server

    mvn nwcloud:deploy-local




  11. Start your local Hana Cloud Server

    mvn nwcloud:start-local




  12. Browse to the start page

    http://localhost:8080/SapUI5-for-Maven/




After completing these steps you should have a simple SAP UI5 application up and running, the application connects to the SAP Gateway Demo system and retrieves a list of Products. By clicking on this product you get some more details about the product.

In part two we will focus on setting up the development environment, using Eclipse and the Eclipse file sync plugin.

1 Comment
Labels in this area