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

Bug 350737

Summary: [GenModelAccess] Implicitly support access to EMFs builtin GenModels
Product: [Modeling] TMF Reporter: Moritz Eysholdt <moritz.eysholdt>
Component: Xtext BacklogAssignee: Project Inbox <tmf.xtext-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: sebastian.zarnekow
Version: 2.0.0   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Moritz Eysholdt CLA 2011-06-29 14:32:39 EDT
org.eclipse.xtext.generator.GenModelAccess.getGenPackage(EPackage, ResourceSet) should return the genmodels from EMF implicitly in the same way as they are handeled in 
org.eclipse.emf.codegen.ecore.genmodel.impl.GenModelImpl.findGenPackage(EPackage)

Currently, one has to register the GenModels (such as Ecore.genmodel) explicitly, which can not happen via platform:/resource/ URI if its not in the own workspace.
Comment 1 Sebastian Zarnekow CLA 2011-07-04 10:24:01 EDT
Moritz, can you take care of this one?
Comment 2 Moritz Eysholdt CLA 2011-07-11 03:31:39 EDT
yup.
Comment 3 Sebastian Zarnekow CLA 2011-11-09 14:48:01 EST
Not 2.1