Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » QVT-Relations » ModelMorf metamodel with references
ModelMorf metamodel with references [message #1386895] Sun, 22 June 2014 16:18 Go to next message
Javier S is currently offline Javier SFriend
Messages: 2
Registered: November 2013
Junior Member
Hello all!

I'm performing tests on ModelMorf and I'm having an issue I hope some of you can help me with.

One of the metamodels, used for the transformation, has references to other metamodel located in a separated file, and I don't know how to specify where those file references are located. Then, when the transformation is executed the following error message is displayed:

"Warning: references to undefined PrimitiveType/type/object 'uml//Package' need to be resolved externally"

So, do you know if there is a way to add references to external references from metamodels in ModelMorf?

Thanks in advance.

Regards,
Javier
Re: ModelMorf metamodel with references [message #1388489 is a reply to message #1386895] Thu, 26 June 2014 14:11 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
Hi

No idea. I can only suggest looking at the ModelMorf examples many of
which have been kindly made available for re-use by Eclipse QVTr.

/org.eclipse.qvtd.examples.qvtrelation.modelmorf/qvtrsrc/Import/UmlToRdbms_1.qvtr

has an import statement.

(The lack of an official import statement is an outstanding OMG QVTr issue.)

Regards

Ed Willink

On 23/06/2014 14:21, Javier S wrote:
> Hello all!
>
> I'm performing tests on ModelMorf and I'm having an issue I hope some
> of you can help me with.
>
> One of the metamodels, used for the transformation, has references to
> other metamodel located in a separated file, and I don't know how to
> specify where those file references are located. Then, when the
> transformation is executed the following error message is displayed:
>
> "Warning: references to undefined PrimitiveType/type/object
> 'uml//Package' need to be resolved externally"
>
> So, do you know if there is a way to add references to external
> references from metamodels in ModelMorf?
>
> Thanks in advance.
>
> Regards,
> Javier
Re: ModelMorf metamodel with references [message #1389609 is a reply to message #1388489] Sat, 28 June 2014 03:07 Go to previous messageGo to next message
Javier S is currently offline Javier SFriend
Messages: 2
Registered: November 2013
Junior Member
Thanks for your response Ed!

I saw the example, but that seem to be for importing external qvt files and what I need is to import external metamodels. Unfortunatelly, I could not find help on the other example files from ModelMorf.

It seems the only way is merging both files into one.

Regards,
Javier
Re: ModelMorf metamodel with references [message #1389738 is a reply to message #1389609] Sat, 28 June 2014 08:22 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
Hi

We plan to get Eclipse QVTr executable for Mars. But that doesn't help
you now. Sorry..

Regards

Ed Wiollink


On 28/06/2014 04:07, Javier S wrote:
> Thanks for your response Ed!
> I saw the example, but that seem to be for importing external qvt
> files and what I need is to import external metamodels.
> Unfortunatelly, I could not find help on the other example files from
> ModelMorf.
>
> It seems the only way is merging both files into one.
>
> Regards,
> Javier
Previous Topic:"opposite" tag in property templates
Next Topic:metamodel configuration for parsing in standalone mode
Goto Forum:
  


Current Time: Fri Mar 29 13:37:40 GMT 2024

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

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

Back to the top