[gme-users] RE: ESML integration questions

Peter Volgyesi peter.volgyesi at vanderbilt.edu
Mon Feb 16 08:02:36 CST 2004


Hi,

If you are using the same GME version to create all of your mga files 
and GME manages to open/attach an mga file with a different/older 
paradigm, then you should not expect any problem (ie.: you can submit a 
bug report if problems occur later...). In these cases the MGA layer 
checks the entire project before opening it.

--
peter


> Adi,
> 
> You are right, that is exactly why the technique
> was created. Except, binary compatibility of
> mga files is never guaranteed when moving from
> one gme version to another. Granted, this is a
> different problem. Let's ask Peter whether
> binary compatibility in this case is guaranteed
> or not for sure. Nevertheless, using xml import/
> export for these kinds of things are always safer
> in my view. But if you like to live dangerously... :)
> 
> Akos
> 
> 
> Aditya Agrawal wrote:
> 
>> Dear Akos,
>>
>> The MetaGME2000 to MetaGME is the classic example of this case, where
>> the paradigm and its name changed. This is the case for which the
>> technique I mentioned was created.
>>
>> In case of the metamodel containing libraries, it is easier as the new
>> metamodel is a superset and thus it has all the types of the old
>> metamodel. I have my self performed the steps I mentioned and they
>> worked.
>>
>> Actually the most interesting part is that you can attach old models to
>> a new project as a library. We use this feature in GReAT all the time.
>>
>> Thanks,
>> Adi
>>
>> ------------------------------------------
>> Aditya Agrawal mailto:aditya.agrawal at vanderbilt.edu
>> http://aditya.isis.vanderbilt.edu/
>> Institute For Software Integrated Systems (ISIS) www.isis.vanderbilt.edu
>>
>> Vanderbilt University 2015 Terrace Place Nashville, TN 37203
>> 615 322 3164
>>
>>
>> -----Original Message-----
>> From: Akos Ledeczi Sent: Friday, February 13, 2004 10:50 AM
>> To: gme-users
>> Cc: reddoc at list.isis.vanderbilt.edu; George Edwards
>> Subject: Re: [gme-users] RE: ESML integration questions
>>
>>
>> Vow! You are not even supposed to open mga files with a modified
>> paradigm, let alone a new "super-paradigm". I am impressed if
>> this works. The "official" method would be of course xml import
>> export. I would be interested to know whether that works though,
>> since I have not tried this myself.
>>
>> Akos
>>
>>
>>
>> Aditya Agrawal wrote:
>>
>>  
>>
>>> Hi George,
>>>
>>> Here is the answer your question regarding opening old models in the
>>>   
>>
>> new
>>  
>>
>>> paradigm. The old paradigm in this case is ESML and the new one is CCM.
>>> The CCM metamodel contains the ESML metamodel as a library.
>>> Now if you want to open ESML models in CCM you have to do the
>>>   
>>
>> following.
>>  
>>
>>> 1. Unregister the ESML paradigm
>>> 3. Now try to open the mga files in GME. GME will give the message
>>> "Project could not access its paradigm." And then it will ask you to
>>> choose the paradigm. Here you can specify CCM and them GME will be able
>>> to open it the models in the CCM paradigm.
>>>
>>> Thanks,
>>> Adi
>>>
>>> ------------------------------------------
>>> Aditya Agrawal mailto:aditya.agrawal at vanderbilt.edu
>>> http://aditya.isis.vanderbilt.edu/
>>> Institute For Software Integrated Systems (ISIS)
>>>   
>>
>> www.isis.vanderbilt.edu
>>  
>>
>>> Vanderbilt University 2015 Terrace Place Nashville, TN 37203
>>> 615 322 3164
>>>
>>>
>>> -----Original Message-----
>>> From: Sandeep Neema Sent: Friday, February 13, 2004 8:05 AM
>>> To: George Edwards; 'sandeep.k.neema at vanderbilt.edu'
>>> Cc: 'reddoc at list.isis.vanderbilt.edu'; Feng Shi; Aditya Agrawal
>>> Subject: RE: ESML integration questions
>>>
>>> George,
>>> Sorry I could not get to this yesterday. Please see remarks below:
>>>
>>> -- 
>>> Sandeep Neema
>>> Research Scientist,
>>> Institute of Software Integrated Systems, Vanderbilt University
>>> Phone: 615-343-9996
>>> Email: sandeep.k.neema at vanderbilt.edu
>>>
>>> -----Original Message-----
>>> From: George Edwards Sent: Thursday, February 12, 2004 11:42 AM
>>> To: sandeep.k.neema at vanderbilt.edu
>>> Cc: reddoc at list.isis.vanderbilt.edu
>>> Subject: ESML integration questions
>>>
>>> Hi Sandeep,
>>>
>>> In the course of our CoSMIC/ESML integration, a couple of questions
>>>   
>>
>> have
>>  
>>
>>> come up that you can probably help us with. It would be great if you
>>> could
>>> give us your thoughts on these issues:
>>>
>>> 1. If we create a new meta-model, attach ESML as a library, and build
>>> our
>>> CCM meta-models in that, will we be able to open old ESML models in
>>>   
>>
>> that
>>  
>>
>>> new
>>> paradigm? I have not been able to do so. It seems to me that attaching
>>> ESML
>>> as a library won't actually make it part of the paradigm. Is that
>>> correct?
>>> [SN] No, this is not correct. Once you attach ESML as a library (or
>>> import it) into a paradigm it is part of the new paradigm and it should
>>> be able to open existing ESML models. I would recommend getting
>>>   
>>
>> together
>>  
>>
>>> with Adi to figure out what is wrong -
>>>
>>> 2. Using GME 4, I took the ESML meta-model and added a new paradigm
>>> sheet
>>> that has several references to ESML elements, such as ComponentType. I
>>> can
>>> successfully import old ESML models into this new paradigm, but GME
>>> crashes
>>> every time I try to open an Interactions model. Any idea what could be
>>> causing this?
>>> [SN] No, I have no idea, without looking at your meta-model/model it is
>>> difficult for me to guess why it is crashing. We (MoBIES team) have not
>>> switched over to GME4 yet. Feng is primarily responsible for
>>>   
>>
>> maintaining
>>  
>>
>>> ESML, and perhaps she can help you look it over -
>>>
>>> I can send you my new ESML meta-model that's helpful. Thanks for your
>>> time.
>>> [SN] Please do send it over, and we can look at it further.
>>>
>>> George
>>> [SN] Best Wishes,
>>> Sandeep
>>>
>>> _______________________________________________
>>> gme-users mailing list
>>> gme-users at list.isis.vanderbilt.edu
>>> http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users
>>>
>>>
>>>   
>>
>>
>> _______________________________________________
>> gme-users mailing list
>> gme-users at list.isis.vanderbilt.edu
>> http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users
>> _______________________________________________
>> gme-users mailing list
>> gme-users at list.isis.vanderbilt.edu
>> http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users
>>  
>>
> 
> _______________________________________________
> gme-users mailing list
> gme-users at list.isis.vanderbilt.edu
> http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users



More information about the gme-users mailing list