Skip to content

Latest commit

 

History

History
61 lines (43 loc) · 1.84 KB

BUILD.md

File metadata and controls

61 lines (43 loc) · 1.84 KB

Building X-Road Catalog

License

This document is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/3.0/.

About

Developing and building the X-Road Catalog software requires an Ubuntu or a RHEL host. If you are using some other operating system (e.g. Windows or MacOS), the easiest option is to first install Ubuntu 22.04 or RHEL7 into a virtual machine.

Tools

Required for building:

  • OpenJDK / JDK version 21
  • Gradle
  • Docker

Recommended for development environment:

The development environment should have at least 8GB of memory and 20GB of free disk space (applies to a virtual machine as well), especially if you set up a local X-Road ecosystem.

Prerequisites

  • Checkout the x-road-catalog repository.

  • The directory structure should look like this:

    - <BASE_DIR>
     |-- xroad-catalog-collector
     |-- xroad-catalog-lister
     |-- xroad-catalog-persistence
    
  • The build scripts assumes the above directory structure.

Build

To build all modules, run the following command in the root directory:

./gradlew clean build

To build a specific module: