This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
devel:compiling_screeningbee_workflow_manager [2013/04/09 16:11] – created admin | devel:compiling_screeningbee_workflow_manager [2015/11/18 17:21] (current) – agraumann | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Compiling | + | ====== Compiling |
==== Install Prerequisites ==== | ==== Install Prerequisites ==== | ||
You need to have the prerequisites installed. Please check: | You need to have the prerequisites installed. Please check: | ||
- | * [[integrating_maven_with_eclipse]] | ||
* [[Development Prerequisites]] | * [[Development Prerequisites]] | ||
==== Check out Source Code ==== | ==== Check out Source Code ==== | ||
+ | |||
Make a checkout of the source code: | Make a checkout of the source code: | ||
< | < | ||
# Developers with read/write access do: | # Developers with read/write access do: | ||
- | svn co 'svn+ssh://< | + | git clone ssh://w3_ssdmsource@ssdmsource.ethz.ch/sis/beewm.git |
# Users with read access do: | # Users with read access do: | ||
- | svn co 'svn://svn.code.sf.net/p/screeningbee/ | + | git clone http://129.132.202.168/sis/beewm.git |
</ | </ | ||
==== Compile screeningBee ==== | ==== Compile screeningBee ==== | ||
+ | Set your Java path to Java version 8: | ||
< | < | ||
- | cd ./SVN-Bee/trunk/bee | + | export JAVA_HOME=" |
- | mvn clean install | + | </code> |
+ | |||
+ | 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: | After a few seconds to minutes, you should see a success message similar to: | ||
< | < | ||
- | [INFO] ------------------------------------------------------------------------ | + | BUILD SUCCESSFUL |
- | [INFO] | + | |
- | [INFO] ------------------------------------------------------------------------ | + | Total time: 34.635 secs |
- | [INFO] | + | |
- | [INFO] Finished at: Tue Apr 09 16:15:27 CEST 2013 | + | |
- | [INFO] Final Memory: 38M/447M | + | |
- | [INFO] ------------------------------------------------------------------------ | + | |
</ | </ | ||
+ | |||
+ | === Running the tests === | ||
+ | |||
+ | < | ||
+ | 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. | ||
+ | |||
+ | < | ||
+ | gradle clean build test -x integrationTest | ||
+ | </ | ||
+ | |||
+ | Test goal without integration tests will run all the test which should run without any external dependency. | ||
+ | |||
+ |