<?xml version="1.0"?>
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure_9_0.dtd">

<Configure id="Server" class="org.eclipse.jetty.server.Server">

  <Call name="addBean">
    <Arg>
      <New id="DeploymentManager" class="org.eclipse.jetty.deploy.DeploymentManager">
        <Set name="contexts">
          <Ref refid="Contexts" />
        </Set>

        <!-- Providers of Apps -->
        <Set name="appProviders">
          <Array type="org.eclipse.jetty.deploy.AppProvider">
            <Item>
             <New class="org.eclipse.jetty.deploy.providers.WebAppProvider">
              <Set name="monitoredDirName"><SystemProperty name="jetty.home" />/webapps</Set>
              <Set name="scanInterval">1</Set>
              <Set name="tempDir"><Property name="jetty.home" default="target" />/workish</Set>
             </New>
            </Item>
          </Array>
        </Set>
      </New>
    </Arg>
  </Call>

</Configure>
