[jbosstools-issues] [JBoss JIRA] Closed: (JBIDE-9305) CDI Validation problem markers should be removed when CDI support is disabled

Jaroslav Jankovič (JIRA) jira-events at lists.jboss.org
Mon Aug 8 09:37:24 EDT 2011


     [ https://issues.jboss.org/browse/JBIDE-9305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jaroslav Jankovič closed JBIDE-9305.
------------------------------------



verified on JBoss Developer Studio 5.0.0.v201108060131N-H712-M3

> CDI Validation problem markers should be removed when CDI support is disabled
> -----------------------------------------------------------------------------
>
>                 Key: JBIDE-9305
>                 URL: https://issues.jboss.org/browse/JBIDE-9305
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: cdi
>    Affects Versions: 3.3.0.M2
>            Reporter: Alexey Kazakov
>            Assignee: Alexey Kazakov
>             Fix For: 3.3.0.M3
>
>
> EXECUTE: Create a CDI project (with CDI support enabled)
> EXECUTE: Add any CDI problem. For instance:
> {code}
> public class Test {
>     @Inject String foo;
>     @Produces
>     public String foo1() {
>         return "";
>     }
>     @Produces
>     public String foo2() {
>         return "";
>     }
> }
> {code}
> ASSERT: There is a CDI problem marker on @Inject String foo;
> EXECUTE: Disable CDI support in Project Properties page. Clean/re-build the project.
> {color:red}FAILURE:{color} There is still CDI problem markers in the project.
> {color:green}ASSERT:{color} The CDI problem disappeared.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the jbosstools-issues mailing list