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

Last change on this file since 28297 was 28297, checked in by jlwhisler, 11 years ago

Allowing the user to customise the context name of GS3.

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