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

Last change on this file since 28831 was 28831, checked in by ak19, 7 years ago

Adding mention of Visual Studio to the release-kit README, as this is necessary to compile wrapper.c of the release kit

File size: 2.0 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
172. Create a snapshots\expeditee folder
18
193. Create the file "snapshots\expeditee\rke-build.properties". It should contain:
20 version:1
21 projectname:Expeditee
22 <empty newline>
23
24For 64 bit linux it should contain:
25 version:1
26 projectname:Expeditee
27 x64:true*
28 <empty newline>
29
30
31
32B. Each time you want to run the release-kit:
33
34Set the environment:
351. Add SVN\bin to the PATH
362. Set ANT_HOME and add ANT_HOME\bin to the PATH
373. Set JAVA_HOME to JDK 1.8 and add JAVA_HOME\bin to the PATH
38
394. If you're on Windows, run the vcvars.bat file of your Microsoft Visual Studio.
40
41My windows compile environment batch file looks like:
42 set ANT_HOME=C:\Research\apache-ant-1.8.2
43 set JAVA_HOME=C:\Program Files\Java\jdk1.8.0
44 PATH=C:\Research\ant\bin;%JAVA_HOME%\bin;c:\Program Files\Subversion\bin;%PATH%
45
46 call "C:\Program Files\Microsoft SDKs\Windows\v6.1\Bin\SetEnv.cmd"
47 call "C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\vcvars32.bat"
48
49(Microsoft SDK is necessary for the windows.h header I think. It may not be needed for the Expeditee release kits.)
50
515. Add your expeditee-release-kits\bin to the PATH.
52E.g. on Windows
53 cd c:\Research\Nightly\tools\expeditee-release-kits\bin
54 set PATH=%CD%;%PATH%
55
56E.g. on Linux/Mac:
57 export PATH=/Volumes/Research/jts21/expeditee-release-kits/bin:$PATH
58
59Toro is the Mac we use and JDK1.8 is located in /Volumes/Research
60Jeremy's Linux under his jts21 account is what's used to generate the Linux binary.
61
62(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)
63
646. Go to your snapshots\expeditee folder and run "rke":
65 cd snapshots\expeditee
66 rke
67
Note: See TracBrowser for help on using the repository browser.