User Tools

Site Tools


beewm:devel:compiling_and_making_releases

This is an old revision of the document!


Compiling BeeWM

BeeWM uses gradle to compile and test. It is recommended to use Oracle JDK 8 with BeeWM. To set up JDK 8, assign the JAVA_HOME variable, for example:

export JAVA_HOME="/opt/bda/java-8-sun"

To compile from the command line, use:

# clean the last build for a full rebuild:
./gradlew clean

# full compile with tests:
./gradlew build

# compile excluding the integration tests (that require a cluster queue setup):
./gradlew build -x integrationTest

# sparse compile excluding all tests:
./gradlew build -x test -x integrationTest

Making BeeWM Releases

./gradlew clean build distTar

Integrating gradle with Eclipse

To set up a the development environment to develop bee first download the enterprise java version of the Eclipse IDE. After installing Eclipse one should install the Gradle IDE plugin for Eclipse.

NOTE: When this guide was written Gradle IDE was not working with the latest Gradle version which is used by default. To be able to use it one should download Gradle 1.12 from gradle.org install it and and change the preferences of Gradle IDE to use this version.

After installing Gradle IDE the source can be imported via the import as Gradle Project. The root folder in the import wizard should be set to the root directory of the repository then Build Model should be executed. After building the model the subproject can be selected an imported.

beewm/devel/compiling_and_making_releases.1463498768.txt.gz ยท Last modified: 2016/05/17 17:26 by admin