mirror of
https://github.com/jetty/jetty.project.git
synced 2025-03-01 11:29:29 +00:00
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…
x
Reference in New Issue
Block a user