Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [QVTR]First Implementation
[QVTR]First Implementation [message #107403] Mon, 29 June 2009 17:55 Go to next message
shekoufeh Mising name is currently offline shekoufeh Mising nameFriend
Messages: 26
Registered: July 2009
Junior Member
I downloaded the QVT example which transforms Uml to Rdbms. This example
contains four folders, as bin, metamodel, model and source. In the bin
folder there exist two files as .qvtrelation and .qvtr, in adition of two
text files for types which are uml and rdbms.
Two metamodels are inside metamodel folder and in the form of .ecore. I
want to ask how is it possible to have ecore with out having the exact
implementation of metamodel? and where should I write the exact
metamodel. also I just found the implementation for Rdbms in
documantation and I could not find anything regarding to uml meta model.
Then in the model folder we have the source model in .xmi format and by
executing the whole program we will have the target model. In this
example I could not see ant qvt core.
This what I undrestand after spending a week on QVT.

I read some parts of documantation again and try to run this example but
still can not do that.I know I should have two metamodel,one model and
one qvt core and one relational code . but I can not see all of them in
this example
I confused every thing now
can you please help me to run this example.

Many thanks,
Shekoufeh
Re: [QVTR]First Implementation [message #108045 is a reply to message #107403] Wed, 08 July 2009 16:51 Go to previous message
Eclipse UserFriend
Originally posted by: glineur.montages.com

Hi Shekoufeh,

Comments below,


shekoufeh wrote:
> I downloaded the QVT example which transforms Uml to Rdbms. This
> example contains four folders, as bin, metamodel, model and source. In
> the bin folder there exist two files as .qvtrelation and .qvtr, in
> adition of two text files for types which are uml and rdbms.

The .qvtr files are the textual definition of the transformation.
The .qvtrelation files are the model of the transformation (conforming
to the metamodel defined in the abstract syntax part of the
specification) This structure is obtained by parsing the text.

> Two metamodels are inside metamodel folder and in the form of .ecore. I
> want to ask how is it possible to have ecore with out having the exact
> implementation of metamodel?

What do you mean by exact implementation of the exact implementation?
Actually I understand that ecore IS the exact implementation.

and where should I write the exact
> metamodel. also I just found the implementation for Rdbms in
> documantation and I could not find anything regarding to uml meta model.

Which documentation are you talking about?

> Then in the model folder we have the source model in .xmi format and by
> executing the whole program we will have the target model. In this
> example I could not see ant qvt core.

Currently we are in the specification phase to use qvt core. As the
specification lacks some details about it, we have to carefully fill the
gap.

> This what I undrestand after spending a week on QVT.
>
> I read some parts of documantation again and try to run this example
> but still can not do that.I know I should have two metamodel,one model
> and one qvt core and one relational code . but I can not see all of
> them in this example

You just need:
the input model, its metamodel and the output metamodel.
(the compilation is currently done in another format than qvt core)

> I confused every thing now
> can you please help me to run this example.
>
> Many thanks,
> Shekoufeh
>
>
Regards,

Quentin
Previous Topic:[ATL] Link transformed objects with existing objects
Next Topic:[Kermeta] Benefits compared with EMF + pure Java ?
Goto Forum:
  


Current Time: Thu Jan 23 01:52:49 GMT 2025

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

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

Back to the top