[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-1785) Build results should be stored to be loaded when Eclipse restarts

Viacheslav Kabanovich (JIRA) jira-events at lists.jboss.org
Tue Mar 4 12:39:08 EST 2008


    [ http://jira.jboss.com/jira/browse/JBIDE-1785?page=comments#action_12401293 ] 
            
Viacheslav Kabanovich commented on JBIDE-1785:
----------------------------------------------

Seam objects keep references to source objects in Java model and XModel. 
Those objects are not serializable. Hence, the main job is to store/load the references 
and it does not matter if code deals with XML elements or input/output streams. 
Deciding in favor of XML, I thought it being advantage to be able to look at the human-friendly result. 


> Build results should be stored to be loaded when Eclipse restarts
> -----------------------------------------------------------------
>
>                 Key: JBIDE-1785
>                 URL: http://jira.jboss.com/jira/browse/JBIDE-1785
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: Seam
>    Affects Versions: 2.0.0.GA
>            Reporter: Viacheslav Kabanovich
>         Assigned To: Viacheslav Kabanovich
>             Fix For: 2.1
>
>   Original Estimate: 1 week
>  Remaining Estimate: 1 week
>
> Currently, each time Eclipse starts, all java and xml files that had contributed to Seam model, are parsed to restore it. 
> Parsing takes a lot of time, a project with 1000 components takes 2 - 3 minutes to handle. We may not be able to improve it when full rebuild of project is selected, but we need to avoid that waste of time when once obtained build results are to be picked up by model at start. 
> I propose to serialize parsed seam component declarations into xml file (which is now used just to keep paths of files that contribute to seam model). It is better to keep xml human-readable, so that it is easier to solve problems, especially that may arise at future modifications to Seam model.
> Testing will include iteration on seam component declaration in just built Seam project, each one serialized, deserialized, and compared to the original to assert that no changes occurred.

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

        



More information about the jbosstools-issues mailing list