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

Last change on this file since 30568 was 30568, checked in by ak19, 8 years ago

All the commits for a distributed GS3 on Windows (no changes made for linux yet). In a distributed GS3, the GS3 is installed in a read-only location and the tomcat runs from the writable TMP area, while the collections go to a writable userweb location specified by the user. (The DVD-only mode still works and is separate.) A problem remains, but exists in the TSG patched version too, and since the current commit breaks nothing, I'm committing it. The user needs to modify 4 properties in build.properties, one of which is new.They need to set using.user.web to true, set web.home to the userweb location, set gsdl3home.isreadonly to true and set gsdl3.writablehome to the tmpdir. The problem is that I can't successfully build the simple html collection if the GS3 installed location is read-only, as the perl code wants to create temporary files in gs2build\tmp which is read-only.

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