source: main/trunk/greenstone3/build.properties.svn

Last change on this file was 37137, checked in by davidb, 16 months ago

Revision in property name, along with changes after testing the new revproxy.protocol, revproxy.domain properties

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