Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 62317a312e196dc3dcccf91b31f9d6d3e6ba0c1a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?xml version="1.0"?>
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure.dtd">

<!-- =============================================================== -->
<!-- Add a ContextProvider to the deployment manager                 -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<!-- This scans the webapps directory for war files and directories  -->
<!-- to deploy.                                                      -->
<!-- This configuration must be used with jetty-deploy.xml, which    -->
<!-- creates the deployment manager instance                         -->
<!-- =============================================================== -->
<Configure id="Server" class="org.eclipse.jetty.server.Server">
  <Ref id="DeploymentManager">
    <Call name="addAppProvider">
      <Arg>
        <New id="OverlayedAppProvider" class="org.eclipse.jetty.overlays.OverlayedAppProvider">
          <Set name="scanDir"><Property name="jetty.home" default="." />/overlays</Set>
          <Set name="nodeName"><Property name="node.name" default="nonameNode"/></Set>
          <Set name="scanInterval">1</Set>
        </New>
      </Arg>
    </Call>
  </Ref>
</Configure>

Back to the top