[weld-issues] [JBoss JIRA] Commented: (WELD-719) multiple beans.xml causes classes to be added twice

Stuart Douglas (JIRA) jira-events at lists.jboss.org
Fri Oct 8 08:23:40 EDT 2010


    [ https://jira.jboss.org/browse/WELD-719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12556048#action_12556048 ] 

Stuart Douglas commented on WELD-719:
-------------------------------------

This does not actually result in multiple bean definitions, however it does result in multiple ProcessAnnotatedType events being fired, which can cause problems for portable extensions.

> multiple beans.xml causes classes to be added twice
> ---------------------------------------------------
>
>                 Key: WELD-719
>                 URL: https://jira.jboss.org/browse/WELD-719
>             Project: Weld
>          Issue Type: Bug
>          Components: Servlet Container Support
>            Reporter: Stuart Douglas
>
> If a war archive using weld-servlet has both WEB-INF/beans.xml and WEB-INF/classes/META-INF/beans.xml then classes are added twice. 
> This should probably cause a deployment error

-- 
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