Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [QVTr] QVTd Project - Errors in examples?
[QVTr] QVTd Project - Errors in examples? [message #545898] Fri, 09 July 2010 14:48 Go to next message
Chris Sinjakli is currently offline Chris Sinjakli
Messages: 2
Registered: July 2010
Junior Member
I've recently built the QVTd Development Environment as per the instructions at:

http://wiki.eclipse.org/M2M/QVT_Declarative_Installation#Ins tallation_of_QVTd_Development_Environment

with the exception of installing MDT UML2 SDK 3.1.0RC4 instead of UML2 SDK 3.1M4, as the older release is no longer available.

Specifically, I am interested in using it with qvtr files, and thought that a natural place to start would be with the examples. However, loading either of the ones provided results in quite a few errors. Running with the Relations to Core example, the errors are:

http://pastebin.com/WYg1Scy5

I am new to using QVTr, so am unsure if this is due to errors in the example code, or bugs in the implementation, or indeed something else. If it's something I've done wrong then I'd appreciate any guidance on it.

Also, with being new to this I am currently trying to get my head round some (or rather quite a few) things. Can anyone recommend somewhere good to start?

[Updated on: Fri, 09 July 2010 15:43]

Report message to a moderator

Re: [QVTr] QVTd Project - Errors in examples? [message #546050 is a reply to message #545898] Sat, 10 July 2010 11:19 Go to previous messageGo to next message
Ed Willink is currently offline Ed Willink
Messages: 4098
Registered: July 2009
Senior Member
Hi Chris

Thanks for the prod.

> http://wiki.eclipse.org/M2M/QVT_Declarative_Installation#Ins tallation_of_QVTd_Development_Environment

I've just updated this for the Helios release, which avoids transient
Milestones and with most of the epndencies in the Helios Modeling
Package installation is easier. More so if you use the Update ZIP,
which will fully update a naked Eclipse in one go.

> Specifically, I am interested in using it with qvtr files, and thought
> that a natural place to start would be with the examples. However,
> loading either of the ones provided results in quite a few errors.
> Running with the Relations to Core example, the errors are:
>
> http://pastie.org/1037541

Ow. It's embarrassing when my work on one project (MDT/OCL) breaks by
other project (M2M/QVTd).

QVT is aligned with OCL, so with OCL about to define what is reserved
about a reserved word, MDT/OCL has implemented it, and M2M/QVTd had not
been rebuilt accordingly.

Yesterday, M2M/QVTd allowed xx, or "xx" as a property identifier and
xx or _xx as a simpleName (more general navigation). Now M2M/QVTd allows
xx, or _'xx' in both contexts and for compatibility "xx" as a property
identifier or _xx as a simpleName.

This is in CVS. I'll try to get a QVTd release promoted to the project
downloads page.

RelToCore.qvtr now uses e.g. _'domain' as an identifier throughout.

>
> I am new to using QVTr, so am unsure if this is due to errors in the
> example code, or bugs in the implementation, or indeed something else.
> If it's something I've done wrong then I'd appreciate any guidance on it.
>
> Also, with being new to this I am currently trying to get my head round
> some (or rather quite a few) things. Can anyone recommend somewhere good
> to start?

QVTr (and even more so QVTc) are very slow to take off. The Eclipse
M2M/QVTd editor might be best. The ModelMorf executor might be best. The
Medini QVT editor and executor might be the most useable. Each has some
documentation. None has a strong team of active developers. Any volunteers?

Regards

Ed Willink
Re: [QVTr] QVTd Project - Errors in examples? [message #546283 is a reply to message #546050] Mon, 12 July 2010 11:42 Go to previous messageGo to next message
Chris Sinjakli is currently offline Chris Sinjakli
Messages: 2
Registered: July 2010
Junior Member
Edward Willink wrote on Sat, 10 July 2010 07:19

QVTr (and even more so QVTc) are very slow to take off. The Eclipse
M2M/QVTd editor might be best. The ModelMorf executor might be best. The
Medini QVT editor and executor might be the most useable. Each has some
documentation. None has a strong team of active developers.


Thanks for the response. I take it from that paragraph that QVTd doesn't have the ability to execute QVTr (that or I'm missing a Run Configuration). ModelMorf being proprietary pretty much rules it out, I'll go and take a look at Medini this afternoon.

As an aside, I've got the QVTd environment up and running, and can see that there are still some errors shown on loading the examples, though they are caused by a couple of instances of the "implementedby" keyword. Am I right in understanding that those are only there because of a missing implementation, rather than problems with the environment?

Thanks again for your help, and sorry for any inane questions I may have asked due to being new to this.
Re: [QVTr] QVTd Project - Errors in examples? [message #546441 is a reply to message #546283] Mon, 12 July 2010 18:56 Go to previous message
Ed Willink is currently offline Ed Willink
Messages: 4098
Registered: July 2009
Senior Member
Hi Chris

On 12/07/2010 12:42, Chris Sinjakli wrote:
> Thanks for the response. I take it from that paragraph that QVTd doesn't
> have the ability to execute QVTr (that or I'm missing a Run
> Configuration).

Yes. No Run Configuration or equivalent.

> ModelMorf being proprietary pretty much rules it out,

I'm not certain that it is definitely proprietary. Betas have been
freely available. Progress to the licensed release does not appear to
have happened.

> I'll go and take a look at Medini this afternoon.
>
> As an aside, I've got the QVTd environment up and running, and can see
> that there are still some errors shown on loading the examples, though
> they are caused by a couple of instances of the "implementedby" keyword.
> Am I right in understanding that those are only there because of a
> missing implementation, rather than problems with the environment?

Yes. Since black box functions couldn't be executed, I didn't struggle
to find a solution to the lack of specification about how a Black Box
function declaration was imported.

> Thanks again for your help, and sorry for any inane questions I may have
> asked due to being new to this.

No problem. Few people have got that far.

Regards

Ed Willink
Previous Topic:[ATL] One target model and more than one target metamodels
Next Topic:[ATL] execution order and UML profiles
Goto Forum:
  


Current Time: Sun Oct 26 02:58:35 GMT 2014

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

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