[jbosstools-issues] [JBoss JIRA] Resolved: (JBIDE-9608) When a cdi project is modified, each of projects that depend on it should be updated only once.

Viacheslav Kabanovich (JIRA) jira-events at lists.jboss.org
Wed Aug 31 19:07:26 EDT 2011


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

Viacheslav Kabanovich resolved JBIDE-9608.
------------------------------------------

    Resolution: Done


> When a cdi project is modified, each of projects that depend on it should be updated only once.
> -----------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-9608
>                 URL: https://issues.jboss.org/browse/JBIDE-9608
>             Project: Tools (JBoss Tools)
>          Issue Type: Sub-task
>          Components: cdi
>            Reporter: Viacheslav Kabanovich
>            Assignee: Viacheslav Kabanovich
>             Fix For: 3.3.0.M3
>
>         Attachments: JBIDE-9608.patch
>
>
> Let there be three cdi projects: p1 depends on p2 and p3; p2 depends on p3. All dependencies are explicit. When change in p3 takes place, builder of p3 calls update for dependent projects p1, p2. Now update is implemented recurrently: update of p2 will call update of projects that depend on it, hence update of p1 will be called twice. If there are N projects in similar hierarchy, when the top project is modified, update of the bottom project will be called 2^(N - 2) times. Instead, we should remove recurrence and just collect projects that should be updated.

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