Skip to content

Developer Guide

Ahmed Elbahtemy edited this page Apr 1, 2019 · 28 revisions

Setup development environment on Linux

Setup development environment on Mac

Setup development environment on Windows

Building

If you are using windows, please replace gradlew with gradlew.bat

Building, testing and publishing brooklin

Clone the brooklin repository into /path/to/brooklin/localrepo and run the following commands

cd /path/to/brooklin/localrepo
gradle wrapper
gradlew clean assemble

To run unit tests:

cd /path/to/brooklin/localrepo
gradlew test

You can release the brooklin binaries into local maven repository by running

gradlew publishToMavenLocal

You can build the brooklin tar ball by running

gradlew releaseTarGz

Developing using Idea

You can use intellij for developing brooklin. You can build the intellij project files by running

gradlew idea

Once the intellij project files (*.ipr) are created, You can open them using Intellij and Start developing.

Contributing and submitting patches

Contributions are accepted in the form of pull requests, please use this https://help.github.com/articles/using-pull-requests/ on how to submit the pull request.

Before you submit the pull request, ensure that your changes in your fork builds and tests run with the latest changes from upstream. To sync the changes from the main repository into your fork you can follow the instructions here https://help.github.com/articles/syncing-a-fork/