Skip to content

Building Open Liberty

Tom Evans edited this page Jan 31, 2018 · 14 revisions

DRAFT! NOT READY



Building Open Liberty

If you wish to build Open Liberty with Eclipse then follow these instructions: Building Open Liberty with Eclipse


  1. Clone the repository to your system.

    git clone git@github.com:OpenLiberty/open-liberty.git

For more detailed instructions on setting up your clone, see here.

  1. Run a gradle build.

    cd open-liberty/dev

    ./gradlew cnf:initialize

    ./gradlew assemble

  2. Run the unit or FAT tests.

    ./gradlew test for unit tests

    ./gradlew build.example_fat:buildandrun to run a FAT project

    NOTE: ./gradlew build runs assemble and test targets

  3. Perform a local release

    ./gradlew releaseNeeded

    NOTE: This task releases all projects to the local releaseRepo. The final openliberty zip can be found in

    open-liberty\dev\cnf\release\dev\openliberty\<version>\openliberty-xxx.zip