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

Last change on this file since 32429 was 32429, checked in by ak19, 6 years ago

solr should only be accessible locally (from localhost, specifically 127.0.0.1) which means over http. This conflicted with the previous design of the properties file for working with http and/or https. Now we have tomcat.port.https and localhost.port.http, both always set. In place of server.protocol that used to contain the default protocol, we now have server.protocols which can be set to a comma separated list of one or both of http and https. Drastic restructuring followed. I think I've tested all but https certification stuff.

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