source: main/trunk/greenstone3/build.properties.in@ 31868

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