Ballerina Distribution
The Ballerina distribution repository builds the final Ballerina distributions. It combines the Ballerina runtime with standard libraries and language extensions.
Table of contents
Getting started
You can use one of the following options to try out Ballerina.
Download and install
Download the binary
You can download the Ballerina distribution at http://ballerina.io/downloads.
Install from source
Alternatively, you can install Ballerina from the source using the following instructions.
Prerequisites
- JDK11 (Adopt OpenJDK11 or any other OpenJDK distribution)
Building the source
-
Clone this repository using the following command.
git clone https://github.com/ballerina-platform/ballerina-distribution
-
This repository is depending on Github packages. You need to have a personal access token with read package permissions. Then you need to set following environment variables.
Linux/Unix
export packageUser=<Your github username> export packagePAT=<Your personal access token>
Windows
set packageUser=<Your github username> set packagePAT=<Your personal access token>
-
Run the Gradle build command
./gradlew build
from the repository root directory. -
Extract the Ballerina distribution created at
ballerina/build/distributions/ballerina-<version>-SNAPSHOT.zip
.
Contributing to Ballerina
As an open source project, Ballerina welcomes contributions from the community. To start contributing, read these contribution guidelines for information on how you should go about contributing to our project.
Check the issue tracker for open issues that interest you. We look forward to receiving your contributions.
License
Ballerina code is distributed under Apache license 2.0.
Useful links
- The ballerina-dev@googlegroups.com mailing list is for discussing code changes to the Ballerina project.
- Chat live with us on our Slack channel.
- Technical questions should be posted on Stack Overflow with the #ballerina tag.