Running qvto Transformations with in/out Metamodels registered by Metamodel-Plugins [message #1268429] |
Mon, 10 March 2014 13:41 |
Matthias Jurisch Messages: 3 Registered: September 2013 |
Junior Member |
|
|
Hello,
I am trying to run a Qvto transformation from an eclipse plugin. The input and output metamodel of the transformation are both registered by their respective Metamodel-Plugins.
For running the transformation, I am following the approach described here:https://wiki.eclipse.org/QVTOML/Examples/InvokeInJava. However, the execution of the Transformation fails. The error message received from TransformationExecutor.execute (Unresolved compilation errors, ''Unknown Type'') show that when running the transformation, the model itself can be found, but some types can not.
All elements that have ''unknown type'' errors are from the output metamodel. The difference between the input and output metamodel is that the latter consists of several packages, that each have different URIs. I believe that this is the reason for the compilation errors. When running the Qvto-Transformation via the run-as dialogue from the qvto project, the transformation works.
So here is my question: How do I have to change the transformation/registration of the metamodels so I can avoid this problem?
Greetings,
Matthias Jurisch
[Updated on: Mon, 10 March 2014 14:33] Report message to a moderator
|
|
|
Re: Running qvto Transformations with in/out Metamodels registered by Metamodel-Plugins [message #1268502 is a reply to message #1268429] |
Mon, 10 March 2014 15:39 |
Ed Willink Messages: 7655 Registered: July 2009 |
Senior Member |
|
|
HI
https://wiki.eclipse.org/OCL/ForumNetiquette
Regards
Ed Willink
On 10/03/2014 14:20, Matthias Jurisch wrote:
> Hello,
>
> I am trying to run a Qvto transformation from an eclipse plugin. The
> input and output metamodel of the transformation are both registered
> by their respective Metamodel-Plugins.
>
> For running the transformation, I am following the approach described
> here:https://wiki.eclipse.org/QVTOML/Examples/InvokeInJava. However,
> the execution of the Transformation fails. The error message received
> from TransformationExecutor.execute (Unresolved compilation errors,
> ''Unknown Type'') show that when running the transformation, the model
> itself can be found, but some types can not.
> All elements that have ''unknown type'' errors are from the output
> metamodel. The difference between the output and input metamodel is
> that the latter consists of several packages, that each have different
> URIs. I believe that this is the reason for the compilation errors.
> When running the Qvto-Transformation via the run-as dialogue from the
> qvto project, the transformation works.
>
> So here is my question: How do I have to change the
> transformation/registration of the metamodels so I can avoid this
> problem?
>
> Greetings,
> Matthias Jurisch
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.02916 seconds