Failure to load beans.xml from multiple locations
-------------------------------------------------
Key: WELD-724
URL:
https://jira.jboss.org/browse/WELD-724
Project: Weld
Issue Type: Bug
Affects Versions: 1.1.0.Beta1
Reporter: Clint Popetz
URLScanner is depending on there being only one instance of META-INF/beans.xml on the
classpath when loading beans.xml from jar. I don't have a standalone example of this,
because it's occurring within eclipse, but in our case when scanning at startup the
scanner would see beans.xml in the weld core jar but rather than loading it, would load
two copies of a META-INF/beans.xml that it found on the classpath outside of that jar.
Attached is a patch that fixes this for us.
--
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