[great-users] GReAT always recompiles everything!
Aditya Agrawal
aagrawa at us.ibm.com
Mon Nov 15 11:55:05 CST 2004
Dear Gabriele,
You are correct, every time you invoke the GReAT Master interpreter the
Meta files are regenerated. However, the problem is not easy to solve.
When the interpreter is invoked there is no way for the interpreter to
know which part of the model was edited and thus unable to decide which
sub interpreter to invoke or leave out. Thus GReAT takes the conservative
approach and generates everything again.
If you want a more fine grain control you can choose not to call the
"master interpreter" but instead call the sub interpreters as the
situation warrants. For example, if you have only changed the
transformation and not touched either the metamodels or the configuration
you should call Generate GR (from the file --> run interpreter menu) .
Similarly, if you only change the metamodel and not the transformations
you should invoke the UML2XML interpreter and for the configuration file
the Generate config interpreter should be invoked.
Another option we had discussed but hasn't been implemented yet is to
provide check boxes in the GReAT master interpreter that allows the user
to choose which interpreters he/she wants to invoke.
Someone in the GReAT team please confirm these suggestions or reply with
the reason for this not working.
Thanks,
Adi
-----------------------------------
Aditya Agrawal
Researcher
IBM T. J. Watson
mailto:aagrawa at us.ibm.com
+1 (914) 784-6068 (TL 863)
great-users-bounces at list.isis.vanderbilt.edu wrote on 11/14/2004 09:21:54
PM:
> Whatever minimal change the user performs on a transformation, when s/he
> invokes the GReAT Master Interpreter ALL the UDM files are rewritten and
> then they are recompiled at the first invocation of the transformation.
>
> With the default /O2 compiler settings my transformation takes something
> like 15 minutes to compile (a big PICML.cpp). This is not reasonable
> when the user is developing and debugging a transformation and would
> like to recompile and retry the transformation quickly. When I hack by
> hand the compiler flags putting /Od it takes 2 minutes to compile, but
> with the previous version of GReAT it was taking just 10 sec or the
> like. This seems a significant degrade of usability for GReAT to me.
>
> At least the GReAT Master Interpreter should check for each file if the
> new version of the file it's replacing is identical byte by byte to the
> previous one and in that case do something to avoid recompiling that
> file at the next invocation of the transformation
>
> Thanks,
> Gabriele
> _______________________________________________
> great-users mailing list
> great-users at list.isis.vanderbilt.edu
> http://list.isis.vanderbilt.edu/mailman/listinfo/great-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.isis.vanderbilt.edu/pipermail/great-users/attachments/20041115/c68bc9bf/attachment.htm
More information about the great-users
mailing list