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

Last change on this file since 31115 was 30672, checked in by kjdon, 8 years ago

renamed custom.context to greenstone.context

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