Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » QVT-OML » Running qvto Transformations with in/out Metamodels registered by Metamodel-Plugins
Running qvto Transformations with in/out Metamodels registered by Metamodel-Plugins [message #1268429] Mon, 10 March 2014 13:41 Go to next message
Matthias Jurisch is currently offline Matthias JurischFriend
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 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
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
>
>
Previous Topic:Research survey to improve quality of QVTo code
Next Topic:helper with side effect in QVT - OML
Goto Forum:
  


Current Time: Thu Mar 28 19:55:16 GMT 2024

Powered by FUDForum. Page generated in 0.02757 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top