source: other-projects/expeditee-release-kits/README.txt@ 28935

Last change on this file since 28935 was 28835, checked in by davidb, 10 years ago

Couple more one-off steps that are needed before being ready to compile up the installer

File size: 2.2 KB
Line 
1Preliminaries:
2
3
4You will need to have installed:
51. SVN
62. Ant
73. JDK 1.8 for Expeditee
8(4. For the Windows release-kits, you will further need Microsoft Visual Studio.)
9
10
11
12A. One-off steps
13
141. Check out the expeditee release kits:
15svn co http://svn.greenstone.org/other-projects/expeditee-release-kits
16
17
182. Compile up custom ant taskdefs that the release kit relies on:
19
20 pushd shared\core\ant-tasks\greenstone
21 ant
22 popd
23
24 pushd shared\core\ant-installer
25 ant
26 popd
27
283. Create a snapshots\expeditee folder
29
304. Create the file "snapshots\expeditee\rke-build.properties". It should contain:
31 version:v1.0
32 projectname:Expeditee
33 <empty newline>
34
35For 64 bit linux it should contain:
36 version:v1.0
37 projectname:Expeditee
38 x64:true
39 <empty newline>
40
41
42
43B. Each time you want to run the release-kit:
44
45Set the environment:
461. Add SVN\bin to the PATH
472. Set ANT_HOME and add ANT_HOME\bin to the PATH
483. Set JAVA_HOME to JDK 1.8 and add JAVA_HOME\bin to the PATH
49
504. If you're on Windows, run the vcvars.bat file of your Microsoft Visual Studio.
51
52My windows compile environment batch file looks like:
53 set ANT_HOME=C:\Research\apache-ant-1.8.2
54 set JAVA_HOME=C:\Program Files\Java\jdk1.8.0
55 PATH=C:\Research\ant\bin;%JAVA_HOME%\bin;c:\Program Files\Subversion\bin;%PATH%
56
57 call "C:\Program Files\Microsoft SDKs\Windows\v6.1\Bin\SetEnv.cmd"
58 call "C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\vcvars32.bat"
59
60(Microsoft SDK is necessary for the windows.h header I think. It may not be needed for the Expeditee release kits.)
61
625. Add your expeditee-release-kits\bin to the PATH.
63E.g. on Windows
64 cd c:\Research\Nightly\tools\expeditee-release-kits\bin
65 set PATH=%CD%;%PATH%
66
67E.g. on Linux/Mac:
68 export PATH=/Volumes/Research/jts21/expeditee-release-kits/bin:$PATH
69
70Toro is the Mac we use and JDK1.8 is located in /Volumes/Research
71Jeremy's Linux under his jts21 account is what's used to generate the Linux binary.
72
73(6. If you have any file-locking issues, you may want to delete the contents of the snapshots\expeditee folder, all EXCEPT the rke-build.properties file)
74
756. Go to your snapshots\expeditee folder and run "rke":
76 cd snapshots\expeditee
77 rke
78
Note: See TracBrowser for help on using the repository browser.