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

Last change on this file since 34322 was 33974, checked in by kjdon, 4 years ago

added in new oai.servlets field - if you want to run two oaiservlets, add the servlet url name to this list

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