Bug 284243

Summary: QvtTransformationHelper resolves incorrect metamodel instance if located in workspace
Product: [Modeling] QVTo Reporter: Radomil Dvorak <dvorak.radek>
Component: EngineAssignee: Radomil Dvorak <dvorak.radek>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: 2.0.1   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Fixed workspace metamodel resolution none

Description Radomil Dvorak CLA 2009-07-22 06:54:17 EDT
If a transformation input EObjects are instances of classes defined in a workspace located ecore file, the transformation execution loads a disctinct package instance, which is not identical to the one used by the input.
Consequently, the QVT script fails to compile with various type mismatch errors.
Comment 1 Radomil Dvorak CLA 2009-07-22 07:49:01 EDT
Created attachment 142250 [details]
Fixed workspace metamodel resolution
Comment 2 Radomil Dvorak CLA 2009-07-23 05:05:31 EDT
Fixed.

Added internal TransformationExecutorExt which supports custom EPackage.Registry in order to ensure correct metamodel resolution.
Comment 3 Radomil Dvorak CLA 2009-07-23 05:05:54 EDT
-