forked from spinfo/autoChirp
-
Notifications
You must be signed in to change notification settings - Fork 2
/
autochirp.xml
92 lines (80 loc) · 2.75 KB
/
autochirp.xml
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure_9_0.dtd">
<Configure id="autochirp" class="org.eclipse.jetty.webapp.WebAppContext">
<Set name="contextPath">/autochirp</Set>
<Set name="war">/srv/autochirp.war</Set>
<Set name="tempDirectory">/tmp/autochirp</Set>
<Get id="tempDirectory" name="tempDirectory"/>
<Call name="setInitParameter">
<Arg>org.eclipse.jetty.servlet.SessionIdPathParameterName</Arg>
<Arg>none</Arg>
</Call>
<Call class="java.lang.System" name="setProperty">
<Arg>classpath</Arg>
<Arg><Ref refid="tempDirectory"/>/webapp/WEB-INF/classes</Arg>
</Call>
<New class="org.eclipse.jetty.plus.jndi.EnvEntry">
<Arg><Ref refid="autochirp"/></Arg>
<Arg>autochirp.database.dbfile</Arg>
<Arg type="java.lang.String">
/data/database.sqlite
</Arg>
<Arg type="boolean">true</Arg>
</New>
<New class="org.eclipse.jetty.plus.jndi.EnvEntry">
<Arg><Ref refid="autochirp"/></Arg>
<Arg>autochirp.database.schema</Arg>
<Arg type="java.lang.String">
<SystemProperty name="classpath"/>/database/schema.sql
</Arg>
<Arg type="boolean">true</Arg>
</New>
<New class="org.eclipse.jetty.plus.jndi.EnvEntry">
<Arg><Ref refid="autochirp"/></Arg>
<Arg>autochirp.domain</Arg>
<Arg type="java.lang.String">
https://www.example.org
</Arg>
<Arg type="boolean">true</Arg>
</New>
<New class="org.eclipse.jetty.plus.jndi.EnvEntry">
<Arg><Ref refid="autochirp"/></Arg>
<Arg>autochirp.flashcards.directory</Arg>
<Arg type="java.lang.String">
<SystemProperty name="classpath"/>/static/img/flashcards
</Arg>
<Arg type="boolean">true</Arg>
</New>
<New class="org.eclipse.jetty.plus.jndi.EnvEntry">
<Arg><Ref refid="autochirp"/></Arg>
<Arg>autochirp.parser.dateformats</Arg>
<Arg type="java.lang.String">
<SystemProperty name="classpath"/>/parser/datetime.formats
</Arg>
<Arg type="boolean">true</Arg>
</New>
<New class="org.eclipse.jetty.plus.jndi.EnvEntry">
<Arg><Ref refid="autochirp"/></Arg>
<Arg>autochirp.parser.uploadtemp</Arg>
<Arg type="java.lang.String">
/data/uploads
</Arg>
<Arg type="boolean">true</Arg>
</New>
<New class="org.eclipse.jetty.plus.jndi.EnvEntry">
<Arg><Ref refid="autochirp"/></Arg>
<Arg>spring.social.twitter.appId</Arg>
<Arg type="java.lang.String">
twitterAppId
</Arg>
<Arg type="boolean">true</Arg>
</New>
<New class="org.eclipse.jetty.plus.jndi.EnvEntry">
<Arg><Ref refid="autochirp"/></Arg>
<Arg>spring.social.twitter.appSecret</Arg>
<Arg type="java.lang.String">
twitterAppSecret
</Arg>
<Arg type="boolean">true</Arg>
</New>
</Configure>