Skip to content

Latest commit

 

History

History
47 lines (32 loc) · 1.41 KB

Setting-up-Development-Environment.md

File metadata and controls

47 lines (32 loc) · 1.41 KB

Setting Up an Environment For Example Adapter Development

This document describes how a developer's workstation can be setup.

Table of Contents

Software Requirements

  • Linux / Windows / MacOS
  • Java 17 or later
  • Gradle
  • Docker (optional)

Getting the code

The Example Adapter project is a part of the XRd4J git repository. You can access the source code by cloning it:

git clone https://github.com/nordic-institute/xrd4j.git

The Example Adapter is a separate Gradle project and can be found under the example-adapter directory.

Building the code

Example Adapter uses Gradle as the build management tool. Gradle Wrapper is the recommended way of using Gradle to ensure the correct version.

In order to build the whole project, you must run the command below from the example-adapter directory.

./gradlew build

Running the above command generates the following WAR-files under the build/libs directory (x.x.x being replaced by the version):

  • build/libs/example-adapter-x.x.x-SNAPSHOT.war - a deployable WAR file
  • build/libs/example-adapter-x.x.x-SNAPSHOT-boot.war - a Spring Boot executable WAR file