[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-9271) Workspace locks/slow when Invoking 'CDI (Contexts and Dependency Injection Builder)' on 'project'

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


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

Viacheslav Kabanovich commented on JBIDE-9271:
----------------------------------------------

Build of CDI model is done in two steps. First, wrappers over Java types or other bean sources are created - these objects are updated incrementally. Second, bean objects are created from the wrappers - that was done at each update from the scratch to ensure taking into account any changes caused by implicit links. However, it seems that majority of bean object can be reused for incremental builds and there is a simple and safe criterion for that.

> Workspace locks/slow when Invoking 'CDI (Contexts and Dependency Injection Builder)' on 'project'
> -------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-9271
>                 URL: https://issues.jboss.org/browse/JBIDE-9271
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: cdi, maven
>         Environment: Linux Ubuntu x64 Natty
> Eclipse Indigo 3.7
> Java 1.6.0_24
> JBoss Tools Nightly
>            Reporter: Lincoln Baxter III
>            Assignee: Viacheslav Kabanovich
>            Priority: Critical
>             Fix For: 3.3.0.M3
>
>
> Invoking 'CDI (Contexts and Dependency Injection Builder)' on 'project' causes the workspace to lock whenever a file is changed.
> Check out this project:
> https://github.com/ocpsoft/rewrite
> Import in to workspace as maven project. Open a source file in API. Change the file. Try to change or save any other file (the workspace locks while it waits for CDI builder to finish.)
> Very annoying :)

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