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

Last change on this file since 33462 was 33462, checked in by ak19, 5 years ago

Tested new tomcat.allowLinking property on Windows too now and it behaves correctly. Cleaning up debug statements and moving properties in build.properties around so that https related proeprties remain grouped together as before.

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