jetty-start fixed deploy of jetty.base

Set the jetty.base and jetty.home Properties for webapps/*.xml evaluation
This commit is contained in:
Greg Wilkins 2013-08-30 16:10:35 +10:00
parent 4d6fd407b5
commit 5948e8c7c2
1 changed files with 2 additions and 0 deletions

View File

@ -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());