Installing Greenstone3 as a fresh install from CVS Checkout (Windows)
1) Install Java SDK from Sun's website ( requires 1.4 or greater)
a. Set the Environ. Variable JAVA_HOME=C: j2sdk1.4.2_08", or whatever version applies
2) Install ActivePython software (required for CVS)
3) Install WinCVS software
a. Environ. Variable CVSROOT =:pserver:cvs_anon@cvs.scms.waikato.ac.nz:2402/usr/local/global-cvs/gsdl-src
4) Install Ant
a. Unzip the ANT package
b. Move to C:.Ant
c. Add 'C:\Ant\bin' to PATH
d. Environ. Variable ANT_HOME = c:\Ant
e. Make sure tools.jaris in the proper location, depending on which Java version you are running
5) Run CVS to get the newest code from the CVS code server
a. Go to root directory (C:\)
b. Run "cvs co gsdl3"
c. This will install a lot of code from CVS
d. Move to the new gsdl3 directory
e. All the newest code should download
6) Compile the C/C++ portions of code
a. Can only do this if a version of Visual Studio is installed
b. I added the path for vcvars32.batand nmake.exe to the environmental PATH variable
i. In my case the path added was "C:\Program Files\MS VS .Net\Vc7\bin"
c. Then, in build.properties remove the path name from compile. windows.c++.setup.
i. This results in the following line: "compile.windows.c++.setup=VCVARS32. BAT"
d. Finally, run ant and point it at the compile-windows-c++ target
i. "ant -logfile buildcpp.log compile-windows-c++"
7) Run ANT to build the newest install file
a. Run "ant -Dproperties.accepted=yes -logfile build.log prepare install"
b. This will download additional code from CVS and will take some time
c. This will also build all of the (non-C++) code
8) You can now run Greenstone server by entering "ant start"
9) If you point your browser to http://localhost:8080/asdl3/ you will see the result!
( Documentation created by Mark Sullivan, University of Florida. June 27th, 2005)
|