Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [QVTo] Getting started with QVT
[QVTo] Getting started with QVT [message #640169] Fri, 19 November 2010 12:42 Go to next message
Haffi is currently offline HaffiFriend
Messages: 39
Registered: November 2010
Member
Hi,

I'm new to QVT and I've been searching for some good resources for learning QVT. I've been searching on Google and looked at the Eclipse examples and the Wiki pages but I can't put all those bits together. Are there any step-by-step tutorials that you can point out?
I am going to be doing some UML transformations (UML to UML to be specific) and I've got this skeleton:


modeltype UML uses 'http://www.eclipse.org/uml2/3.0.0/UML';

transformation testTransformation(in umlIn : UML, out umlOut : UML);

main() {
--do something
}

If I have a sample UML model, how would I plug it in to this file and maybe just print out the objects in the model?
Re: [QVTo] Getting started with QVT [message #640319 is a reply to message #640169] Sat, 20 November 2010 13:08 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
Hi

A good tutorial would be nice, but I'm not aware of one.

QVTo provides a quite useful example project, and the QVTo spec is not
too unreadable.

Regards

Ed Willink

On 19/11/2010 12:42, Hafsteinn wrote:
> Hi,
>
> I'm new to QVT and I've been searching for some good resources for
> learning QVT. I've been searching on Google and looked at the Eclipse
> examples and the Wiki pages but I can't put all those bits together.
> Are there any step-by-step tutorials that you can point out?
> I am going to be doing some UML transformations (UML to UML to be
> specific) and I've got this skeleton:
>
>
> modeltype UML uses 'http://www.eclipse.org/uml2/3.0.0/UML';
>
> transformation testTransformation(in umlIn : UML, out umlOut : UML);
>
> main() {
> --do something
> }
>
> If I have a sample UML model, how would I plug it in to this file and
> maybe just print out the objects in the model?
Re: [QVTo] Getting started with QVT [message #640329 is a reply to message #640319] Sat, 20 November 2010 17:56 Go to previous messageGo to next message
Haffi is currently offline HaffiFriend
Messages: 39
Registered: November 2010
Member
Hi, thanks for your response. Where exactly can I find the spec? I don't think I've stumbled upon it in my searches.
Re: [QVTo] Getting started with QVT [message #640334 is a reply to message #640329] Sat, 20 November 2010 18:15 Go to previous messageGo to next message
Toñi  Reina is currently offline Toñi ReinaFriend
Messages: 209
Registered: July 2009
Senior Member
Hi,

I think that Ed refers to the OMG's QVT Operational Mapping
Specification (http://www.omg.org/cgi-bin/doc?ptc/2007-07-07)


Regards,
Toñi

El 20/11/2010 18:56, Haffi escribió:
> Hi, thanks for your response. Where exactly can I find the spec? I don't
> think I've stumbled upon it in my searches.
Re: [QVTo] Getting started with QVT [message #640335 is a reply to message #640169] Sat, 20 November 2010 18:24 Go to previous messageGo to next message
Toñi  Reina is currently offline Toñi ReinaFriend
Messages: 209
Registered: July 2009
Senior Member
Hi again,

maybe you could find useful chapters 6 and 13 from the book

Eclipse Modeling Project: A Domain-Specific Language (DSL) Toolkit
Author: Richard C. Gronback
Paperback: 736 pages
Publisher: Addison-Wesley Professional; 1 edition (March 16, 2009)
Language: English
ISBN-10: 0321534077
ISBN-13: 978-0321534071

( http://www.amazon.com/Eclipse-Modeling-Project-Domain-Specif ic-Language/dp/0321534077)

Apart from the omg specification is one of the more useful resources I
found.

Regards,
Toñi

El 19/11/2010 13:42, Hafsteinn escribió:
> Hi,
>
> I'm new to QVT and I've been searching for some good resources for
> learning QVT. I've been searching on Google and looked at the Eclipse
> examples and the Wiki pages but I can't put all those bits together. Are
> there any step-by-step tutorials that you can point out?
> I am going to be doing some UML transformations (UML to UML to be
> specific) and I've got this skeleton:
>
>
> modeltype UML uses 'http://www.eclipse.org/uml2/3.0.0/UML';
>
> transformation testTransformation(in umlIn : UML, out umlOut : UML);
>
> main() {
> --do something
> }
>
> If I have a sample UML model, how would I plug it in to this file and
> maybe just print out the objects in the model?
Re: [QVTo] Getting started with QVT [message #640513 is a reply to message #640169] Mon, 22 November 2010 12:00 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: koen.yskout.cs.kuleuven.be

Pieter Barendrecht created a tutorial
(http://redpanda.nl/index.php?p=qvt), which may help getting started.

Also, the slides on http://www.eclipse.org/m2m/qvto/doc/M2M-QVTO.pdf
contain useful information. Some parts only made sense to me once I had
(re-)read the spec and became more comfortable with the basics.

Kind regards,

Koen


On 19/11/10 13:42, Hafsteinn wrote:
> Hi,
>
> I'm new to QVT and I've been searching for some good resources for
> learning QVT. I've been searching on Google and looked at the Eclipse
> examples and the Wiki pages but I can't put all those bits together. Are
> there any step-by-step tutorials that you can point out?
> I am going to be doing some UML transformations (UML to UML to be
> specific) and I've got this skeleton:
>
>
> modeltype UML uses 'http://www.eclipse.org/uml2/3.0.0/UML';
>
> transformation testTransformation(in umlIn : UML, out umlOut : UML);
>
> main() {
> --do something
> }
>
> If I have a sample UML model, how would I plug it in to this file and
> maybe just print out the objects in the model?
Re: [QVTo] Getting started with QVT [message #640891 is a reply to message #640169] Tue, 23 November 2010 13:15 Go to previous message
Haffi is currently offline HaffiFriend
Messages: 39
Registered: November 2010
Member
Thank all of you for answering, I am going to have a look at the items you suggested (I'm already going through Pieter's tutorial which is very helpful). If I have any further questions it is good to know that the community here is very friendly and helpful Smile
Previous Topic:[ATL] Problem helper ATL 2.02
Next Topic:Provide OVT editor with custom EPackageRegistry
Goto Forum:
  


Current Time: Thu Apr 18 23:07:52 GMT 2024

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

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

Back to the top