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

Bug 328606

Summary: Cannot create instance of a model using the Example Wizard
Product: [Modeling] EMF Reporter: Jon Svede <jsvede>
Component: EditAssignee: Dave Steinberg <davidms>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: Ed.Merks
Version: 2.5.0   
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X   
Whiteboard:
Attachments:
Description Flags
the ecore model that works on Windows but not on OS X none

Description Jon Svede CLA 2010-10-25 10:01:24 EDT
Created attachment 181636 [details]
the ecore model that works on Windows but not on OS X

If I create an ecore model on my PC and I generate the model, edit and editor plugins, I can then run the IDE, create a new project and create an instance of my model using the New >> Other >> Example EMF Model Creation Wizards.  However, if I copy this set of projects to my Mac I cannot create the model instance in   the IDE.  Again, on Windows XP SP3 it works fine, as expected.

Furthermore, if I hand create such a model and create the same model I have the same problem: I cannot instantiate an instance using the wizard.

Even if I add -consoleLog to the launch configuration no error is produced.  No .log file is created in the workspace of either instance.

I've attached the ecore model I created on Windows and tried to use on OS X.
Comment 1 Jon Svede CLA 2010-10-25 15:59:31 EDT
I should have explained the issue on the Mac better.

Basically, after you start the IDE from the IDE and create an empty project and then go to the Creation Wizards and start that process, you cannot complete it.  On the last page of the wizard where you select the starting Object of your model, no matter what I select the next/finish buttons are not enabled.  I've even tried changing the encoding without success.  Going back and the forward doesn't seem to change the behavior either.
Comment 2 Ed Merks CLA 2010-10-26 01:08:08 EDT
This sounds familiar.

*** This bug has been marked as a duplicate of bug 294192 ***
Comment 3 Jon Svede CLA 2010-10-26 16:15:23 EDT
Given your comment, do you mean that bug 269010 resolves my issue?  Or just that it's similar? 

The parent bug is resolved in the platform, meaning I shouldn't have to do anything, right?

According the info in 269010, it was fixed earlier this yea; can I assume it's a part of the latest 3.5.2 platform?
Comment 4 Ed Merks CLA 2010-10-26 18:48:28 EDT
I simply cannot reproduce the problem.  It sounds OS dependent, but EMF doesn't have OS dependent code.  I don't have a Mac either, so I cannot test or confirm anything.  You do have a Mac, and you have a debugger.  You can use that to answer questions much better than can I.  I know this problem was reported by other Mac users at that time; all of those were duplicated to these platform bugs.  After that, no one reported the problem anymore, so I have to assume it was fixed.  E.g., no one has complained about EMF 2.6 having this issue, so again, I have to assume it was fixed by the platform.  If not, someone with a Mac is going to have to invest a little effort.

*** This bug has been marked as a duplicate of bug 269010 ***