mirror of
https://github.com/jetty/jetty.project.git
synced 2025-02-25 17:06:26 +00:00
jetty-9 more xml configuration
This commit is contained in:
parent
9940796a32
commit
e596d6eef6
@ -9,7 +9,7 @@ public class TestXml
|
||||
System.setProperty("jetty.home","../jetty-distribution/target/distribution");
|
||||
XmlConfiguration.main(new String[]
|
||||
{
|
||||
"../jetty-jmx/src/main/config/etc/jetty-jmx.xml",
|
||||
// "../jetty-jmx/src/main/config/etc/jetty-jmx.xml",
|
||||
"../jetty-server/src/main/config/etc/jetty.xml",
|
||||
"../jetty-spdy/spdy-jetty-http-webapp/src/main/config/etc/jetty-spdy.xml"
|
||||
}
|
||||
|
@ -1,2 +0,0 @@
|
||||
OPTIONS=plus
|
||||
etc/jetty-plus.xml
|
@ -0,0 +1,2 @@
|
||||
OPTIONS=plus
|
||||
etc/jetty-plus.xml
|
@ -785,7 +785,7 @@ public class XmlConfiguration
|
||||
{
|
||||
String id = node.getAttribute("id");
|
||||
obj = _idMap.get(id);
|
||||
if (obj == null)
|
||||
if (obj == null && node.size()>0)
|
||||
throw new IllegalStateException("No object for id=" + id);
|
||||
configure(obj,node,0);
|
||||
return obj;
|
||||
|
Loading…
x
Reference in New Issue
Block a user