<?xml version="1.0"?>
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure_9_0.dtd">
<Configure class="org.eclipse.jetty.webapp.WebAppContext">
  <Set name="contextPath"><Property name="hostContext" default="/solr"/></Set>
  <Set name="war"><Property name="jetty.base"/>/webapps/solr.war</Set>
  <Set name="defaultsDescriptor"><Property name="jetty.base"/>/etc/webdefault.xml</Set>
  <Set name="tempDirectory"><Property name="jetty.base" default="."/>/solr-webapp</Set>
</Configure>

<?xml version="1.0"?>
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure_9_0.dtd">
<Configure class="org.eclipse.jetty.webapp.WebAppContext">
  <Set name="contextPath"><Property name="hostContext" default="/solr"/></Set>
  <Set name="war"><Property name="jetty.base"/>/webapps/solr.war</Set>
  <Set name="defaultsDescriptor"><Property name="jetty.base"/>/etc/webdefault.xml</Set>
  <Set name="tempDirectory"><Property name="jetty.base" default="."/>/solr-webapp</Set>
  <Set name="persistTempDirectory">true</Set>
</Configure>

Set Jetty 9's new option to persist its temp directory (persistTempDirectory) - where the war is exploded - to true, so that the server/solr-webapp/ directory doesn't get deleted when Jetty shuts down gracefully
SOLR-4839: Set Jetty 9's new option to persist its temp directory (persistTempDirectory) - where the war is exploded - to true, so that the server/solr-webapp/ directory doesn't get deleted when Jetty shuts down gracefully

git-svn-id: 308d55f399f3bd9aa0560a10e81a003040006c48@1650328 13f79535-47bb-0310-9956-ffa450edef68
