[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-6548) New CDI Stereotype/Qualifier/Scope/... wizards seem to invoke full build for the project.

Viacheslav Kabanovich (JIRA) jira-events at lists.jboss.org
Thu Jul 8 10:13:47 EDT 2010


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

Viacheslav Kabanovich commented on JBIDE-6548:
----------------------------------------------

We need initialization of CDI model to fill input fields that use it, e.g. 'Scope' combo box needs list of all scope annotation types available in the project.
New CDI wizards do not invoke full build after CDI model is initialized. Initialization itself is implemented as full build by CDI builder, we do not cache model, because most time is spent on binding CDI objects to JDT objects and in this caching does not help. 
I noticed that I called wrong build method that invoked all project builders instead of only CDI builder. I will fix that and expect that performance will be improved (no Java full build). 
And yes, progress monitor will be displayed.

> New CDI Stereotype/Qualifier/Scope/... wizards seem to invoke full build for the project.
> -----------------------------------------------------------------------------------------
>
>                 Key: JBIDE-6548
>                 URL: https://jira.jboss.org/browse/JBIDE-6548
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: cdi (jsr-299)
>    Affects Versions: 3.2.0.M1
>            Reporter: Alexey Kazakov
>            Assignee: Viacheslav Kabanovich
>            Priority: Critical
>             Fix For: 3.2.0.M2
>
>
> 1. Create any CDI project. Build it.
> 2. Close the Eclipse.
> 3. Re-open it.
> 4. New->CDI->Stereotype. Press Next
> 5. Eclipse hangs while the project is building (full build!).
> Why we need a full build? Why we don't show any progress view if we need to prepare CDI model for the wizard before run it and this process is long?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list