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