Changeset 9832
- Timestamp:
- 2005-05-06T11:27:47+12:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ant-install-branch/gsdl3/README.txt
r9788 r9832 29 29 Environment (1.4 or higher), and Ant installed to use Greenstone. You can download Ant from http://ant.apache.org/bindownload.cgi. 30 30 31 In the gsdl3 directory, you can run antwhich will give you a help message.31 In the gsdl3 directory, you can run 'ant' which will give you a help message. 32 32 Running 'ant -projecthelp' gives a list of the targets that you can run - these 33 33 do various things like compile the source code, startup the server etc. … … 35 35 For a first time install, run 'ant install'. 36 36 37 The file build.properties contains various parameters that can be set by the user. 38 37 The file build.properties contains various parameters that can be set by the user. Please check these settings before running 'ant install'. The install process will ask you if you accept the properties before starting. 39 38 For a non-interactive version of the install, run 40 39 ant -Dproperties.accepted=yes install … … 43 42 ant -Dproperties.accepted=yes -logfile build.log install 44 43 44 Under Linux, Java and C/C++ compilation is carried out. For windows, since Visual Studio is not a standard component, only Java compilation is carried out. Pre-compiled binaries are provided for the C/C++ components (packages and Greenstone 2 style building). If you have Visual Studio installed (version 6), you can run the compile-windows-c++ targets to compile the code locally. (Don't forget to setup the Visual Studio environment first, by running, e.g. C:/Program Files/Microsoft Visual Studio/VC98/Bin/VCVARS32.BAT or equivalent.) 45 45 46 Running Greenstone: 46 47 ------------------- 47 48 48 To startup the servers, run 'ant startup'. 'ant restart' and 'ant shutdown' restarts and shuts down the servers. T Ostart or stop just Tomcat or MYSQL, use the startup-tomcat, startup-mysql, shutdown-tomcat, shutdown-mysql targets.49 To startup the servers, run 'ant startup'. 'ant restart' and 'ant shutdown' restarts and shuts down the servers. To start or stop just Tomcat or MYSQL, use the startup-tomcat, startup-mysql, shutdown-tomcat, shutdown-mysql targets. 49 50 50 51 On Windows, if you have installed a binary version, you can also start Greenstone by selecting Greenstone 3 Digital Library from the Start menu. … … 64 65 Building Collections: 65 66 ----------------------- 66 Windows: need to have Perl installed and on your PATH.67 67 68 68 You can build collections using either Greenstone 2 style building, or native Greenstone 3 style. 69 69 70 Greenstone 2: 71 72 You need to have Perl installed and on your PATH. 70 73 run 'ant gli", or cd to gsdl3/gli and run gli4gs3.sh/bat. This is a graphical tool for building collections. 71 74 72 75 Greenstone 3: 73 in the gsdl3 directory, run: source gs3-setup.sh (linux) or gs3-sestup (windows). 76 77 In the gsdl3 directory, run: 'source gs3-setup.sh' (linux) or 'gs3-setup' (windows). 74 78 To create a new collection, run 'gs3-mkcol.sh/bat <sitename> <collname>' 75 79 Put documents in the import directory (gsdl3/web/sites/<sitename>/collect/<collname>/import), edit the collection configuration file (gsdl3/web/sites/<sitename>/collect/<collname>/etc/collectionConfig.xml), and run 'gs3-build.sh <sitename> <collname>' 76 Rename the building directory to index (in gsdl3/web/sites/<sitename>/collect/<collname>) and reload the collection in Tomcat , or restart Tomcat.80 Rename the building directory to index (in gsdl3/web/sites/<sitename>/collect/<collname>) and reload the collection in Tomcat (?a=s&sa=a&st=collection&sn=<collname>), or restart Tomcat. 77 81 78 82 See the manual for more details about both styles of collection building. … … 87 91 To prevent Tomcat showing directory listings, edit the gsdl3/comms/jakarta/tomcat/conf/web.xml file and set the value of the "listings" servlet parameter to false. 88 92 93 ant can't seem to do cvs using pserver cvs on windows: 94 there were some classes missing - www.ibiblio.org/maven/jsch/jars/jsch-0.1.17.jar 95 many ssh processes seemed to be started up - all waiting in the background for password?? 96 So should only use anonymous cvs. 97
Note:
See TracChangeset
for help on using the changeset viewer.