summaryrefslogtreecommitdiffstats
path: root/sonar-server/src/dev/web.xml
diff options
context:
space:
mode:
authorsimonbrandhof <simon.brandhof@gmail.com>2010-09-06 14:08:06 +0000
committersimonbrandhof <simon.brandhof@gmail.com>2010-09-06 14:08:06 +0000
commitaeadc1f9129274949daaa57738c7c4550bdfbc7b (patch)
tree08dadf5ef7474fc41d1d48f74648f1ba8b55f34d /sonar-server/src/dev/web.xml
downloadsonarqube-aeadc1f9129274949daaa57738c7c4550bdfbc7b.tar.gz
sonarqube-aeadc1f9129274949daaa57738c7c4550bdfbc7b.zip
SONAR-236 remove deprecated code from checkstyle plugin + display default value of rule parameters in Q profile console
Diffstat (limited to 'sonar-server/src/dev/web.xml')
-rw-r--r--sonar-server/src/dev/web.xml76
1 files changed, 76 insertions, 0 deletions
diff --git a/sonar-server/src/dev/web.xml b/sonar-server/src/dev/web.xml
new file mode 100644
index 00000000000..afd470ea8e0
--- /dev/null
+++ b/sonar-server/src/dev/web.xml
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<web-app 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"
+ version="2.4">
+
+ <display-name>Sonar</display-name>
+
+ <context-param>
+ <param-name>jruby.min.runtimes</param-name>
+ <param-value>1</param-value>
+ </context-param>
+
+ <context-param>
+ <param-name>jruby.max.runtimes</param-name>
+ <param-value>3</param-value>
+ </context-param>
+
+ <env-entry>
+ <description>JNDI logback context</description>
+ <env-entry-name>logback/context-name</env-entry-name>
+ <env-entry-type>java.lang.String</env-entry-type>
+ <env-entry-value>Sonar</env-entry-value>
+ </env-entry>
+
+ <filter>
+ <filter-name>DatabaseSessionFilter</filter-name>
+ <filter-class>org.sonar.server.ui.DatabaseSessionFilter</filter-class>
+ </filter>
+ <filter>
+ <filter-name>RackFilter</filter-name>
+ <filter-class>org.sonar.server.ui.SonarRackFilter</filter-class>
+ <init-param>
+ <description>List of files extensions that will not be processed by the rack filter</description>
+ <param-name>exclusions</param-name>
+ <param-value>gif,png,ico,jpg,jpeg,css,js</param-value>
+ </init-param>
+ </filter>
+ <filter-mapping>
+ <filter-name>DatabaseSessionFilter</filter-name>
+ <url-pattern>/*</url-pattern>
+ </filter-mapping>
+ <filter-mapping>
+ <filter-name>RackFilter</filter-name>
+ <url-pattern>/*</url-pattern>
+ </filter-mapping>
+
+ <servlet>
+ <servlet-name>chart</servlet-name>
+ <servlet-class>org.sonar.server.charts.ChartsServlet</servlet-class>
+ </servlet>
+ <servlet>
+ <servlet-name>gchart</servlet-name>
+ <servlet-class>org.jfree.eastwood.ChartServlet</servlet-class>
+ </servlet>
+ <servlet-mapping>
+ <servlet-name>chart</servlet-name>
+ <url-pattern>/chart</url-pattern>
+ </servlet-mapping>
+ <servlet-mapping>
+ <servlet-name>gchart</servlet-name>
+ <url-pattern>/gchart</url-pattern>
+ </servlet-mapping>
+
+ <listener>
+ <listener-class>org.sonar.server.platform.PlatformLifecycleListener</listener-class>
+ </listener>
+ <listener>
+ <listener-class>ch.qos.logback.classic.selector.servlet.ContextDetachingSCL</listener-class>
+ </listener>
+
+ <session-config>
+ <session-timeout>30</session-timeout>
+ </session-config>
+
+</web-app> \ No newline at end of file