Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 364101 - [Generator] Generation corrupts Eclipse file system.
Summary: [Generator] Generation corrupts Eclipse file system.
Status: CLOSED WONTFIX
Alias: None
Product: EEF
Classification: Modeling
Component: General (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 major
Target Milestone: ---   Edit
Assignee: EEF Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-17 21:43 EST by Miles Parker CLA
Modified: 2016-05-30 09:49 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Miles Parker CLA 2011-11-17 21:43:46 EST
I had a code generation issue, and when the code was generated it tried to use a class with the Java identifier as Org.eclipse.emf.ecore.impl.DynamicEObjectImpl@2d4aa09f. Obviously that didn't work. :) 

	public static class Org.eclipse.emf.ecore.impl.DynamicEObjectImpl@2d4aa09f(eClass:Org.eclipse.emf.ecore.impl.EClassImpl@7e773df3(name:OclInvalid_Class)(instanceClassName:Null)(abstract:False,Interface:False)) {
	}


In fact it worked so badly that Eclipse choked on the resulting directory structure on refresh. (I was able to fix it by deleting the offending directories from my OS.)
Comment 1 Miles Parker CLA 2011-11-17 21:44:35 EST
See but 364100 for cause of generation issue.
Comment 2 Bouchet Stéphane CLA 2011-11-23 09:22:10 EST
Yes, 
Eclipse does not seems happy with these funny classes names.


BTW, EEF should not generates such a classname.
the template used to calculates the Class name throw an error and this is causing the problem.

I'll take a look at the linked bug.
Comment 3 Stephane Begaudeau CLA 2016-05-30 09:49:31 EDT
The Eclipse EEF team has worked over the past few months on a brand new runtime using a reflective approach which can be used more easily with Eclipse Sirius. Since we do not plan to continue to work on the old runtime and its code generation approach, I will close this issue for now.

If you want to contribute, you can reopen this issue and submit a contribution to the project thanks to our Gerrit: https://git.eclipse.org/r/#/admin/projects/eef/org.eclipse.eef