jetty-start fixed deploy of jetty.base
Set the jetty.base and jetty.home Properties for webapps/*.xml evaluation
This commit is contained in:
parent
4d6fd407b5
commit
5948e8c7c2
|
@ -267,6 +267,8 @@ public class WebAppProvider extends ScanningAppProvider
|
|||
XmlConfiguration xmlc = new XmlConfiguration(resource.getURL());
|
||||
|
||||
xmlc.getIdMap().put("Server",getDeploymentManager().getServer());
|
||||
xmlc.getProperties().put("jetty.home",System.getProperty("jetty.home","."));
|
||||
xmlc.getProperties().put("jetty.base",System.getProperty("jetty.base","."));
|
||||
xmlc.getProperties().put("jetty.webapp",file.getCanonicalPath());
|
||||
xmlc.getProperties().put("jetty.webapps",file.getParentFile().getCanonicalPath());
|
||||
|
||||
|
|
Loading…
Reference in New Issue