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

Last change on this file since 29903 was 29903, checked in by ak19, 9 years ago

Changing over from embedded derby db to networked derby server. Not yet tested on windows.

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