Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 339168

Summary: a huge amount of resourceChanges are fired while XpandXtendBuilder is running
Product: [Modeling] M2T Reporter: Benedikt Niehues <benedikt.niehues>
Component: XpandAssignee: Karsten Thoms <karsten.thoms>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 Flags: karsten.thoms: indigo+
Version: 1.0.1   
Target Milestone: M6   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
the patch fixes this bug
karsten.thoms: iplog+
introducing MarkerObect to store issues and errors in analyzationProcess
karsten.thoms: iplog+
creating markers per file
karsten.thoms: iplog+
creating markers per file
karsten.thoms: iplog+
removing markers correctly karsten.thoms: iplog+

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