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

Alexey Kazakov (JIRA) jira-events at lists.jboss.org
Sun Sep 4 14:12:26 EDT 2011


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

Alexey Kazakov commented on JBIDE-9271:
---------------------------------------

Snjezana, what I did:
1. cloned https://github.com/forge/core 
2. imported it as an existing maven project
3. opened BaseFacet.java, edited it, saved, edited, saved, etc.
It took about 7 seconds to re-build the projects for CDI builder in this case. But after the fix it takes only 0,07 - 0,15 s. It was a problem of incremental validation in CDI builder.

> 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: Snjezana Peco
>            Priority: Critical
>             Fix For: 3.3.0.M4
>
>         Attachments: JBIDE-9271.patch, JBT_CDI_Builder.mov
>
>
> 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