[great-users] Need to compile only the relevant parts in modeltransformations
Daniel Balasubramanian
daniel at isis.vanderbilt.edu
Sat May 2 16:09:51 CDT 2009
Hi Gurkan,
For a quick solution, you can try one of the following.
(1) Only run the GenerateGR interpreter so that the metamodels are not regenerated by UDM and subsequently recompiled, or if that doesn't work,
(2) Use the code generator, and instead of keeping the files in the default directory (/gen), keep all the files in a separate directory and have a script which copies *only* the generated transformation rules from /gen to the new directory and that way the IDE will see the metamodels haven't changed and won't try to recompile them.
Are you currently using the GR-Interpreter or the Code Generator to run your transformations?
Thanks,
Daniel
-----Original Message-----
From: great-users-bounces at list.isis.vanderbilt.edu on behalf of Gürkan Özhan
Sent: Sat 5/2/2009 6:46 AM
To: great-users
Subject: [great-users] Need to compile only the relevant parts in modeltransformations
Dear All,
I am not sure, but a similar mail might have been posted to the
list before. Therefore my apologies if the same question was arised,
but I am really frustrated with the time it takes in my model
transformations. My source and target metamodels are quite big (each
about 4-5 Mbytes of mga files). Moreover my transformation definitions
are also considerably large, and seem to grow even further. For the
time being, only the compilation of the metamodels and the model
transformation definitions when executing the GReAT master interpreter
on my computer takes roughly about 10 minutes. I am desperately
seeking to shorten this painful process. The most obvious efficiency
to achieve is to avoid the re-compilation of the source and target
metamodels each time a change pertaining to the rule definitions is
made. I would be grateful if somebody provides me an advice on this.
Any other hints and tips to reduce model-to-execution time is
appreciated
Best regards.
Gurkan Ozhan
_______________________________________________
great-users mailing list
great-users at list.isis.vanderbilt.edu
http://list.isis.vanderbilt.edu/mailman/listinfo/great-users
More information about the great-users
mailing list