[jbosstools-issues] [JBoss JIRA] (JBIDE-15638) New CDI Bean wizard should require a scope for CDI 1.1 project with beans.xml in annotated mode

Alexey Kazakov (JIRA) issues at jboss.org
Mon Feb 17 14:19:47 EST 2014


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

Alexey Kazakov commented on JBIDE-15638:
----------------------------------------

You have to have CDI 1.1 jars in the project class path if you want to have enable CDI 1.1 support. It doesn't matter which version of CDI facet is used in the project.
So when you deploy your project to AS 7.1 (CDI 1.0) you can't use CDI 1.1.
                
> New CDI Bean wizard should require a scope for CDI 1.1 project with beans.xml in annotated mode
> -----------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-15638
>                 URL: https://issues.jboss.org/browse/JBIDE-15638
>             Project: Tools (JBoss Tools)
>          Issue Type: Enhancement
>          Components: cdi
>            Reporter: Alexey Kazakov
>            Assignee: Viacheslav Kabanovich
>             Fix For: 4.2.0.Alpha1
>
>
> 1. Create a CDI 1.1 Web project
> 2. File->New->Bean->
> 3. Enter any name of the bean
> 4. There should be an error message in the wizard saying Bean scope should be set in archives with bean discovery mode 'annotated'

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list