]
Viacheslav Kabanovich resolved JBIDE-1785.
------------------------------------------
Resolution: Done
Now loading of previously built Seam model is 30-40 times faster than rebuild,
and takes only 3 seconds for a project with 1000 java files declaring seam components.
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: