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

Last change on this file since 28636 was 28636, checked in by ak19, 7 years ago

As part of getting diffcol to work with GS3, GS3 needs to be compiled up, for which the following changes were made: 1. Modifications to build.properties and build.xml to checkout and set up gnome-lib-minimal and still pass the --enable-gnome-lib-ext flag to build-src/configure.in. 2. Fixing up build-src/Makefile.in so that sourcing gnome-lib can work on Ubuntu, which uses dash instead of bash and so does not recongise pushd/popd or source (only the dot). To get the build-src Makefile to work on Ubuntu, Makefile.in now sets the SHELL to be bin/bash for running make, and then executes the commands for sourcing gnome-lib in the same subshell as the one which compiles up build-src subdirs like wvware.

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.gnomelibmin.ext=true
99#checkout.gnomelib.ext=true
100#checkout.imagemagick.ext=true
101
102# By default, GS3 will check out the pdfbox extension from SVN
103checkout.pdfbox.ext=true
104
105# The following two properties are automatically overridden by gs3-server
106# when running off a read-only medium such as a DVD ...
107#
108# The 'writable' home default is to be the same location as gsdl3.home
109gsdl3home.isreadonly=false
110gsdl3.writablehome=${basedir}/web
111
112# ... alternative the above can be changed to
113#
114# gsdl3home.isreadonly=true
115# gsdl3.writablehome=${java.io.tmpdir}/greenstone/web
116#
117# ... or else provided on the command line, e.g.:
118# ant -Dgsdl3home.isreadonly=true gsdl3.writablehome=/tmp/greenstone/web start
119
120## windows c++ compilation
121# The following property does not help in build.xml.
122# The user needs to run Visual Studio's vcvars32.bat script from the
123# MSDOS prompt before compiling Greenstone3 (before "ant prepare install")
124#compile.windows.c++.setup=C:/Program Files/Microsoft Visual Studio/VC98/Bin/VCVARS32.BAT
125
126##Flax stuff##
127##uncomment if you want to install flax
128#install.flax=true
129flax.checkout.path=${flax.svn.root}/trunk/flaxmain
130
131##These need to be uncommented if using Fedora and Fedora GSearch with Greenstone's tomcat
132fedora.home=#${basedir}/ext/fedora3
133#fedora.maxpermsize=-XX:MaxPermSize=128m
134#fedora.password=pounamu
135#index.writelock.timeout=10000
136
137##Web services related constants##
138base.webservice.name=SOAPServer
139##listing and description of all the web services deployable on GS3##
140web.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.