[jbosstools-issues] [JBoss JIRA] (JBIDE-18964) Changing bean discovery mode doesn't run validation for existing beans
Viacheslav Kabanovich (JIRA)
issues at jboss.org
Tue Dec 16 13:15:32 EST 2014
[ https://issues.jboss.org/browse/JBIDE-18964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13028062#comment-13028062 ]
Viacheslav Kabanovich commented on JBIDE-18964:
-----------------------------------------------
CDI Core builder checks discovery mode change:
{code}
//5.2.a Update bean discovery mode.
if(updateBeanDiscoveryMode()) {
kind = FULL_BUILD;
}
{code}
and does full build when it happens.
Validator, however, starts with incremental build and has to detect that bean mode changed since previous validation.
Current mode can be obtained as
{code}
CDICoreNature.getBeanDiscoveryMode()
{code}
Can validator be stateful, to keep last value of mode and compare it to the current one?
> Changing bean discovery mode doesn't run validation for existing beans
> ----------------------------------------------------------------------
>
> Key: JBIDE-18964
> URL: https://issues.jboss.org/browse/JBIDE-18964
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: cdi
> Affects Versions: 4.2.0.Final, 4.2.1.Final
> Reporter: Rastislav Wagner
> Assignee: Viacheslav Kabanovich
> Fix For: 4.3.0.Alpha1
>
>
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
More information about the jbosstools-issues
mailing list