Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 320882 - Code generation fails, when a Property exists, but not the corresponding view.
Summary: Code generation fails, when a Property exists, but not the corresponding view.
Status: CLOSED DUPLICATE of bug 302200
Alias: None
Product: EEF
Classification: Modeling
Component: General (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal
Target Milestone: ---   Edit
Assignee: EEF Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-26 06:32 EDT by Christophe Bouhier CLA
Modified: 2016-05-05 10:26 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***