Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » QVT-OML » Run qvto transformation(I need run a transformation)
Run qvto transformation [message #1699624] Thu, 25 June 2015 11:36 Go to next message
Gonzalo Bressan Zuber is currently offline Gonzalo Bressan ZuberFriend
Messages: 35
Registered: May 2015
Member
Hi,

Which are the steps to execute a transformation in Eclipse QVTo?

I followed the steps in http://www.levysiqueira.com.br/2011/01/eclipse-qvto-hello-world/ but i work with java MoDisco metamodel therefore i did the following:

1- Create a new EMF Project (in "File->New->Project" and "Eclipse Modeling Framework->Empty EMF Project"). Create your metamodel or copy-it.

I copy the java metamodel to project workspace.

http://www.subeimagenes.com/img/1-1358985.png

2- Create a new "EMF Generator Model" (right click the metamodel in the package explorer, "New->Other" and "Eclipse Modeling Framework->EMF Generator Model").

i did it

http://www.subeimagenes.com/img/2-1358989.png

3- Open the genmodel (it is normally opened automatically) and right click in its root and select "Generate All". The source code for a basic model editor will be generated.

http://www.subeimagenes.com/img/3-1359412.png

As can you see, i recieve an error

Why?

Thanks.
Re: Run qvto transformation [message #1699843 is a reply to message #1699624] Sat, 27 June 2015 05:41 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
Hi

"As can you see, i recieve an error "

I see no error.

QVTo provdes the Simple UML to RDBMS example. Understand it and emulate it.

Regards

Ed Willink


On 25/06/2015 12:36, Gonzalo Bressan Zuber wrote:
> Hi,
>
> Which are the steps to execute a transformation in Eclipse QVTo?
>
> I followed the steps in
> http://www.levysiqueira.com.br/2011/01/eclipse-qvto-hello-world/ but i
> work with java MoDisco metamodel therefore i did the following:
>
> 1- Create a new EMF Project (in "File->New->Project" and "Eclipse
> Modeling Framework->Empty EMF Project"). Create your metamodel or
> copy-it.
>
> I copy the java metamodel to project workspace.
>
>
>
> 2- Create a new "EMF Generator Model" (right click the metamodel in
> the package explorer, "New->Other" and "Eclipse Modeling
> Framework->EMF Generator Model").
>
> i did it
>
>
>
> 3- Open the genmodel (it is normally opened automatically) and right
> click in its root and select "Generate All". The source code for a
> basic model editor will be generated.
>
>
>
> As can you see, i recieve an error
>
> Why?
>
> Thanks.
>
Previous Topic:Map one object into two models
Next Topic:objectsOfType problem in Mars release
Goto Forum:
  


Current Time: Fri Apr 26 22:10:52 GMT 2024

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

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

Back to the top