[jbosstools-issues] [JBoss JIRA] Issue Comment Edited: (JBIDE-7946) CDI Validatons does not seem to revalidate

Alexey Kazakov (JIRA) jira-events at lists.jboss.org
Mon Dec 20 06:10:17 EST 2010


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

Alexey Kazakov edited comment on JBIDE-7946 at 12/20/10 6:09 AM:
-----------------------------------------------------------------

The problem is reproducible if there are two CDI projects:
1. Project1
2. Project 2 (depends on Project1)
If we change any source from Project 2 then Project 2 won't be revalidated. The reason of this bug is that when we are gathering all the related projects we include all the required projects but don't include the modified one. The fix is trivial.

      was (Author: akazakov):
    The problem is reproducible if there are two CDI projects:
1. Project1 (has wst validation builder)
2. Project 2 (depends on Project1 but doesn't have validation builder)
  
> CDI Validatons does not seem to revalidate
> ------------------------------------------
>
>                 Key: JBIDE-7946
>                 URL: https://issues.jboss.org/browse/JBIDE-7946
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: cdi (jsr-299)
>    Affects Versions: 3.2.0.Beta2
>            Reporter: Max Andersen
>            Assignee: Alexey Kazakov
>            Priority: Critical
>             Fix For: 3.2.0.CR1
>
>
> See http://screencast.com/t/wHeXR8AdCQ
> Execute: create class with @Singleton annotiation and a public field
> Assert: Get error on class about CDI breakage (public field requires @Dependent scope)
> Execute: Remote the public field
> Assert: No error on class about CDI breakage
> Last assert fails. 
> Rebuilds, clean's etc. does not make it go away. 

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