Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [QVTo] Compiled transformation?
[QVTo] Compiled transformation? [message #107766] Thu, 02 July 2009 16:26 Go to next message
Orlando Ferrante is currently offline Orlando FerranteFriend
Messages: 8
Registered: July 2009
Junior Member
Hi all,
first of all thanks a lot to Radek for the feedback he gave me for the
previous problem I had!
Now I have another question: I want to develop a m2m transformation using
qvto and deliver it as a stand alone application. What I do is to develop
an Eclipse stand alone product that includes my transformation as a
plugin. There is a way to avoid to deliver also the transformation file
(.qvto)? Is it possible to generate a kind of "compiled" version of the
transformation file and deliver it?
Thanks!
Orlando
Re: [QVTo] Compiled transformation? [message #107966 is a reply to message #107766] Tue, 07 July 2009 09:54 Go to previous messageGo to next message
Radomil Dvorak is currently offline Radomil DvorakFriend
Messages: 249
Registered: July 2009
Senior Member
Hi Orlando,

We are going to support executable XMI in the Helios (after Galileo)
release.
This will allow you to persist the QVT Operational AST models during the
project
build as XMI, which can be executed later without involving the concrete
syntax (*.qvto) parsing.
We are able to persist it now, but still need to do some work on precise
validation
of AST models and enhance the tooling support, deployment to facilitate
all this.

In case you mean "compiled" as a plain Java plugin, we do not have plans
for this yet.
First, we would start consideration of this functionality only after MDT
OCL supports this
(Though, I think MDT OCL has some plans for a sort of code synthesis in
Helios).

Supporting both interpreted and Java compiled execution is at the cost of
potential differences
during execution, requires an extra unittest effort. We do not have
resources to provide
such a feature in Helios.
If the primary motivation is "no QVTo dependencies" at deployment time,
I assume that even if Java code is emitted for your transformation,
it would still require dependencies to QVTo runtime
(traces, logger, Stdlib implementation etc.)

Regards,
/Radek


On Thu, 02 Jul 2009 18:26:03 +0200, Orlando Ferrante
<oferrante@parades.rm.cnr.it> wrote:

> Hi all,
> first of all thanks a lot to Radek for the feedback he gave me for the
> previous problem I had!
> Now I have another question: I want to develop a m2m transformation
> using qvto and deliver it as a stand alone application. What I do is to
> develop an Eclipse stand alone product that includes my transformation
> as a plugin. There is a way to avoid to deliver also the transformation
> file (.qvto)? Is it possible to generate a kind of "compiled" version of
> the transformation file and deliver it? Thanks!
> Orlando
>
Re: [QVTo] Compiled transformation? [message #482273 is a reply to message #107966] Wed, 26 August 2009 00:19 Go to previous message
Alex Mising name is currently offline Alex Mising nameFriend
Messages: 51
Registered: August 2009
Member
For what it is worth - and I know, not much - I would love to see this implemented. Performance, especially on larger models, would be the primary driver for me. While the QVTO interpreter does a pretty amazing job, I would expect a native Java transform to be significantly (orders of magnitude?) faster still. Direct (strongly typed) rather than reflective access to EMF models is likely to play a role as well ...

Wouldn't it be nice to implement this as QVT transform from QVT model to Java model - and compile that transform later, of course ... Razz

This also remins me of "Octopus" by Jos Warmer and Anneke Kleppe - it had native Java codegen from OCL 2.0 several years ago ... Back then it used custom OCL model and runtime stdlib, custom data metamodel (with textual DSL and import from UML XMI), custom simplified Java models, "transformation" in code, etc. - and worked great.

Alex
Previous Topic:[QVTO] Help for explaining a mapping behavior.
Next Topic:[QVTO] Auto-validation of launch configurations loads models
Goto Forum:
  


Current Time: Thu Mar 28 08:08:07 GMT 2024

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

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

Back to the top