[weld-issues] [JBoss JIRA] Updated: (WELD-724) Failure to load beans.xml from multiple locations
Clint Popetz (JIRA)
jira-events at lists.jboss.org
Mon Oct 11 10:21:39 EDT 2010
[ https://jira.jboss.org/browse/WELD-724?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Clint Popetz updated WELD-724:
------------------------------
Attachment: URLScanner.java.diff
> 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
> Attachments: URLScanner.java.diff
>
>
> 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
More information about the weld-issues
mailing list