<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Tim,<br>
<br>
Thanks for the superb description and example. This is a Udm bug.
I've fixed it, and will make a release that includes the fix soon.<br>
<br>
I hope you don't mind that I've included your example in the Udm
automated tests. If you do mind, I can remove it.<br>
<br>
Thanks,<br>
Kevin<br>
<br>
<br>
<div class="moz-cite-prefix">On 3/3/2014 6:41 AM, Tim Belschner
wrote:<br>
</div>
<blockquote
cite="mid:000801cf36dd$dc369270$94a3b750$@ils.uni-stuttgart.de"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.E-MailFormatvorlage17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hello everyone,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I do face an exception
when compiling a GReAT transformation which contains a meta
model with nested libraries and namespaces respectively. <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">First, the exception
message:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">#--------------------------------------------------#<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">GR Engine v1.7.7.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Copyright (c) 2000-2007
ISIS, Vanderbilt University<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Engine Started. Loading
relevent files...<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Exception: Could not
initiliaze Udm Uml Diagram 'MetaLevel3' from GME paradigm:
'MetaLevel3': Cannot resolve association<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">
'NS_Level2::NS_Level1::Level1_Connection' with rolenames
'srcLevel2_Connection' 'dstLevel2_Connection'<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">#--------------------------------------------------#<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Due to modularity, I
nested three meta models as following (attached as
libraries):<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">#--------------------------------------------------#<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">MetaLevel3<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">--MetaLevel2 (namespace:
NS_Level2)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">----MetaLevel1
(namespace: NS_Level1) (does contain a
<<Connection>>)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">#--------------------------------------------------#<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Whereas MetaLevel2 and 3
are an extension to the next level below. For clarity, I
built up a small example (GME 13.8.28.1949): </span><a
moz-do-not-send="true"
href="http://www.ils.uni-stuttgart.de/nested_libraries.zip"><span
lang="EN-US">www.ils.uni-stuttgart.de/nested_libraries.zip</span></a><span
lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">The compilation is
successful except if MetaLevel1 contains a
<<Connection>> object.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">On the other side, if
MetaLevel2 is attached to MetaLevel3 without defining a
namespace for it and MetaLevel1 still contains a
<<Connection>> object the compiler runs without
trouble.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Summing up:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">MetaLevel3 with
'NS_Level1::Level1_Connection'<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">==> works fine<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">MetaLevel3 with
'NS_Level2::NS_Level1::Level1_Connection'<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">==> seems to violate
some restrictions<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">So my question is:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Is it even possible to
use nested meta models and <<Connection>>
objects with more than one namespace level?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">If my descriptions are
two vague, please let me know.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal">Best Regards<o:p></o:p></p>
<p class="MsoNormal">Tim<o:p></o:p></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
great-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:great-users@list.isis.vanderbilt.edu">great-users@list.isis.vanderbilt.edu</a>
<a class="moz-txt-link-freetext" href="http://list.isis.vanderbilt.edu/mailman/listinfo/great-users">http://list.isis.vanderbilt.edu/mailman/listinfo/great-users</a>
</pre>
</blockquote>
<br>
</body>
</html>