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

Bug 320882

Summary: Code generation fails, when a Property exists, but not the corresponding view.
Product: [Modeling] EEF Reporter: Christophe Bouhier <dzonekl>
Component: GeneralAssignee: EEF Inbox <emft.eef-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: sbouchet
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Christophe Bouhier CLA 2010-07-26 06:32:18 EDT
1. Create an arbitrary meta model and generate .eefgen and .components. 
2. Open the .eefgen -> delete an Element editor for any attribute. 
3. Regenerate the EEF Archi. the code generation interrupts. The code doesn't compile. 

In the .components, the "Properties Edition" will still exists, which causes the code generation to fail. 

Workaround: 
Also remove the "Properties Edition".
Comment 1 Bouchet Stéphane CLA 2010-07-26 10:39:58 EDT
This is a know limitation of the generation. 

You can also validate mannually your eef .component model before generating.

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