source: main/trunk/release-kits/README.txt@ 35569

Last change on this file since 35569 was 35569, checked in by davidb, 3 years ago

Some basic notes on what to do

File size: 1.1 KB
Line 
1
2# Prerequisites to using the Release Kit code base
3
4
5 * Java JDK (min v1.6, typically v1.8 used, known to work with v1.11)
6 * Apache ant (min 1.8.2)
7 * C/C++ compiler (e.g., g++ for Linux, Microsoft Visual Studio for Windows, XCode for Mac)
8 * Subversion (min v1.8)
9
10Under Linux (to be confirmed why it is needed)
11
12 * Set the LANG environment variable to use UTF-8, e.g., export LANG=en_NZ.UTF-8
13
14
15To use the Release Kit scripts, some source code needs to be compile first:
16
17 ant compile
18
19And the Release Kits 'bin' directory added to your PATH. For example:
20
21 export PATH=$PWD/bin:$PATH
22
23Finally, for compilation compilation of JNI code in Greenstone3 to be able to
24locate the necessary header files (e.g., jni.h), JAVA_HOME needs to be set,
25
26For example (on Ubuntu 32-bit):
27
28 export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-i386
29
30
31To create a release, for example Greenstone 3 v3.11rc:
32
33 mkdir releases
34 cd releases
35 echo "version:3.11rc" > rk3-build.properties
36 rk3
37
38
39More detailed notes at:
40
41 http://wiki.greenstone.org/doku.php?id=en:developer:release_kits
42
43and
44
45 http://wiki.greenstone.org/doku.php?id=internal:release_kits
Note: See TracBrowser for help on using the repository browser.