[18227] | 1 | #### properties file for Greenstone3 building using ANT. See the README for more
|
---|
| 2 | #### information
|
---|
| 3 |
|
---|
| 4 | ## Tomcat installation
|
---|
[31489] | 5 |
|
---|
[33461] | 6 | # Allow/disallow symlinks inside the web application
|
---|
| 7 | # Note however, that a value of true for this property will nevertheless be disregarded on Windows,
|
---|
| 8 | # because it has a case insensitive filesystem where a true setting would have had security
|
---|
| 9 | # implications otherwise.
|
---|
| 10 | # Beware that if you are working on any other operating system with a case insensitive filesystem,
|
---|
| 11 | # you should ensure this value remains set to false for security reasons.
|
---|
| 12 | tomcat.user.allowLinking=false
|
---|
| 13 |
|
---|
[35347] | 14 | # Specify your Google Client API Id here, and uncomment if you want Greenstone3 to allow users
|
---|
| 15 | # signin on through Google Signin
|
---|
| 16 | # Note: You also need to specify the Google Client Id in web/WEB-INF/servlet.xml as
|
---|
| 17 | // an <init-param></init-param>
|
---|
| 18 | #tomcat.googlesigninJDBCRealm.clientid=????....????.apps.googleusercontent.com
|
---|
| 19 |
|
---|
[33462] | 20 | # Set this to the internet/intranet name of the machine that Tomcat is/will be
|
---|
| 21 | # run on. localhost is fine for accessing the server from the local machine,
|
---|
| 22 | # but not remotely
|
---|
| 23 | tomcat.server=localhost
|
---|
| 24 |
|
---|
[36879] | 25 | # If your machine's IP doesn't resolve to any of the usual local IP addresses,
|
---|
| 26 | # and instead has any specific IP(s) associated with it, set or add them here within
|
---|
| 27 | # the round brackets, with a vertical bar to connect them with the rest of the line
|
---|
| 28 | tomcat.server.IPregex=(127\\\\.\\\\d+\\\\.\\\\d+\\\\.\\\\d+|::1|0:0:0:0:0:0:0:1(%\\\\d)?)
|
---|
| 29 |
|
---|
[32429] | 30 | # server.protocols must contain 'http' or 'https' or both (in order of preference) separated by commas
|
---|
| 31 | # These specify the protocols you want your Digital Library (DL) to be accessible over.
|
---|
| 32 | # The FIRST ONE in the list will be the default.
|
---|
| 33 | # NOTE: For https support, you will additionally also need to
|
---|
| 34 | # - assign a password to keystore.pass below
|
---|
| 35 | # - ensure an unused and valid port number is assigned to tomcat.port.https below
|
---|
| 36 | # - set tomcat.server above to the primary domain name of your DL, and
|
---|
| 37 | # - run the 'ant setup-https-cert' target to get an official security certificate issued (for which
|
---|
| 38 | # you may need admin/sudo permissions)
|
---|
| 39 | server.protocols=http
|
---|
| 40 | #server.protocols=https
|
---|
| 41 | #server.protocols=https,http
|
---|
[32346] | 42 |
|
---|
[32429] | 43 | # You must set a password if you turned on https support by including 'https' in server.protocols above
|
---|
[32346] | 44 | keystore.pass=
|
---|
| 45 |
|
---|
[32429] | 46 | # Choose valid port numbers that aren't already in use for tomcat.port.https and localhost.port.http:
|
---|
| 47 |
|
---|
| 48 | # If server.protocols above contains https, then your DL will (additionally) be available over https
|
---|
| 49 | # on the port you assign for tomcat.port.https when you make your DL public.
|
---|
| 50 | # But if server.protocols does not contain https, then tomcat.port.https will remain unused.
|
---|
| 51 | tomcat.port.https=8443
|
---|
| 52 |
|
---|
| 53 | # When the server is running, http will always be available locally at 127.0.0.1 at localhost.port.http
|
---|
| 54 | # If server.protocols above includes http, then your DL will additionally be made public over http
|
---|
| 55 | # (on the hostname denoted by tomcat.server at the port number denoted by localhost.port.http)
|
---|
| 56 | localhost.port.http=8383
|
---|
| 57 |
|
---|
[32432] | 58 | # The local server host address. Since 127.0.0.1 is safer than localhost,
|
---|
| 59 | # leave this property as-is unless your local loopback address is not 127.0.0.1.
|
---|
| 60 | # See also https://letsencrypt.org/docs/certificates-for-localhost/
|
---|
| 61 | localhost.server.http=127.0.0.1
|
---|
| 62 |
|
---|
[18227] | 63 | # Tomcat's shutdown port - this may need to be changed if you are running two or more Tomcats
|
---|
[24604] | 64 | tomcat.shutdown.port=8305
|
---|
[32762] | 65 | tomcat.ajp.port=8309
|
---|
[32346] | 66 |
|
---|
[18227] | 67 | # If tomcat is already running, enter the path to the base directory here
|
---|
| 68 | tomcat.installed.path=
|
---|
[19842] | 69 | # uncomment the following if you have moved the greenstone3 web directory to tomcats webapps dir
|
---|
[18227] | 70 | #web.home=${tomcat.installed.path}/webapps/greenstone3
|
---|
| 71 |
|
---|
[30672] | 72 | # The context name of your GS3 digital library. By default this will be "greenstone3". Ensure this has a value.
|
---|
| 73 | greenstone.context=greenstone3
|
---|
[36097] | 74 | # The servlet name (url path) for your default servlet - change this if you are not using 'library' as your servlet name - used for GLI
|
---|
| 75 | greenstone.default.servlet=/library
|
---|
[30672] | 76 |
|
---|
[31489] | 77 | # solr generally lives off /solr from the base greenstone URL
|
---|
| 78 | solr.context=solr
|
---|
| 79 |
|
---|
[33974] | 80 | # oaiserver servlet names - a comma separated list
|
---|
| 81 | oai.servlets=oaiserver
|
---|
[31489] | 82 |
|
---|
[30573] | 83 | ## If creating a GS3 set up with a dispersed web folder ("web-dispersed" GS3), with GS3 in a read-only location, then
|
---|
| 84 | ## it will need a distinct user web folder for content (sites and collections), and need to run tomcat from TMP.
|
---|
| 85 | ## You need to configure 4 properties to get a "web-dispersed" GS3 to work on windows:
|
---|
[30568] | 86 | ## - set web.home above to the writable location where collections and sites should be created (use forward slashes)
|
---|
| 87 | ## - uncomment using.user.web below and set to true,
|
---|
| 88 | ## To make tomcat run from TMP folder (a writable location):
|
---|
| 89 | ## - set gsdl3home.isreadonly to true and
|
---|
| 90 | ## - set gsdl3.writablehome to ${java.io.tmpdir}/greenstone/web (use forward slashes)
|
---|
| 91 | # using.user.web=true
|
---|
| 92 |
|
---|
[36127] | 93 | # While the default derby networked server portnumber is 1527, for Greenstone3 we choose to
|
---|
| 94 | # move this up into the '83' range
|
---|
| 95 | derby.server.port=8327
|
---|
[29977] | 96 | # The following is best left as it is, except if 'localhost' doesn't work on your machine,
|
---|
| 97 | # then try setting it to 127.0.0.1 or its IPv6 equivalent 0:0:0:0:0:0:0:1
|
---|
| 98 | derby.server=localhost
|
---|
[29903] | 99 |
|
---|
[18227] | 100 | ## Collection building options
|
---|
| 101 | # uncomment if you don't want to have collection building enabled
|
---|
| 102 | #disable.collection.building=true
|
---|
[23849] | 103 | #
|
---|
| 104 | # uncomment (and edit) if you want to control where perl is found
|
---|
| 105 | #perl.path=/usr/bin
|
---|
[18227] | 106 |
|
---|
| 107 | ## Greenstone 3 server program options
|
---|
| 108 | # does running the server automatically start up Tomcat and a browser
|
---|
| 109 | server.auto.start=false
|
---|
[24207] | 110 | # if set to true, won't try other ports if the specified port is not available
|
---|
| 111 | server.keep.port=false
|
---|
[29845] | 112 | # whether to make the greenstone pages publicly accessible or only to this machine
|
---|
| 113 | server.external.access=true
|
---|
[18227] | 114 |
|
---|
| 115 | ##Browser setup
|
---|
| 116 | browser.path=
|
---|
| 117 |
|
---|
| 118 | ## Proxy setup - Greenstone installation will attempt to download extra packages. Set the proxy information here if you are behind a firewall.
|
---|
| 119 | # The proxy server name
|
---|
| 120 | proxy.host=
|
---|
| 121 | # The proxy server port
|
---|
| 122 | proxy.port=
|
---|
| 123 | # A user name to use when talking to the proxy server (optional, will prompt if not entered here)
|
---|
| 124 | proxy.user=
|
---|
| 125 | # A password to use when talking to the proxy server (optional, will prompt if not entered here)
|
---|
| 126 | proxy.password=
|
---|
| 127 |
|
---|
[19932] | 128 | ## java compilation properties - for javac
|
---|
| 129 | # Should compilation include the debug option?
|
---|
| 130 | compile.debug=true
|
---|
| 131 | # Should compilation include the deprecation option?
|
---|
| 132 | compile.deprecation=true
|
---|
| 133 | # Should compilation include the optimize option?
|
---|
| 134 | compile.optimize=true
|
---|
[18227] | 135 |
|
---|
[26766] | 136 | # Properties that control cross-compiling
|
---|
| 137 | compile.cross = false
|
---|
| 138 | #cross.os = windows
|
---|
| 139 | #cross.host = i686-w64-mingw32
|
---|
| 140 | #cross.build = i686-pc-linux-gnu
|
---|
| 141 | #cross.configure.extraargs =
|
---|
| 142 |
|
---|
[26792] | 143 | #cross.os = android
|
---|
| 144 | #cross.host = arm-linux-androideabi
|
---|
| 145 | #cross.build = i686-pc-linux-gnu
|
---|
| 146 | #cross.configure.extraargs = gl_cv_header_working_stdint_h=yes
|
---|
[26766] | 147 |
|
---|
[26792] | 148 |
|
---|
[22184] | 149 | # Control whether or not JNI bindings are used
|
---|
| 150 | # e.g. MG, MG++ and GDBM and the like
|
---|
| 151 | # Setting this false means these components are not available to the install
|
---|
| 152 | # The expectation is that collections will be build from 100% Java components:
|
---|
| 153 | # e.g Lucene and JDBM
|
---|
| 154 | #
|
---|
| 155 | with.jni=true
|
---|
| 156 |
|
---|
[36426] | 157 | # Controls whether or not we want wv-ware compiled up for processing
|
---|
| 158 | # Word docs. If setting to false, then you might want to add in the
|
---|
| 159 | # OpenOffice and Tika gs2 extensions
|
---|
| 160 | with.wvware=true
|
---|
| 161 |
|
---|
[23807] | 162 | ## Controls whether or not we want GLI and GEMS to be checked out and compiled
|
---|
[23808] | 163 | with.gli.and.gems=true
|
---|
[23807] | 164 |
|
---|
[22184] | 165 | ## Control if compilation of gs2 is static or not. Used, for example, for distributions
|
---|
| 166 | # Same issue as 'with.jni' for how this gets used in ant 1.7.1 and before
|
---|
[19932] | 167 | #compile.static=true
|
---|
| 168 |
|
---|
[27185] | 169 | # A flag used by the release-kit to compile with gnomelib
|
---|
| 170 | # (Previously this flag was called use.support.lib but got conflated with
|
---|
| 171 | # the property checkout.gnomelib.ext below)
|
---|
| 172 | #use.gnomelib.ext=true
|
---|
[22184] | 173 |
|
---|
[36571] | 174 | # Adjust accordingly:
|
---|
| 175 | # gnomelib typically needed to compile up wvWare (on by default)
|
---|
| 176 | # imagemagick used to generate thumbnai images etc (off by default, as may be already installed)
|
---|
[35511] | 177 | checkout.gnomelib.ext=true
|
---|
[36571] | 178 | checkout.imagemagick.ext=false
|
---|
[27185] | 179 |
|
---|
[28259] | 180 | # By default, GS3 will check out the pdfbox extension from SVN
|
---|
| 181 | checkout.pdfbox.ext=true
|
---|
| 182 |
|
---|
[27828] | 183 | # The following two properties are automatically overridden by gs3-server
|
---|
| 184 | # when running off a read-only medium such as a DVD ...
|
---|
| 185 | #
|
---|
| 186 | # The 'writable' home default is to be the same location as gsdl3.home
|
---|
| 187 | gsdl3home.isreadonly=false
|
---|
| 188 | gsdl3.writablehome=${basedir}/web
|
---|
| 189 |
|
---|
| 190 | # ... alternative the above can be changed to
|
---|
| 191 | #
|
---|
| 192 | # gsdl3home.isreadonly=true
|
---|
| 193 | # gsdl3.writablehome=${java.io.tmpdir}/greenstone/web
|
---|
| 194 | #
|
---|
| 195 | # ... or else provided on the command line, e.g.:
|
---|
| 196 | # ant -Dgsdl3home.isreadonly=true gsdl3.writablehome=/tmp/greenstone/web start
|
---|
| 197 |
|
---|
[19932] | 198 | ## windows c++ compilation
|
---|
| 199 | # The following property does not help in build.xml.
|
---|
| 200 | # The user needs to run Visual Studio's vcvars32.bat script from the
|
---|
| 201 | # MSDOS prompt before compiling Greenstone3 (before "ant prepare install")
|
---|
| 202 | #compile.windows.c++.setup=C:/Program Files/Microsoft Visual Studio/VC98/Bin/VCVARS32.BAT
|
---|
| 203 |
|
---|
[18227] | 204 | ##Flax stuff##
|
---|
| 205 | ##uncomment if you want to install flax
|
---|
| 206 | #install.flax=true
|
---|
[19035] | 207 | flax.checkout.path=${flax.svn.root}/trunk/flaxmain
|
---|
[18227] | 208 |
|
---|
[26363] | 209 | ##These need to be uncommented if using Fedora and Fedora GSearch with Greenstone's tomcat
|
---|
| 210 | fedora.home=#${basedir}/ext/fedora3
|
---|
[26359] | 211 | #fedora.maxpermsize=-XX:MaxPermSize=128m
|
---|
[26363] | 212 | #fedora.password=pounamu
|
---|
[26433] | 213 | #index.writelock.timeout=10000
|
---|
[26357] | 214 |
|
---|
[18227] | 215 | ##Web services related constants##
|
---|
| 216 | base.webservice.name=SOAPServer
|
---|
| 217 | ##listing and description of all the web services deployable on GS3##
|
---|
| 218 | web.services.list=${base.webservice.name} for Greenstone3's core web services, QBR${base.webservice.name} for Query, Browse and Retrieve services
|
---|
[32334] | 219 |
|
---|