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

Bug 318580

Summary: MWELaunchDelegate causes continuous workspace refreshes.
Product: [Modeling] EMFT Reporter: Chris Simmons <cps>
Component: MWEAssignee: Project Inbox <emft-mwe-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3 CC: sebastian.zarnekow, sven.efftinge
Version: unspecifiedFlags: sven.efftinge: helios+
Target Milestone: M7   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Chris Simmons CLA 2010-07-01 06:48:51 EDT
Build Identifier: M20100211-1343

I'm working on an XText project, which uses an MWE workflow to generate the code.  If I run this once, it causes subsequent refreshes for the entire workspace to sporadically occur for the rest of the session.

I found out that this is responsible by kill -3.

It looks like its caused by the method handleDebugEvents.  I can't tell what the heck this code is supposed to be doing.

This is *extremely* frustrating, it takes a good few minutes to refresh my workspace as it is rather large; plus external source attachments on a network drive are being refreshed which slows things down even more...

Reproducible: Always

Steps to Reproduce:
1. Run a MWE workflow
2. Continue working...

This is 100% reproducible, all kinds of actions seem to trigger it like editing, running tests, etc etc.
Comment 1 Sven Efftinge CLA 2010-07-01 13:00:41 EDT
I see you use an intermediate milestone. Is it possible to upgrade to the released version of Xtext.
Because it ships with a new MWE implementation which solved this issue. 
But it's a different syntax so some migration effort is involved which is why we should fix this for the old code as well.
Comment 2 Sebastian Zarnekow CLA 2010-07-01 17:27:39 EDT
IIRC this was solved in M6 or something like that together with the impl of the Mwe2 launcher.
Comment 3 Chris Simmons CLA 2010-07-02 04:54:05 EDT
I'm glad to hear its fixed!  We do intend to upgrade to 1.0 and helios fairly soon.
Comment 4 Sven Efftinge CLA 2010-07-02 07:19:54 EDT
please verify