return webApp;
}
public static TldTaglib readTldTaglib(URL url) throws OpenEJBException {
// TOMEE-164 Optimization on reading built-in tld files
if (url.getPath().contains("jstl-1.2.jar")) return new TldTaglib();
if (url.getPath().contains("myfaces-impl")) {
final TldTaglib taglib = new TldTaglib();
final Listener listener = new Listener();
listener.setListenerClass("org.apache.myfaces.webapp.StartupServletContextListener");
taglib.getListener().add(listener);
return taglib;
}
TldTaglib tldTaglib;
try {
tldTaglib = (TldTaglib) JaxbJavaee.unmarshalTaglib(TldTaglib.class, IO.read(url));
} catch (SAXException e) {
throw new OpenEJBException("Cannot parse the JSP tag library definition file: " + url.toExternalForm(), e);
} catch (JAXBException e) {