428817 - jetty-start / Allow for property to configure deploy manager `webapps` directory

+ Adding 'jetty.deploy.monitoredDirName' property
This commit is contained in:
Joakim Erdfelt 2014-03-21 10:52:25 -07:00
parent 138dfba560
commit e1540be4cf
2 changed files with 7 additions and 1 deletions

View File

@ -39,7 +39,7 @@
<Call id="webappprovider" name="addAppProvider">
<Arg>
<New class="org.eclipse.jetty.deploy.providers.WebAppProvider">
<Set name="monitoredDirName"><Property name="jetty.base" default="." />/webapps</Set>
<Set name="monitoredDirName"><Property name="jetty.base" default="." />/<Property name="jetty.deploy.monitoredDirName" default="webapps"/></Set>
<Set name="defaultsDescriptor"><Property name="jetty.home" default="." />/etc/webdefault.xml</Set>
<Set name="scanInterval">1</Set>
<Set name="extractWars">true</Set>

View File

@ -13,3 +13,9 @@ webapps/
[xml]
etc/jetty-deploy.xml
[ini-template]
## DeployManager configuration
# Monitored Directory name (relative to jetty.base)
# jetty.deploy.monitoredDirName=webapps