| [news.eclipse.modeling.m2m] Re: [QVT] qvt lanuch config: transformation IN parameter: invalid source |
Radek Dvorak wrote:
Hi David,
Do you intend to you use dynamic model instance or generated java model instance in
your transformation?
In case an ecore file from a workspace is to be used to compile and run a transf,
it should be explicitly registered. See 'QVT Settings/Metamodel Mapping' property page
on your QVT project.
Looks like your transf might compile against the ecore file metamodel while your model
instance refers to the generated one. Though they may seem logically the same metamodels,
they are considered distinct metamodels in this case.
Regards, /Radek
On Tue, 03 Jun 2008 16:55:06 +0200, David <David-392.Li@xxxxxxxxxxxxxxxxx> wrote:
Hi, Again :-), I have some questions Re. QVT.
We use Eclipse Version: 3.3.0 Build id: I20080207-1530 to do the test for QVT.
1. We create a QVT project.
2. Put the source meta model modx.ecore, and model test.modx inside the porject.
3. Put the target metat model intermediate.ecore inside the project.
4. Create the modex2inter.qvto
5. Create the coresponding launch config. When configing the transformation IN paramter through selecting the test.modx, but the panel hang for a quit while, and then complains that "Invalid source URI 'platform:/resource/qvtPrototype/models/test.modx' for parameter 'modx'"
And the Model URI is "platform:/resource/qvtPrototype/models/test.modx"
Thanks for any suggestions!
David
Hi Radek,
Thanks very much,
David