[great-users] Can't run UMT interpreter due to library

Aditya Agrawal Aditya at isis.vanderbilt.edu
Wed May 5 17:37:07 CDT 2004


> We have a big metamodel with a library inside (that is, readonly). In
> the new version of the metamodel there is a new version of the
library.
> When I open the new metamodel in GME and I run the UMT interpreter, it
> fails, because as it seems it needs to modify the metamodel, and also
> the parts which are in the library (which are readonly).
> 
> I don't understand why the UMT interpreter needs to change the
> metamodel... why should it? If somebody can explains us why this is
> needed, and which types of changes it performs, we probably can think
of
> how to work around the problem.
>

[Adi] 
The MetaGME2Uml/T interpreter writes back changes to the metamodel.
These changes are in the form of adding name=value pairs to the general
preferences in the connections, references and sets. These changes do
not break previously build models and are required for UDM to correctly
access the models. 

When you have a library in the metamodel then the interpreter ask you to
run the interpreter on the library, then refresh the library and then
run it on the target metamodel. This is required because in GME
libraries are read only. This information is provided in the dialog box
that is popped when the error occurs. This process has to only be
performed once and only when the library is changed.
 
Thanks,
Adi


More information about the great-users mailing list