Jan Šmucr
2014-11-27 0e287b2e5c29e7674e54d80ed90e79f5b5432968
src/main/java/WEB-INF/web.xml
@@ -1,38 +1,49 @@
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.4"
   xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
   <!-- The base folder is used to specify the root location of your Gitblit data.
         ${baseFolder}/gitblit.properties
         ${baseFolder}/users.conf
         ${baseFolder}/projects.conf
         ${baseFolder}/robots.txt
         ${baseFolder}/git
         ${baseFolder}/groovy
         ${baseFolder}/groovy/grape
         ${baseFolder}/proposals
      By default, this location is WEB-INF/data.  It is recommended to set this
      path to a location outside your webapps folder that is writable by your
      servlet container.  Gitblit will copy the WEB-INF/data files to that
      location for you when it restarts.  This approach makes upgrading simpler.
      All you have to do is set this parameter for the new release and then
      review the defaults for any new settings.  Settings are always versioned
      with a SINCE x.y.z attribute and also noted in the release changelog.
      -->
   <env-entry>
      <description>The base folder is used to specify the root location of your Gitblit data.</description>
      <env-entry-name>baseFolder</env-entry-name>
      <env-entry-type>java.lang.String</env-entry-type>
      <env-entry-value>${contextFolder}/WEB-INF/data</env-entry-value>
   </env-entry>
   <!-- Gitblit Displayname -->
   <display-name>
      Gitblit - @gb.version@
   </display-name>
   <!-- PARAMS -->
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.4"
   xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
   <!-- The base folder is used to specify the root location of your Gitblit data.
         ${baseFolder}/gitblit.properties
         ${baseFolder}/users.conf
         ${baseFolder}/projects.conf
         ${baseFolder}/robots.txt
         ${baseFolder}/git
         ${baseFolder}/groovy
         ${baseFolder}/groovy/grape
         ${baseFolder}/proposals
      By default, this location is WEB-INF/data.  It is recommended to set this
      path to a location outside your webapps folder that is writable by your
      servlet container.  Gitblit will copy the WEB-INF/data files to that
      location for you when it restarts.  This approach makes upgrading simpler.
      All you have to do is set this parameter for the new release and then
      review the defaults for any new settings.  Settings are always versioned
      with a SINCE x.y.z attribute and also noted in the release changelog.
      -->
   <env-entry>
      <description>The base folder is used to specify the root location of your Gitblit data.</description>
      <env-entry-name>baseFolder</env-entry-name>
      <env-entry-type>java.lang.String</env-entry-type>
      <env-entry-value>${contextFolder}/WEB-INF/data</env-entry-value>
   </env-entry>
   <!-- Gitblit Displayname -->
   <display-name>Gitblit - @gb.version@</display-name>
   <listener>
        <listener-class>com.gitblit.servlet.GitblitContext</listener-class>
   </listener>
   <filter>
       <filter-name>guiceFilter</filter-name>
      <filter-class>com.google.inject.servlet.GuiceFilter</filter-class>
   </filter>
   <filter-mapping>
      <filter-name>guiceFilter</filter-name>
      <url-pattern>/*</url-pattern>
   </filter-mapping>
</web-app>