CL6: App using External IDE

Other IDE

You can use any IDE of choice also on your local machine e.g. Visual Code.

Prerequisites

  • Java 8 or higher
  • Maven installed
  • (Optional) cf cli
  • GIT client

(Optional) Test locally

Option A) Start application via mvn

See SAP tutorial for more information.

$ mvn tomee:run -pl application

Option B) Start application via cf local (cf plugin)

See SAP blog

Install cf local Plugin

$ cf install-plugin cflocal -r CF-Community

Create local.yml file (copy from manifest.yml, replace “sap-java-buildpack” by “java_buildpack”)

$ cf local stage <artifactId> -p "application/target/<artifactId>-application.war"
$ cf local run <artifactId> -p 8080

Live Preview

Terminal

$ curl http://localhost:8080/hello

Preparation menu

Browser

$ http://localhost:8080/index.html

Preparation menu