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: svn co 'svn+ssh://<USERNAME>@svn.code.sf.net/p/screeningbee/code/' ./SVN-Bee # Users with read access do: svn co 'svn://svn.code.sf.net/p/screeningbee/code/' ./SVN-Bee
Set your Java path to Java version 7:
export JAVA_HOME="/usr/local/java-7-sun-jdk1.7.0_45"
Start the compile:
cd ./SVN-Bee/trunk/bee mvn clean install -DskipTests
After a few seconds to minutes, you should see a success message similar to:
[INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 48.068s [INFO] Finished at: Thu Mar 13 10:30:49 CET 2014 [INFO] Final Memory: 66M/308M [INFO] ------------------------------------------------------------------------
mvn clean install
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. The only extra step one need for running the tests is the download of the test data. The bee-testdata directory of the svn repository contains this test data, which should be downloaded and placed (or linked) to the bee-workflowmanager/src/test/resources/ directory.
mvn clean test
Test goal will run all the test which should run without any external dependency.