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

Bug 329848

Summary: Version 0.90M3: Generating EEF architecture throws many errors
Product: [Modeling] EEF Reporter: gekkorama
Component: GeneralAssignee: EEF Inbox <emft.eef-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: major    
Priority: P3 CC: goulwen.lefur, sbouchet
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: All   
Whiteboard:

Description gekkorama CLA 2010-11-09 14:55:31 EST
Build Identifier: M20100909-0800

If I create any emf project on windows or linux (on different machines) and run the EEF architecture generation process, the resulting generated java classes have compile errors. 

Folder src-gen:

In package *.components: 
Every PropertiesEditionComponent Class has following errors:

The constructor SinglePartPropertiesEditingComponent(EObject, String) is undefined	APropertiesEditionComponent.java	/test01.edit/src- gen/test01/test01/components	line 53	Java Problem

Properties cannot be resolved or is not a field	APropertiesEditionComponent.java	/test01.edit/src-gen/test01/test01/components	line 115	Java Problem

In package *.parts.forms:
Properties cannot be resolved or is not a field	APropertiesEditionPartForm.java	/test01.edit/src-gen/test01/test01/parts/forms	line 214	Java Problem

In package *.parts.impl:
Properties cannot be resolved or is not a field	APropertiesEditionPartImpl.java	/test01.edit/src-gen/test01/test01/parts/impl	line 216	Java Problem

In package *.providers:
IPropertiesEditionProvider cannot be resolved to a type	APropertiesEditionProvider.java	/test01.edit/src-gen/test01/test01/providers	line 17	Java Problem

StandardPropertiesEditingPolicyProvider cannot be resolved to a type	Test01PackagePropertiesEditionPolicyProvider.java	/test01.edit/src-gen/test01/test01/providers	line 15	Java Problem

IPropertiesEditionContext cannot be resolved to a type	Test01PackagePropertiesEditionPolicyProvider.java	/test01.edit/src-gen/test01/test01/providers	line 22	Java Problem

Like I mentioned in the topic, it's a bug in the new 0.90 version. Seems like you have made some major api changes there. I'm sorry if this was already fixed though I'm following your nightly-builds on hudson.

Keep up the excellent work! It's a nice piece of software you making there :)

Reproducible: Always

Steps to Reproduce:
1. Create simple EMF project with three classes
2. Make some associations (containments etc.)
3. Create genmodel, make dependencies to eef runtime and initialize EEF models
4. Create src-gen and generate EEF architecture
Comment 1 Bouchet Stéphane CLA 2010-11-10 08:30:14 EST
Thanks for reporting this,
we are investigating and will provide a fix in the next release.
Comment 2 Goulwen Le Fur CLA 2011-05-13 06:00:57 EDT
The pb cannot be reproduce with older versions