This is an old revision of the document!
You need to have the prerequisites installed. Please check:
Make a checkout of the source code:
# Developers with read/write access do: git clone ssh://w3_ssdmsource@ssdmsource.ethz.ch/sis/beewm.git # Users with read access do: git clone http://129.132.202.168/sis/beewm.git
Set your Java path to Java version 7:
export JAVA_HOME="/usr/local/java-7-sun-jdk1.7.0_45"
Start the compile:
cd ./beewm gradle build distTar -x test -x integrationTest
After a few seconds to minutes, you should see a success message similar to:
BUILD SUCCESSFUL Total time: 34.635 secs
gradle build
or
gradle test
With issuing the normal maven build command maven will try to run all the tests, which can be time consuming and some of the test requires specific infrastructure setup like queueing system. But the majority of the tests should run through in their own.
mvn clean test -x integrationTest
Test goal will run all the test which should run without any external dependency.