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

Bug 201562

Summary: [plan] Implement notifications for file content changes in grid model notification service
Product: z_Archived Reporter: Mathias Stümpert <mathias.stuempert>
Component: GeclipseAssignee: Mathias Stümpert <mathias.stuempert>
Status: CLOSED FIXED QA Contact:
Severity: critical    
Priority: P3 CC: mariusz.wojtysiak, uranium
Version: unspecifiedKeywords: plan
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 194767    

Description Mathias Stümpert CLA 2007-08-29 09:37:33 EDT
The Grid model notification service currently only reports about creations or deletions of files. For some use-cases it is also important to be informed if the content of a file changes. Therefore the notification service has to catch such changes and afterwards has to deliver a notification of these changes to its listeners.
Comment 1 Mateusz Pabis CLA 2007-11-19 09:07:20 EST
This is a very important improvement since any action performed on file/directory that changes properties shows no effect in g-Eclipse.

However, after restart of g-Eclipse changes are visible. 

It looks like since this bug is not fixed any functionality of g-Eclipse concerning changing file size, file comments etc. is useless from the user perspective.
Comment 2 Szymon Mueller CLA 2007-11-30 05:20:48 EST
This bug is very unintuitive for user. Recently I discovered it when trying to submit jsdl file with stage-out files. Usually I use wizard only to create jsdl, and enter all the parameters using editor.

After choosing stage-out file I submitted a job, but no output folders were created under this job in 'grid project view' as well as in 'jobs view'. After the job ended successfully the stage-out files were created on grid, but still i couldn't use 'jobs view' to view them. Only after restarting geclipse and submitting that jsdl again output folder was created.
Comment 3 Mariusz Wojtysiak CLA 2007-11-30 05:25:17 EST
I'd like to admit, that in Szymon's problem links to output files were not created, because model (object JsdlJobDescription) was not updated after editing jsdl!
Comment 4 Mathias Stümpert CLA 2007-12-20 09:05:07 EST
The Grid model notification service does now send notifications for elements changes. This also includes changes of file contents. The changes are reported with the usual IGridModelEvents with flag ELEMENTS_CHANGED.
Comment 5 Mathias Stümpert CLA 2007-12-20 09:06:50 EST
closing this item