User Tools

Site Tools


beewm:devel:compiling_and_making_releases

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
beewm:devel:compiling_and_making_releases [2016/05/19 23:05] adminbeewm:devel:compiling_and_making_releases [2017/02/01 12:57] (current) admin
Line 1: Line 1:
-======Compiling BeeWM======+======Compiling BeeWM HEAD======
  
 BeeWM uses gradle to compile and test. It is recommended to use Oracle JDK 7 with BeeWM. To set up JDK 7, assign the JAVA_HOME variable, for example: BeeWM uses gradle to compile and test. It is recommended to use Oracle JDK 7 with BeeWM. To set up JDK 7, assign the JAVA_HOME variable, for example:
Line 11: Line 11:
 ./gradlew clean ./gradlew clean
  
-full compile with tests: +sparse compile excluding all tests: 
-./gradlew build+./gradlew build -x test -x storageIntegrationTest -x clusterIntegrationTest
  
 # compile excluding the integration tests (that require a cluster queue setup): # compile excluding the integration tests (that require a cluster queue setup):
-./gradlew build -x integrationTest+./gradlew build -x storageIntegrationTest -x clusterIntegrationTest
  
-sparse compile excluding all tests: +full compile with tests: 
-./gradlew build -x test -x integrationTest+./gradlew build
 </code> </code>
  
Line 34: Line 34:
 </code> </code>
  
-====Compiling the Current Release for Deployment====+====Checking out a specific (previous) Release==== 
 + 
 +To check out a specific release to compile, check out the tag of the GIT repository: 
 +<code> 
 +# list available tags: 
 +git tag 
 + 
 +# check out a specific tag, for example 0.3.2 
 +git checkout tags/0.3.2 
 +</code> 
 + 
 +====Compiling a Release for Deployment====
  
 <code> <code>
Line 40: Line 51:
 ./gradlew clean build distTar ./gradlew clean build distTar
  
-# full recompiled release without integration testing+releases after 0.4.0: full recompiled release without integration testing 
 +./gradlew clean build distTar -x storageIntegrationTest -x clusterIntegrationTest 
 + 
 +# releases before 0.4.0: full recompiled release without integration testing
 ./gradlew clean build distTar -x integrationTest ./gradlew clean build distTar -x integrationTest
 +
 +
 +# find the release files for BeeWM and the BeeWM Webclient in the directories:
 +ls -la bee-*/build/distributions/*
 +
 +# store the archive on the server for downloading:
 +cp -iv bee-*/build/distributions/*0.4.0-SNAPSHOT-61*tar.gz \
 +    /home/www/de.biodataanalysis/pages/data/beewm/releases/ && \
 +sudo chmod 660 /home/www/de.biodataanalysis/pages/data/beewm/releases/*tar.gz && \
 +sudo chown www-mario:www-mario /home/www/de.biodataanalysis/pages/data/beewm/releases/*tar.gz
 </code> </code>
  
beewm/devel/compiling_and_making_releases.1463691938.txt.gz · Last modified: 2016/05/19 23:05 by admin