[
https://jira.jboss.org/browse/WELD-602?page=com.atlassian.jira.plugin.sys...
]
Pete Muir commented on WELD-602:
--------------------------------
I created a deployment with this structure
-------------------------
Library
-------------------------
library.jar:
/META-INF/
/META-INF/beans.xml
/org/
/org/jboss/
/org/jboss/weld/
/org/jboss/weld/environment/
/org/jboss/weld/environment/servlet/
/org/jboss/weld/environment/servlet/test/
/org/jboss/weld/environment/servlet/test/libraries/
/org/jboss/weld/environment/servlet/test/libraries/Camel.class
-------------------------
War
-------------------------
test.war:
/META-INF/
/META-INF/context.xml
/WEB-INF/
/WEB-INF/lib/
/WEB-INF/lib/weld-servlet-1.1.0-SNAPSHOT.jar
/WEB-INF/lib/library.jar
/WEB-INF/beans.xml
/WEB-INF/web.xml
/WEB-INF/classes/
/WEB-INF/classes/org/
/WEB-INF/classes/org/jboss/
/WEB-INF/classes/org/jboss/weld/
/WEB-INF/classes/org/jboss/weld/environment/
/WEB-INF/classes/org/jboss/weld/environment/servlet/
/WEB-INF/classes/org/jboss/weld/environment/servlet/test/
/WEB-INF/classes/org/jboss/weld/environment/servlet/test/libraries/
/WEB-INF/classes/org/jboss/weld/environment/servlet/test/libraries/Needle.class
bean discovery doesn't scan jar files
-------------------------------------
Key: WELD-602
URL:
https://jira.jboss.org/browse/WELD-602
Project: Weld
Issue Type: Bug
Components: Servlet Container Support
Affects Versions: 1.0.0.CR1
Reporter: Mike Wilson
Fix For: 1.1.0.BETA2
Bean discovery only scans WEB-INF/classes and not jar files in WEB-INF/lib. According to
section 12.1 of the WebBeans spec it should scan every jar that includes a
META-INF/beans.xml.
This results in beans not being discovered in applications that are modularized into
multiple jar files.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira