#331045 small detail to deploy a WAB that does not have a web.xml through jetty-osgi
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2659 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
parent
4240756d46
commit
0cc109d772
|
@ -197,7 +197,7 @@ public class WebBundleTrackerCustomizer implements BundleTrackerCustomizer {
|
|||
// (draft) of the spec: just a couple of posts on the
|
||||
// world-wide-web.
|
||||
URL rfc66Webxml = bundle.getEntry("/WEB-INF/web.xml");
|
||||
if (rfc66Webxml == null)
|
||||
if (rfc66Webxml == null && dic.get(OSGiWebappConstants.RFC66_WEB_CONTEXTPATH) == null)
|
||||
{
|
||||
return false;// no webapp in here
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue