Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » QVT-OML » Operational QVT Interpreter
Operational QVT Interpreter [message #946881] Tue, 16 October 2012 15:43 Go to next message
Eclipse UserFriend
Hello,

when I define a debug/launch config for the Operation QVT Interpreter,
which meta model registry does it use? When I select my .qvto script, it
correctly lists input and output models, but whatever input file I
specify, it's always rejected.

Previously I loaded all relevant models into the global EMF registry and
attached a file suffix to it. How is this supposed to work with the
per-project metamodel map?

Thanks
Marius
Re: Operational QVT Interpreter [message #946906 is a reply to message #946881] Tue, 16 October 2012 16:12 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 4187
Registered: July 2009
Senior Member
Hi

As a general rule only Eclipse plugins (and standalone code emulating
Eclipse plugins) should modify the global EMF registries.

If the input file is rejected, I suspect that in some sense it is
incompatible with what you have specified. But you provide no real
details to go on.

I'm afraid that I will not be able to give you any further help without
a zipped project including a launch configuration that can just be
installed and run to demonstrate your problem.

Regards

Ed Willink

On 16/10/2012 16:43, Marius Gröger wrote:
> Hello,
>
> when I define a debug/launch config for the Operation QVT Interpreter,
> which meta model registry does it use? When I select my .qvto script, it
> correctly lists input and output models, but whatever input file I
> specify, it's always rejected.
>
> Previously I loaded all relevant models into the global EMF registry and
> attached a file suffix to it. How is this supposed to work with the
> per-project metamodel map?
>
> Thanks
> Marius
Re: Operational QVT Interpreter [message #947717 is a reply to message #946906] Wed, 17 October 2012 11:01 Go to previous messageGo to next message
Eclipse UserFriend
Hello Ed,

actually my question was this: how does the Operational QVT Interpreter
determine the i/o models - does it use the metamodel map of the project
hosting the qvto file?

Thanks
Marius

On 16.10.2012 18:12, Ed Willink wrote:
> Hi
>
> As a general rule only Eclipse plugins (and standalone code emulating
> Eclipse plugins) should modify the global EMF registries.
>
> If the input file is rejected, I suspect that in some sense it is
> incompatible with what you have specified. But you provide no real
> details to go on.
>
> I'm afraid that I will not be able to give you any further help without
> a zipped project including a launch configuration that can just be
> installed and run to demonstrate your problem.
>
> Regards
>
> Ed Willink
>
> On 16/10/2012 16:43, Marius Gröger wrote:
>> Hello,
>>
>> when I define a debug/launch config for the Operation QVT Interpreter,
>> which meta model registry does it use? When I select my .qvto script, it
>> correctly lists input and output models, but whatever input file I
>> specify, it's always rejected.
>>
>> Previously I loaded all relevant models into the global EMF registry and
>> attached a file suffix to it. How is this supposed to work with the
>> per-project metamodel map?
>>
>> Thanks
>> Marius
>
Re: Operational QVT Interpreter [message #947751 is a reply to message #947717] Wed, 17 October 2012 11:49 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
Messages: 4187
Registered: July 2009
Senior Member
Hi

I don't know. It works for me which is why I need to see an example of
what doesn;t work to be able to comment further.

Regards

Ed Willink

On 17/10/2012 12:01, Marius Gröger wrote:
> Hello Ed,
>
> actually my question was this: how does the Operational QVT Interpreter
> determine the i/o models - does it use the metamodel map of the project
> hosting the qvto file?
>
> Thanks
> Marius
>
> On 16.10.2012 18:12, Ed Willink wrote:
>> Hi
>>
>> As a general rule only Eclipse plugins (and standalone code emulating
>> Eclipse plugins) should modify the global EMF registries.
>>
>> If the input file is rejected, I suspect that in some sense it is
>> incompatible with what you have specified. But you provide no real
>> details to go on.
>>
>> I'm afraid that I will not be able to give you any further help without
>> a zipped project including a launch configuration that can just be
>> installed and run to demonstrate your problem.
>>
>> Regards
>>
>> Ed Willink
>>
>> On 16/10/2012 16:43, Marius Gröger wrote:
>>> Hello,
>>>
>>> when I define a debug/launch config for the Operation QVT Interpreter,
>>> which meta model registry does it use? When I select my .qvto script, it
>>> correctly lists input and output models, but whatever input file I
>>> specify, it's always rejected.
>>>
>>> Previously I loaded all relevant models into the global EMF registry and
>>> attached a file suffix to it. How is this supposed to work with the
>>> per-project metamodel map?
>>>
>>> Thanks
>>> Marius
Previous Topic:ant qvto:transformation and "PackageNotFoundException"
Next Topic:Generation
Goto Forum:
  


Current Time: Sat Dec 20 03:52:46 GMT 2014

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

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