[18227] | 1 | #### properties file for Greenstone3 building using ANT. See the README for more
|
---|
| 2 | #### information
|
---|
| 3 |
|
---|
| 4 | ## Tomcat installation
|
---|
[31489] | 5 |
|
---|
[19842] | 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
|
---|
[18227] | 9 | tomcat.server=localhost
|
---|
[32346] | 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.
|
---|
[32337] | 19 | tomcat.port.http=8383
|
---|
[32347] | 20 | #tomcat.port.https=8443
|
---|
[32346] | 21 | # You must set a password if using https (if tomcat.port.https is uncommented above)
|
---|
| 22 | keystore.pass=
|
---|
| 23 |
|
---|
[18227] | 24 | # Tomcat's shutdown port - this may need to be changed if you are running two or more Tomcats
|
---|
[24604] | 25 | tomcat.shutdown.port=8305
|
---|
[32346] | 26 |
|
---|
[18227] | 27 | # If tomcat is already running, enter the path to the base directory here
|
---|
| 28 | tomcat.installed.path=
|
---|
[19842] | 29 | # uncomment the following if you have moved the greenstone3 web directory to tomcats webapps dir
|
---|
[18227] | 30 | #web.home=${tomcat.installed.path}/webapps/greenstone3
|
---|
| 31 |
|
---|
[30672] | 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 |
|
---|
[31489] | 35 | # solr generally lives off /solr from the base greenstone URL
|
---|
| 36 | solr.context=solr
|
---|
| 37 |
|
---|
| 38 |
|
---|
[30573] | 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:
|
---|
[30568] | 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 |
|
---|
[29903] | 49 | # Default derby networked server portnumber is 1527, can change this here in case of conflict
|
---|
| 50 | derby.server.port=1527
|
---|
[29977] | 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
|
---|
[29903] | 54 |
|
---|
[18227] | 55 | ## Collection building options
|
---|
| 56 | # uncomment if you don't want to have collection building enabled
|
---|
| 57 | #disable.collection.building=true
|
---|
[23849] | 58 | #
|
---|
| 59 | # uncomment (and edit) if you want to control where perl is found
|
---|
| 60 | #perl.path=/usr/bin
|
---|
[18227] | 61 |
|
---|
| 62 | ## Greenstone 3 server program options
|
---|
| 63 | # does running the server automatically start up Tomcat and a browser
|
---|
| 64 | server.auto.start=false
|
---|
[24207] | 65 | # if set to true, won't try other ports if the specified port is not available
|
---|
| 66 | server.keep.port=false
|
---|
[18227] | 67 | # default servlet to start with
|
---|
[25386] | 68 | server.default.servlet=/library
|
---|
[29845] | 69 | # whether to make the greenstone pages publicly accessible or only to this machine
|
---|
| 70 | server.external.access=true
|
---|
[18227] | 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 |
|
---|
[19932] | 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
|
---|
[18227] | 92 |
|
---|
[26766] | 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 |
|
---|
[26792] | 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
|
---|
[26766] | 104 |
|
---|
[26792] | 105 |
|
---|
[22184] | 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 |
|
---|
[23807] | 116 | ## Controls whether or not we want GLI and GEMS to be checked out and compiled
|
---|
[23808] | 117 | with.gli.and.gems=true
|
---|
[23807] | 118 |
|
---|
[22184] | 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
|
---|
[19932] | 121 | #compile.static=true
|
---|
| 122 |
|
---|
[27185] | 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
|
---|
[22184] | 127 |
|
---|
[27185] | 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
|
---|
[27187] | 131 | #checkout.gnomelib.ext=true
|
---|
[27185] | 132 | #checkout.imagemagick.ext=true
|
---|
| 133 |
|
---|
[28259] | 134 | # By default, GS3 will check out the pdfbox extension from SVN
|
---|
| 135 | checkout.pdfbox.ext=true
|
---|
| 136 |
|
---|
[27828] | 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 |
|
---|
[19932] | 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 |
|
---|
[18227] | 158 | ##Flax stuff##
|
---|
| 159 | ##uncomment if you want to install flax
|
---|
| 160 | #install.flax=true
|
---|
[19035] | 161 | flax.checkout.path=${flax.svn.root}/trunk/flaxmain
|
---|
[18227] | 162 |
|
---|
[26363] | 163 | ##These need to be uncommented if using Fedora and Fedora GSearch with Greenstone's tomcat
|
---|
| 164 | fedora.home=#${basedir}/ext/fedora3
|
---|
[26359] | 165 | #fedora.maxpermsize=-XX:MaxPermSize=128m
|
---|
[26363] | 166 | #fedora.password=pounamu
|
---|
[26433] | 167 | #index.writelock.timeout=10000
|
---|
[26357] | 168 |
|
---|
[18227] | 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
|
---|
[32334] | 173 |
|
---|