Continuous Integration with the SAP HANA Cloud Platform – Part 1
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.
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
Java 7 or later – get it from http://www.oracle.com/technetwork/java/javase/downloads/index.html
GIT – get it from Set Up Git – GitHub Help
Maven – get it from http://maven.apache.org/
SAP Hana Cloud Platform SDK – get it from https://tools.hana.ondemand.com/#cloud
Hana Cloud Platform trial account – get it from https://account.hanatrial.ondemand.com/
Hana Cloud Maven Plugin – get it at https://github.com/SAP/cloud-maven-plugin
- Make sure you have all prerequisits installed and setup.
- Clone the project from the git repository to a directory of your choice.
- Change into the directory SAPUI5-for-maven
- Rename or copy the following files:
- Edit the property
pom.xmlto point to your local SAP Hana Cloud Platform SDK
- Edit the following properties in
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
- Edit your username and password in
- Build and install using maven
mvn clean install
- Deploy to your local Hana Cloud Server
- Start your local Hana Cloud Server
- Browse to the start page
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.