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

Last change on this file since 36097 was 36097, checked in by kjdon, 2 years ago

new property for default servlet path - use this if you don't have a servlet called 'library'

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# Default derby networked server portnumber is 1527, can change this here in case of conflict
89derby.server.port=1527
90# The following is best left as it is, except if 'localhost' doesn't work on your machine,
91# then try setting it to 127.0.0.1 or its IPv6 equivalent 0:0:0:0:0:0:0:1
92derby.server=localhost
93
94## Collection building options
95# uncomment if you don't want to have collection building enabled
96#disable.collection.building=true
97#
98# uncomment (and edit) if you want to control where perl is found
99#perl.path=/usr/bin
100
101## Greenstone 3 server program options
102# does running the server automatically start up Tomcat and a browser
103server.auto.start=false
104# if set to true, won't try other ports if the specified port is not available
105server.keep.port=false
106# default servlet to start with
107server.default.servlet=/library
108# whether to make the greenstone pages publicly accessible or only to this machine
109server.external.access=true
110
111##Browser setup
112browser.path=
113
114## Proxy setup - Greenstone installation will attempt to download extra packages. Set the proxy information here if you are behind a firewall.
115# The proxy server name
116proxy.host=
117# The proxy server port
118proxy.port=
119# A user name to use when talking to the proxy server (optional, will prompt if not entered here)
120proxy.user=
121# A password to use when talking to the proxy server (optional, will prompt if not entered here)
122proxy.password=
123
124## java compilation properties - for javac
125# Should compilation include the debug option?
126compile.debug=true
127# Should compilation include the deprecation option?
128compile.deprecation=true
129# Should compilation include the optimize option?
130compile.optimize=true
131
132# Properties that control cross-compiling
133compile.cross = false
134#cross.os = windows
135#cross.host = i686-w64-mingw32
136#cross.build = i686-pc-linux-gnu
137#cross.configure.extraargs =
138
139#cross.os = android
140#cross.host = arm-linux-androideabi
141#cross.build = i686-pc-linux-gnu
142#cross.configure.extraargs = gl_cv_header_working_stdint_h=yes
143
144
145# Control whether or not JNI bindings are used
146# e.g. MG, MG++ and GDBM and the like
147# Setting this false means these components are not available to the install
148# The expectation is that collections will be build from 100% Java components:
149# e.g Lucene and JDBM
150#
151# Ant 1.7.1 and before only test for *existence* so this needs to be commented
152# in or out to control whether jni is used or not
153with.jni=true
154
155## Controls whether or not we want GLI and GEMS to be checked out and compiled
156with.gli.and.gems=true
157
158## Control if compilation of gs2 is static or not. Used, for example, for distributions
159# Same issue as 'with.jni' for how this gets used in ant 1.7.1 and before
160#compile.static=true
161
162# A flag used by the release-kit to compile with gnomelib
163# (Previously this flag was called use.support.lib but got conflated with
164# the property checkout.gnomelib.ext below)
165#use.gnomelib.ext=true
166
167## Uncomment these lines if enabling compilation with the gnome-lib extension
168## and if compiling imagemagick
169## These extensions should be in the [gsdl3home]/gs2build/ext directory
170checkout.gnomelib.ext=true
171#checkout.imagemagick.ext=true
172
173# By default, GS3 will check out the pdfbox extension from SVN
174checkout.pdfbox.ext=true
175
176# The following two properties are automatically overridden by gs3-server
177# when running off a read-only medium such as a DVD ...
178#
179# The 'writable' home default is to be the same location as gsdl3.home
180gsdl3home.isreadonly=false
181gsdl3.writablehome=${basedir}/web
182
183# ... alternative the above can be changed to
184#
185# gsdl3home.isreadonly=true
186# gsdl3.writablehome=${java.io.tmpdir}/greenstone/web
187#
188# ... or else provided on the command line, e.g.:
189# ant -Dgsdl3home.isreadonly=true gsdl3.writablehome=/tmp/greenstone/web start
190
191## windows c++ compilation
192# The following property does not help in build.xml.
193# The user needs to run Visual Studio's vcvars32.bat script from the
194# MSDOS prompt before compiling Greenstone3 (before "ant prepare install")
195#compile.windows.c++.setup=C:/Program Files/Microsoft Visual Studio/VC98/Bin/VCVARS32.BAT
196
197##Flax stuff##
198##uncomment if you want to install flax
199#install.flax=true
200flax.checkout.path=${flax.svn.root}/trunk/flaxmain
201
202##These need to be uncommented if using Fedora and Fedora GSearch with Greenstone's tomcat
203fedora.home=#${basedir}/ext/fedora3
204#fedora.maxpermsize=-XX:MaxPermSize=128m
205#fedora.password=pounamu
206#index.writelock.timeout=10000
207
208##Web services related constants##
209base.webservice.name=SOAPServer
210##listing and description of all the web services deployable on GS3##
211web.services.list=${base.webservice.name} for Greenstone3's core web services, QBR${base.webservice.name} for Query, Browse and Retrieve services
212
Note: See TracBrowser for help on using the repository browser.