[weld-issues] [JBoss JIRA] (WELD-1023) Fail-fast when an <alternative> declaration in beans.xml is unused

Ales Justin (Commented) (JIRA) jira-events at lists.jboss.org
Wed Dec 7 07:18:40 EST 2011


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

Ales Justin commented on WELD-1023:
-----------------------------------

@Geoffrey: can you provide an ARQ test for this?

                
> Fail-fast when an <alternative> declaration in beans.xml is unused
> ------------------------------------------------------------------
>
>                 Key: WELD-1023
>                 URL: https://issues.jboss.org/browse/WELD-1023
>             Project: Weld
>          Issue Type: Enhancement
>            Reporter: Geoffrey De Smet
>
> I have this in my beans.xml:
>   <alternatives>
>     <class>org.drools.guvnor.server.repository.TestRepositoryStartupService</class>
>   </alternatives>
> The class exists, but because of whatever reason (CDI-18 in this case), it's not used.
> Yet, everything starts up happily and I think I am using my alternative (while I am not).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list