Greenstone 3 (GSDL3) Copyright (C) 2003 New Zealand Digital Libraries, University Of Waikato Greenstone3 comes with ABSOLUTELY NO WARRANTY; for details see LICENSE.txt This is free software, and you are welcome to redistribute it These are some extra notes for installing Greenstone from CVS. Please also read the README.txt file for general information as almost all of that applies here too. Installing Greenstone from a CVS checkout: --------------------------------------------------------------------- Make sure the CVS executable is on your PATH. Checkout the code: cvs -d :pserver:cvs_anon@cvs.scms.waikato.ac.nz:2402/usr/local/global-cvs/gsdl-src co greenstone3 Build and install: In the greenstone3 directory, edit the build.properties file (see 'Configuring your installation' in README.txt), and run 'ant prepare install'. The two targets can be run separately if you like. The 'prepare' target will download additional code (using CVS and http), so you need to be online to run it. The 'install' target can be run offline. The prepare/install targets will ask you if you accept the properties before starting. To suppress this prompt, use the -Dproperties.accepted=yes flag. E.g. ant -Dproperties.accepted=yes prepare install (from CVS), or To log the output, run ant -Dproperties.accepted=yes -logfile build.log prepare install (from CVS), or Extra Configuration notes: -------------------------------------------------------------- Greenstone 3 uses some parts of Greenstone 2 for collection building, including external packages and the Librarian Interface. These will be installed during the Greenstone 3 installation process. If you do not want collection building capability, please set the disable.collection.building property to true in build.properties. Common install/update targets: --------------------------------------------------------------------- 1. Install for the first time from CVS: cvs co greenstone3 cd greenstone3 ant prepare install 2. Install for the first time from CVS, mostly offline: [online] cvs co greenstone3 cd greenstone3 ant prepare [offline] ant install 3. Install for the first time, with CVS done outside of Ant (if you have problems running CVS commands from Ant): cvs co -P greenstone3 cd greenstone3 [if you want collection building: cvs co -P gli cvs co -P gs2build ] [if you didn't want collection building cd src/packages cvs co indexers cd ../../ ] [if you are on windows cvs co winbin ] ant -Dnocvs.mode=yes prepare install (prepare needs to be online, install can be done offline) 4. Updating your Greenstone installation from CVS (and reconfigure/recompile): cd greenstone3 ant update 5. Updating your Greenstone installation from CVS, offline: cd greenstone3 [online] ant cvsupdate [offline] ant -Dnocvs.mode=yes update 6. Updating your Greenstone installation, with CVS done outside of Ant: cd greenstone3 cvs update -l cvs update -dP bin docs lib resources src winutil packages cd web (or the path-to-tomcat/webapps/greenstone3 if have installed greenstone as a webapp in Tomcat, see Using External Tomcat section) cvs update -dP cd ../ [ if you have greenstone 2 building: cvs update -dP gli cvs checkout -P gs2build Note that the gs2build one uses checkout not update. ] ant -Dnocvs.mode=yes update