Changeset 19839 for greenstone3/trunk/README-SVN.txt
- Timestamp:
- 2009-06-15T14:36:18+12:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
greenstone3/trunk/README-SVN.txt
r15188 r19839 4 4 This is free software, and you are welcome to redistribute it 5 5 6 These are some extra notes for installing Greenstone from SVN. Please also read the README.txt file for general information as almost all of that applies here too. 6 These are some extra notes for installing Greenstone from SVN. Please also 7 read the README.txt file for general information as almost all of that applies 8 here too. 9 10 You will need Java and Ant to run Greenstone 3. 11 12 Your Java version should be 1.4 or higher. We recommend Sun Java. You need the 13 SDK (development environment). Set the environment variable JAVA_HOME to be 14 the root of your Java installation. 15 16 Ant (Apache's Java based build tool) can be downloaded from 17 http://ant.apache.org/bindownload.cgi. Set the environment variable 18 ANT_HOME to be the root of your Ant installation, and make sure the Ant 19 executables are on your PATH. You may have problems with earlier versions. 20 This has been tested with version 1.6.2 7 21 8 22 Installing Greenstone from an SVN checkout: … … 17 31 Build and install: 18 32 19 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.20 33 21 The 'prepare' target will download additional code (using SVN and http), so you need to be online to run it. The 'install' target can be run offline. 34 In the greenstone3 directory, check and/or edit the build.properties file. In 35 particular, set the Tomcat port number. See 'Configuring your installation' in 36 README.txt for more information. 22 37 23 The prepare/install targets will ask you if you accept the properties before starting. 38 Note, initial checkouts from SVN have a build.properties.in file. Running 39 'ant' will result in the build.properties file being generated from the .in 40 file (a straight copy). 41 42 Then, run 'ant prepare install'. The two targets can be run separately if you 43 like. 44 45 The 'prepare' target will download additional code (using SVN and http), so 46 you need to be online to run it. The 'install' target can be run offline. 47 48 The prepare/install targets will ask you if you accept the properties before 49 starting. 24 50 To suppress this prompt, use the -Dproperties.accepted=yes flag. E.g. 25 ant -Dproperties.accepted=yes prepare install (from CVS), or 51 ant -Dproperties.accepted=yes prepare install 52 26 53 To log the output, run 27 ant -Dproperties.accepted=yes -logfile build.log prepare install (from CVS), or 54 ant -Dproperties.accepted=yes -logfile build.log prepare install 55 56 On Windows, Visual Studio is used for compiling. The VCVARS32.bat script needs 57 to be run in the command prompt before compiling with "ant install". 58 59 In the greenstone3 directory, you can run 'ant' which will give you a help 60 message. 61 Running 'ant -projecthelp' gives a list of the targets that you can run - these 62 do various things like compile the source code, start up the server etc. 28 63 29 64 Extra Configuration notes: … … 33 68 including external packages and the Librarian Interface. These will be 34 69 installed during the Greenstone 3 installation process. If you do not want 35 collection building capability, please set the disable.collection.building property to true in build.properties. 70 collection building capability, please set the disable.collection.building 71 property to true in build.properties. 36 72 37 73
Note:
See TracChangeset
for help on using the changeset viewer.