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

Bug 364183

Summary: Not all elements from Meta-models stored in several resources are seen by the regular VM EMF model handler.
Product: [Modeling] MMT.ATL Reporter: Dominique Blouin <dominique.blouin>
Component: EngineAssignee: mmt-atl.toolkit-inbox <mmt-atl.toolkit-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Source code of the modified class. none

Description Dominique Blouin CLA 2011-11-18 12:31:34 EST
Created attachment 207233 [details]
Source code of the modified class.

I have an Ecore meta-model stored in several resources. When I use the regular VM, not all classes of the meta-model are visible.

This can be fixed by changing the ASMEMFModel class. In the addReferencedExtentsFor() method, there is a test that checks that a reference is containment before adding the resource declaring the type of the reference to the set of meta-model resources. I include the fixed class.