ServletWebBeanDiscovery should scan /META-INF/beans.xml
-------------------------------------------------------
Key: WELDSERVLET-26
URL:
https://jira.jboss.org/browse/WELDSERVLET-26
Project: Weld Servlet
Issue Type: Bug
Affects Versions: 1.0.0.CR1
Reporter: Dan Allen
Assignee: Dan Allen
Fix For: 1.0.0.CR2
Original Estimate: 15 minutes
Remaining Estimate: 15 minutes
ServletWebBeanDiscovery.scan() looks for beans.xml rather than /META-INF/beans.xml. This
should be fixed to match the spec. The intro to chapter 11 reads:
Bean classes must be deployed in an EAR, WAR, EJB-JAR or JAR archive or directory in the
application classpath that has a file named beans.xml in the metadata directory (META-INF,
or WEB-INF in the case of a WAR). If a bean is deployed to a location that is not in the
application classpath, or does not contain a file named beans.xml in the metadata
directory, it will not be discovered by the container.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: