Skip to main content
summaryrefslogtreecommitdiffstats
blob: 6ab95b65d5843ecca9a15c1e07433e04ad9c79b9 (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
25
26
27
28
29
<?xml version="1.0"?>
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure.dtd">

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

  <Call name="addLifeCycle">
    <Arg>
      <New id="DeploymentManager" class="org.eclipse.jetty.deploy.DeploymentManager">
        <Set name="contexts">
          <Ref id="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>

Back to the top