Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 339168 - a huge amount of resourceChanges are fired while XpandXtendBuilder is running
Summary: a huge amount of resourceChanges are fired while XpandXtendBuilder is running
Status: CLOSED FIXED
Alias: None
Product: M2T
Classification: Modeling
Component: Xpand (show other bugs)
Version: 1.0.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: M6   Edit
Assignee: Karsten Thoms CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-08 02:37 EST by Benedikt Niehues CLA
Modified: 2013-02-21 08:11 EST (History)
0 users

See Also:
karsten.thoms: indigo+


Attachments
the patch fixes this bug (14.46 KB, patch)
2011-03-08 02:40 EST, Benedikt Niehues CLA
karsten.thoms: iplog+
Details | Diff
introducing MarkerObect to store issues and errors in analyzationProcess (2.65 KB, patch)
2011-03-08 03:00 EST, Benedikt Niehues CLA
karsten.thoms: iplog+
Details | Diff
creating markers per file (11.99 KB, patch)
2011-03-08 03:02 EST, Benedikt Niehues CLA
karsten.thoms: iplog+
Details | Diff
creating markers per file (8.51 KB, patch)
2011-03-08 03:14 EST, Benedikt Niehues CLA
karsten.thoms: iplog+
Details | Diff
removing markers correctly (3.69 KB, patch)
2011-03-08 03:17 EST, Benedikt Niehues CLA
karsten.thoms: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Benedikt Niehues CLA 2011-03-08 02:37:53 EST
The Build of a xpand/xtend Project causes very much resourceChanges if there are many errors in the project. If there are other resourceChangeListener implemented the performance of the build will be bad.
Comment 1 Benedikt Niehues CLA 2011-03-08 02:40:49 EST
Created attachment 190618 [details]
the patch fixes this bug

errorMarkers will be created in a WorkspaceModifyOperation for each file and not for each single issue. This reduces ResourceChangeNotifications.
Comment 2 Benedikt Niehues CLA 2011-03-08 03:00:48 EST
Created attachment 190619 [details]
introducing MarkerObect to store issues and errors in analyzationProcess

MarkerObject is stores issues and errors in analyzationProcess
Comment 3 Benedikt Niehues CLA 2011-03-08 03:02:15 EST
Created attachment 190620 [details]
creating markers per file

the creation of problemMarkes will be done in one workspaceModifyOperation for each file and not for each issue. this reduces the amount of resourceChangeNotifications.
Comment 4 Benedikt Niehues CLA 2011-03-08 03:14:50 EST
Created attachment 190622 [details]
creating markers per file

the creation of problemMarkes will be done in one workspaceModifyOperation for
each file and not for each issue. this reduces the amount of
resourceChangeNotifications.
Comment 5 Benedikt Niehues CLA 2011-03-08 03:17:00 EST
Created attachment 190623 [details]
removing markers correctly

the removal of markers had to be adapted to the new process of markerCreation
Comment 6 Karsten Thoms CLA 2011-03-08 03:42:48 EST
Patches applied and pushed to master. Thank you!
Comment 7 Karsten Thoms CLA 2013-02-21 08:11:38 EST
Bug resolved before Xpand 1.2 release date => Closing