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