[18227] | 1 | #### properties file for Greenstone3 building using ANT. See the README for more
|
---|
| 2 | #### information
|
---|
| 3 |
|
---|
| 4 | ## Tomcat installation
|
---|
[19842] | 5 | # Set this to the internet/intranet name of the machine that Tomcat is/will be
|
---|
| 6 | # run on. localhost is fine for accessing the server from the local machine,
|
---|
| 7 | # but not remotely
|
---|
[18227] | 8 | tomcat.server=localhost
|
---|
| 9 | # The port number that tomcat is/will be run on
|
---|
[24604] | 10 | tomcat.port=8383
|
---|
[18227] | 11 | # Tomcat's shutdown port - this may need to be changed if you are running two or more Tomcats
|
---|
[24604] | 12 | tomcat.shutdown.port=8305
|
---|
[18227] | 13 | # If tomcat is already running, enter the path to the base directory here
|
---|
| 14 | tomcat.installed.path=
|
---|
[19842] | 15 | # uncomment the following if you have moved the greenstone3 web directory to tomcats webapps dir
|
---|
[18227] | 16 | #web.home=${tomcat.installed.path}/webapps/greenstone3
|
---|
| 17 |
|
---|
[30573] | 18 | ## If creating a GS3 set up with a dispersed web folder ("web-dispersed" GS3), with GS3 in a read-only location, then
|
---|
| 19 | ## it will need a distinct user web folder for content (sites and collections), and need to run tomcat from TMP.
|
---|
| 20 | ## You need to configure 4 properties to get a "web-dispersed" GS3 to work on windows:
|
---|
[30568] | 21 | ## - set web.home above to the writable location where collections and sites should be created (use forward slashes)
|
---|
| 22 | ## - uncomment using.user.web below and set to true,
|
---|
| 23 | ## To make tomcat run from TMP folder (a writable location):
|
---|
| 24 | ## - set gsdl3home.isreadonly to true and
|
---|
| 25 | ## - set gsdl3.writablehome to ${java.io.tmpdir}/greenstone/web (use forward slashes)
|
---|
| 26 | # using.user.web=true
|
---|
| 27 |
|
---|
[29903] | 28 | # Default derby networked server portnumber is 1527, can change this here in case of conflict
|
---|
| 29 | derby.server.port=1527
|
---|
[29977] | 30 | # The following is best left as it is, except if 'localhost' doesn't work on your machine,
|
---|
| 31 | # then try setting it to 127.0.0.1 or its IPv6 equivalent 0:0:0:0:0:0:0:1
|
---|
| 32 | derby.server=localhost
|
---|
[29903] | 33 |
|
---|
[18227] | 34 | ## Collection building options
|
---|
| 35 | # uncomment if you don't want to have collection building enabled
|
---|
| 36 | #disable.collection.building=true
|
---|
[23849] | 37 | #
|
---|
| 38 | # uncomment (and edit) if you want to control where perl is found
|
---|
| 39 | #perl.path=/usr/bin
|
---|
[18227] | 40 |
|
---|
| 41 | ## Greenstone 3 server program options
|
---|
| 42 | # does running the server automatically start up Tomcat and a browser
|
---|
| 43 | server.auto.start=false
|
---|
[24207] | 44 | # if set to true, won't try other ports if the specified port is not available
|
---|
| 45 | server.keep.port=false
|
---|
[18227] | 46 | # default servlet to start with
|
---|
[25386] | 47 | server.default.servlet=/library
|
---|
[29845] | 48 | # whether to make the greenstone pages publicly accessible or only to this machine
|
---|
| 49 | server.external.access=true
|
---|
[18227] | 50 |
|
---|
[28297] | 51 | # The context name of your GS3 digital library. By default this will be "greenstone3".
|
---|
| 52 | # Ensure this has a value. If you change this multiple times, you need to remove the old versions
|
---|
| 53 | # of <custom.context>.xml from GS3/packages/tomcat/conf/Catalina/localhost
|
---|
| 54 | # does not contain previous
|
---|
| 55 | custom.context=greenstone3
|
---|
| 56 |
|
---|
[18227] | 57 | ##Browser setup
|
---|
| 58 | browser.path=
|
---|
| 59 |
|
---|
| 60 | ## Proxy setup - Greenstone installation will attempt to download extra packages. Set the proxy information here if you are behind a firewall.
|
---|
| 61 | # The proxy server name
|
---|
| 62 | proxy.host=
|
---|
| 63 | # The proxy server port
|
---|
| 64 | proxy.port=
|
---|
| 65 | # A user name to use when talking to the proxy server (optional, will prompt if not entered here)
|
---|
| 66 | proxy.user=
|
---|
| 67 | # A password to use when talking to the proxy server (optional, will prompt if not entered here)
|
---|
| 68 | proxy.password=
|
---|
| 69 |
|
---|
[19932] | 70 | ## java compilation properties - for javac
|
---|
| 71 | # Should compilation include the debug option?
|
---|
| 72 | compile.debug=true
|
---|
| 73 | # Should compilation include the deprecation option?
|
---|
| 74 | compile.deprecation=true
|
---|
| 75 | # Should compilation include the optimize option?
|
---|
| 76 | compile.optimize=true
|
---|
[18227] | 77 |
|
---|
[26766] | 78 | # Properties that control cross-compiling
|
---|
| 79 | compile.cross = false
|
---|
| 80 | #cross.os = windows
|
---|
| 81 | #cross.host = i686-w64-mingw32
|
---|
| 82 | #cross.build = i686-pc-linux-gnu
|
---|
| 83 | #cross.configure.extraargs =
|
---|
| 84 |
|
---|
[26792] | 85 | #cross.os = android
|
---|
| 86 | #cross.host = arm-linux-androideabi
|
---|
| 87 | #cross.build = i686-pc-linux-gnu
|
---|
| 88 | #cross.configure.extraargs = gl_cv_header_working_stdint_h=yes
|
---|
[26766] | 89 |
|
---|
[26792] | 90 |
|
---|
[22184] | 91 | # Control whether or not JNI bindings are used
|
---|
| 92 | # e.g. MG, MG++ and GDBM and the like
|
---|
| 93 | # Setting this false means these components are not available to the install
|
---|
| 94 | # The expectation is that collections will be build from 100% Java components:
|
---|
| 95 | # e.g Lucene and JDBM
|
---|
| 96 | #
|
---|
| 97 | # Ant 1.7.1 and before only test for *existence* so this needs to be commented
|
---|
| 98 | # in or out to control whether jni is used or not
|
---|
| 99 | with.jni=true
|
---|
| 100 |
|
---|
[23807] | 101 | ## Controls whether or not we want GLI and GEMS to be checked out and compiled
|
---|
[23808] | 102 | with.gli.and.gems=true
|
---|
[23807] | 103 |
|
---|
[22184] | 104 | ## Control if compilation of gs2 is static or not. Used, for example, for distributions
|
---|
| 105 | # Same issue as 'with.jni' for how this gets used in ant 1.7.1 and before
|
---|
[19932] | 106 | #compile.static=true
|
---|
| 107 |
|
---|
[27185] | 108 | # A flag used by the release-kit to compile with gnomelib
|
---|
| 109 | # (Previously this flag was called use.support.lib but got conflated with
|
---|
| 110 | # the property checkout.gnomelib.ext below)
|
---|
| 111 | #use.gnomelib.ext=true
|
---|
[22184] | 112 |
|
---|
[27185] | 113 | ## Uncomment these lines if enabling compilation with the gnome-lib extension
|
---|
| 114 | ## and if compiling imagemagick
|
---|
| 115 | ## These extensions should be in the [gsdl3home]/gs2build/ext directory
|
---|
[27187] | 116 | #checkout.gnomelib.ext=true
|
---|
[27185] | 117 | #checkout.imagemagick.ext=true
|
---|
| 118 |
|
---|
[28259] | 119 | # By default, GS3 will check out the pdfbox extension from SVN
|
---|
| 120 | checkout.pdfbox.ext=true
|
---|
| 121 |
|
---|
[27828] | 122 | # The following two properties are automatically overridden by gs3-server
|
---|
| 123 | # when running off a read-only medium such as a DVD ...
|
---|
| 124 | #
|
---|
| 125 | # The 'writable' home default is to be the same location as gsdl3.home
|
---|
| 126 | gsdl3home.isreadonly=false
|
---|
| 127 | gsdl3.writablehome=${basedir}/web
|
---|
| 128 |
|
---|
| 129 | # ... alternative the above can be changed to
|
---|
| 130 | #
|
---|
| 131 | # gsdl3home.isreadonly=true
|
---|
| 132 | # gsdl3.writablehome=${java.io.tmpdir}/greenstone/web
|
---|
| 133 | #
|
---|
| 134 | # ... or else provided on the command line, e.g.:
|
---|
| 135 | # ant -Dgsdl3home.isreadonly=true gsdl3.writablehome=/tmp/greenstone/web start
|
---|
| 136 |
|
---|
[19932] | 137 | ## windows c++ compilation
|
---|
| 138 | # The following property does not help in build.xml.
|
---|
| 139 | # The user needs to run Visual Studio's vcvars32.bat script from the
|
---|
| 140 | # MSDOS prompt before compiling Greenstone3 (before "ant prepare install")
|
---|
| 141 | #compile.windows.c++.setup=C:/Program Files/Microsoft Visual Studio/VC98/Bin/VCVARS32.BAT
|
---|
| 142 |
|
---|
[18227] | 143 | ##Flax stuff##
|
---|
| 144 | ##uncomment if you want to install flax
|
---|
| 145 | #install.flax=true
|
---|
[19035] | 146 | flax.checkout.path=${flax.svn.root}/trunk/flaxmain
|
---|
[18227] | 147 |
|
---|
[26363] | 148 | ##These need to be uncommented if using Fedora and Fedora GSearch with Greenstone's tomcat
|
---|
| 149 | fedora.home=#${basedir}/ext/fedora3
|
---|
[26359] | 150 | #fedora.maxpermsize=-XX:MaxPermSize=128m
|
---|
[26363] | 151 | #fedora.password=pounamu
|
---|
[26433] | 152 | #index.writelock.timeout=10000
|
---|
[26357] | 153 |
|
---|
[18227] | 154 | ##Web services related constants##
|
---|
| 155 | base.webservice.name=SOAPServer
|
---|
| 156 | ##listing and description of all the web services deployable on GS3##
|
---|
| 157 | web.services.list=${base.webservice.name} for Greenstone3's core web services, QBR${base.webservice.name} for Query, Browse and Retrieve services
|
---|