Bug 284243 - QvtTransformationHelper resolves incorrect metamodel instance if located in workspace
Summary: QvtTransformationHelper resolves incorrect metamodel instance if located in w...
Status: RESOLVED FIXED
Alias: None
Product: QVTo
Classification: Modeling
Component: Engine (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 2.0.1   Edit
Assignee: Radomil Dvorak CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-22 06:54 EDT by Radomil Dvorak CLA
Modified: 2009-07-23 05:05 EDT (History)
0 users

See Also:


Attachments
Fixed workspace metamodel resolution (32.88 KB, application/octet-stream)
2009-07-22 07:49 EDT, Radomil Dvorak CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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
-