ReviewDb no longer exists. Change-Id: If24fbcac71b5f46995b28d1f4879e23082a5e4a9 Signed-off-by: Edwin Kempin <ekempin@google.com>
33 lines
1.2 KiB
XML
33 lines
1.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" "http://www.eclipse.org/jetty/configure.dtd">
|
|
<!--
|
|
|
|
Jetty configuration to place "gerrit.war" into the root context,
|
|
so it answers to simple URLs like "/$changeid" and "/mine".
|
|
|
|
* Copy this file to $JETTY_HOME/contexts/gerrit.xml
|
|
|
|
* Copy www/gerrit-*.war to $JETTY_HOME/webapps/gerrit.war
|
|
|
|
* Make sure you remove $JETTY_HOME/context/test.xml
|
|
|
|
-->
|
|
<Configure id="wac" class="org.eclipse.jetty.webapp.WebAppContext">
|
|
<Set name="contextPath">/</Set>
|
|
<Set name="war"><SystemProperty name="jetty.home" default="."/>/webapps/gerrit.war</Set>
|
|
|
|
<Set name="extractWAR">true</Set>
|
|
<Set name="copyWebDir">true</Set>
|
|
<Set name="defaultsDescriptor"><SystemProperty name="jetty.home" default="."/>/etc/webdefault.xml</Set>
|
|
|
|
<Set name="ConfigurationClasses">
|
|
<Array type="java.lang.String">
|
|
<Item>org.eclipse.jetty.webapp.WebInfConfiguration</Item>
|
|
<Item>org.eclipse.jetty.webapp.WebXmlConfiguration</Item>
|
|
<Item>org.eclipse.jetty.plus.webapp.EnvConfiguration</Item>
|
|
<Item>org.eclipse.jetty.plus.webapp.Configuration</Item>
|
|
<Item>org.eclipse.jetty.webapp.JettyWebXmlConfiguration</Item>
|
|
</Array>
|
|
</Set>
|
|
</Configure>
|