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

Last change on this file since 36571 was 36571, checked in by davidb, 20 months ago

Comment updated to better reflect that build.xml now tests the value (true/false), rather then the existence of the property (set/unset)

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