[great-users] Change Metamodels in Great

Sandeep Neema sandeep.neema at vanderbilt.edu
Fri Dec 9 06:05:30 CST 2005


Tobias,

Library update interpreter is your friend. Included your updated
metamodel in the transformer (alongwith the old metamodel). For sanity
rename the old metamodel to <meta name>-old before importing the updated
one. Now, run the Library Update interpreter (icon looks like an 'ear
muff'). Tell it the old metamodel name i.e. <meta name>-old, and the new
metamodel name (you just imported). It will redirect all your references
in the transformation rules to your new meta. Now you can delete the old
meta from your transformation without any lost references.

 

There is one quirk (not a major one), it swaps the names of two metas
(old and new) when its done. So I would carefully check before deleting
the old meta.

 

HTH,

Sandeep

 

--

Sandeep Neema

Research Scientist,

Institute of Software Integrated Systems, Vanderbilt University

Phone: 615-343-9996

Email: sandeep.k.neema at vanderbilt.edu

  _____  

From: great-users-bounces at list.isis.vanderbilt.edu
[mailto:great-users-bounces at list.isis.vanderbilt.edu] On Behalf Of
Tobias Welp
Sent: Friday, December 09, 2005 5:09 AM
To: great-users
Subject: [great-users] Change Metamodels in Great

 

Hello Great-Experts,

 

I'm searching for a possibility to change (add classes) my GME
meta-models after I included them into a GReAT project. Of course, it is
possible to change the project, but it hasn't any effect on the included
project in GReAT. I see the possibility to include the current
meta-model for the second time and to delete the old model, but than I
have to rewrite all the transformation rules which is unfortunately
tedious work.

 

Regards,

 

Tobias Welp

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.isis.vanderbilt.edu/pipermail/great-users/attachments/20051209/812d429f/attachment.htm


More information about the great-users mailing list