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

Last change on this file since 33140 was 32762, checked in by davidb, 5 years ago

Adding in of AJP port as a property that can be controlled

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