bug 317231 ability to define the jety configuration in a fragment that contains an etc/jetty.xml file
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2026 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
parent
211cfb87af
commit
ce7a271f7d
|
@ -201,7 +201,7 @@ public class WebappRegistrationHelper
|
|||
public void setup(BundleContext context, Map<String, String> configProperties) throws Exception
|
||||
{
|
||||
Enumeration<?> enUrls = context.getBundle().findEntries("/etc", "jetty.xml", false);System.err.println();
|
||||
if (enUrls.hasMoreElements())
|
||||
if (enUrls != null && enUrls.hasMoreElements())
|
||||
{
|
||||
URL url = (URL) enUrls.nextElement();
|
||||
if (url != null)
|
||||
|
|
Loading…
Reference in New Issue