source: trunk/gsdl3/README-CVS.txt@ 11012

Last change on this file since 11012 was 10884, checked in by kjdon, 18 years ago

removed all CVS related notes from README.txt to the new README-CVS.txt file

  • Property svn:keywords set to Author Date Id Revision
File size: 3.4 KB
Line 
1Greenstone 3 (GSDL3)
2Copyright (C) 2003 New Zealand Digital Libraries, University Of Waikato
3Greenstone3 comes with ABSOLUTELY NO WARRANTY; for details see LICENSE.txt
4This is free software, and you are welcome to redistribute it
5
6These 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.
7
8Installing Greenstone from a CVS checkout:
9---------------------------------------------------------------------
10
11Make sure the CVS executable is on your PATH.
12
13Checkout the code:
14
15cvs -d :pserver:[email protected]:2402/usr/local/global-cvs/gsdl-src co greenstone3
16
17Build and install:
18
19In 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.
20
21The '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.
22
23The prepare/install targets will ask you if you accept the properties before starting.
24To suppress this prompt, use the -Dproperties.accepted=yes flag. E.g.
25ant -Dproperties.accepted=yes prepare install (from CVS), or
26To log the output, run
27ant -Dproperties.accepted=yes -logfile build.log prepare install (from CVS), or
28
29Extra Configuration notes:
30--------------------------------------------------------------
31
32Greenstone 3 uses some parts of Greenstone 2 for collection building using the Librarian Interface. These will be installed during the Greenstone 3 installation process. If you have Greenstone 2 already installed and want to use that version instead (or don't want to use it at all), please set the gsdl2.installed.path property (in build.properties) to be the root of your Greenstone 2 installation, or any non-empty string. Greenstone 3 will then use this installation rather than its own version. (Note, be careful about compatibility between versions.)
33
34
35Common install/update targets:
36---------------------------------------------------------------------
371. Install for the first time from CVS:
38cvs co greenstone3
39cd greenstone3
40ant prepare install
41
422. Install for the first time from CVS, mostly offline:
43[online]
44cvs co greenstone3
45cd greenstone3
46ant prepare
47[offline]
48ant install
49
503. Install for the first time, with CVS done outside of Ant (if you have problems running CVS commands from Ant):
51cvs co -P greenstone3
52cd greenstone3/src/packages
53cvs co mgpp
54cd ../..
55[if you want greenstone 2 building:
56cvs co -P gli
57cvs co -P gs2build
58]
59[if you are on windows
60cvs co winbin
61]
62ant -Dnocvs.mode=yes prepare install (prepare needs to be online, install can be done offline)
63
644. Updating your Greenstone installation from CVS (and reconfigure/recompile):
65cd greenstone3
66ant update
67
685. Updating your Greenstone installation from CVS, offline:
69cd greenstone3
70[online]
71ant cvsupdate
72[offline]
73ant -Dnocvs.mode=yes update
74
756. Updating your Greenstone installation, with CVS done outside of Ant:
76cd greenstone3
77cvs update -l
78cvs update -dP extensions bin docs lib resources src winutil packages
79cd web (or the path-to-tomcat/webapps/greenstone3 if have installed greenstone as a webapp in Tomcat, see Using External Tomcat section)
80cvs update -dP
81cd greenstone3
82[ if you have greenstone 2 building:
83cvs update -dP gli
84cvs checkout -P gs2build
85Note that the gs2build one uses checkout not update.
86]
87ant -Dnocvs.mode=yes update
88
Note: See TracBrowser for help on using the repository browser.