Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [QVTO] compile transformation sources at forehand
[QVTO] compile transformation sources at forehand [message #536692] Sun, 30 May 2010 00:26 Go to next message
Eclipse UserFriend
Originally posted by: vanbeerst.gmail.com

Hi,

I am using standalone QVTO (using the TransformationExecutor).
Correct me if I am wrong, but I think that now, when I invoke the
executor, the necessary QVT sources are first compiled before the
transformation is executed.
Is there a way to compile the sources at forehand and keep them in
memory somehow? I wrote a plugin which needs to call the same
transformations a bunch of times, but with different inputs, so I guess
it will increase the performance if I would be able to compile the
sources at forehand.

Dear regards,
Tony.
Re: [QVTO][SOLVED] compile transformation sources at forehand [message #537222 is a reply to message #536692] Tue, 01 June 2010 15:52 Go to previous message
Eclipse UserFriend
Originally posted by: vanbeerst.gmail.com

The functionality I was looking for, existed already.
I just had to invoke loadTransformation() on the executor at forehand,
the reason why I did not see this as a solution to my problem was that I
created a new executor before every transformation, but this is not
necessary, now I create an executor once and call loadTransformation on
it (or not and let the first execution of the transformation call this).

On 05/30/2010 02:26 AM, Tony Van Beers wrote:
> Hi,
>
> I am using standalone QVTO (using the TransformationExecutor).
> Correct me if I am wrong, but I think that now, when I invoke the
> executor, the necessary QVT sources are first compiled before the
> transformation is executed.
> Is there a way to compile the sources at forehand and keep them in
> memory somehow? I wrote a plugin which needs to call the same
> transformations a bunch of times, but with different inputs, so I guess
> it will increase the performance if I would be able to compile the
> sources at forehand.
>
> Dear regards,
> Tony.
Previous Topic:how to construct a uml property in the LET expression
Next Topic:[QVTo] xmi:id getting/setting possible?
Goto Forum:
  


Current Time: Fri Apr 23 09:25:32 GMT 2021

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

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

Back to the top