commit | author | age
|
17e2d3
|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
c828cf
|
2 |
<web-app version="2.4" |
17e2d3
|
3 |
xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
28980c
|
4 |
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_3_0.xsd"> |
17e2d3
|
5 |
|
JM |
6 |
<!-- The base folder is used to specify the root location of your Gitblit data. |
|
7 |
|
|
8 |
${baseFolder}/gitblit.properties |
|
9 |
${baseFolder}/users.conf |
|
10 |
${baseFolder}/projects.conf |
|
11 |
${baseFolder}/robots.txt |
|
12 |
${baseFolder}/git |
|
13 |
${baseFolder}/groovy |
|
14 |
${baseFolder}/groovy/grape |
|
15 |
${baseFolder}/proposals |
|
16 |
|
|
17 |
By default, this location is WEB-INF/data. It is recommended to set this |
|
18 |
path to a location outside your webapps folder that is writable by your |
|
19 |
servlet container. Gitblit will copy the WEB-INF/data files to that |
|
20 |
location for you when it restarts. This approach makes upgrading simpler. |
|
21 |
All you have to do is set this parameter for the new release and then |
|
22 |
review the defaults for any new settings. Settings are always versioned |
|
23 |
with a SINCE x.y.z attribute and also noted in the release changelog. |
|
24 |
--> |
|
25 |
<env-entry> |
|
26 |
<description>The base folder is used to specify the root location of your Gitblit data.</description> |
|
27 |
<env-entry-name>baseFolder</env-entry-name> |
|
28 |
<env-entry-type>java.lang.String</env-entry-type> |
|
29 |
<env-entry-value>${contextFolder}/WEB-INF/data</env-entry-value> |
|
30 |
</env-entry> |
|
31 |
|
|
32 |
<!-- Gitblit Displayname --> |
|
33 |
<display-name>Gitblit - @gb.version@</display-name> |
|
34 |
|
c828cf
|
35 |
<listener> |
JM |
36 |
<listener-class>com.gitblit.servlet.GitblitContext</listener-class> |
|
37 |
</listener> |
|
38 |
|
|
39 |
<filter> |
|
40 |
<filter-name>guiceFilter</filter-name> |
|
41 |
<filter-class>com.google.inject.servlet.GuiceFilter</filter-class> |
|
42 |
</filter> |
|
43 |
|
|
44 |
<filter-mapping> |
|
45 |
<filter-name>guiceFilter</filter-name> |
|
46 |
<url-pattern>/*</url-pattern> |
|
47 |
</filter-mapping> |
28980c
|
48 |
|
JJ |
49 |
<session-config> |
|
50 |
<tracking-mode>COOKIE</tracking-mode> |
|
51 |
</session-config> |
ec2456
|
52 |
</web-app> |