-
Notifications
You must be signed in to change notification settings - Fork 2
/
tika-jaxrs-remote.cfg
37 lines (29 loc) · 1.1 KB
/
tika-jaxrs-remote.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# This config file is used in a Plone deployment, when this Plone deployment
# is not shipped with a separate tika server, but uses a server-wide tika deployment.
# The standalone server-wide tika deployment can be based on
# tika-jaxrs-standalone.cfg.
#
# Please configure the tika:tika-deployment-number variable.
[buildout]
parts +=
tika-app-download
instance-eggs += ftw.tika
zcml-additional-fragments += ${tika:zcml}
tika-deployment-number = 99
[tika]
server-port = 1${buildout:tika-deployment-number}32
filename-app = tika-app.jar
filename-server = tika-server.jar
zcml =
<configure xmlns:tika="http://namespaces.plone.org/tika">
<tika:config path="${buildout:parts-directory}/tika-app-download/${tika:filename-app}"
port="${tika:server-port}" />
</configure>
[tika-app-download]
recipe = hexagonit.recipe.download
# Don't upgrade tika version without running integration tests!
url = http://repo1.maven.org/maven2/org/apache/tika/tika-app/1.5/tika-app-1.5.jar
md5sum = 2124a77289efbb30e7228c0f7da63373
download-only = true
filename = ${tika:filename-app}
mode = 664