Hi,
I have a Smalltalk code with meta description (metamodel* methods). My
goal is to get the meta model associated to the code.
the problem: In my code, for each Class, only the attributes and the
operations are meta-described (thanks to the class methods :
metamodelAttribute1, metamodelOperation1 and so on....). But I have not
found the way to obtain the EMOF Class that describes my class.
Is it possible to get a repository that contains all Emof entities that
correspond to the elements of my smalltalk code?
Today, I tried to do this with FAMIXModel. e.g, I called the class
methods 'metamodelAttribute' 'in FAMIXClass and I got an EMOF entity whose
'owner' was nil!
Moreover, in VisualLauncher class, you define the method
mooseStrictFamixMetaModel. In this method, you do:
'package := (Meta.System reference metamodel elementNamed: 'FAMIX')' but
it returns nil
thank you for your help!
sara
Hi
how do I know which are the metamodels that are loaded in visualworks?
Is there a repository for metamodels? I thought marc stetller
implemented one
but it was never up to the point to be integrated in Moose.
Stef
Hi,
First of all, thanks for reporting this. I have fixed the problem in
MooseDevelopment 3.2.42.
Second of all, I would like to ask you to use also the Bug Tracking
System for such reports:
http://macamis.unibe.ch/trackers/moose/
It makes it much easier for us to track what needs to be done.
Even better is to also provide a test that fails :).
Cheers,
Doru
From: tverwaes(a)infogroep.be
Subject: [Moose-dev] Re: MooseModel and namespaces
Date: July 18, 2007 10:19:36 PM GMT+02:00
To: moose-dev(a)iam.unibe.ch
I have exactly the same effect with any namespace I import (for
namespaces imported as side-info as well as namespace which I am
importing). It would be nicer if they would actually be nested since
one of the clustering algorithms uses the recursiveClasses (which
currently gives back exactly the same as classes), and which would
automatically be nested in the cluster browser...
Reproducing just comes down to loading whatever namespace which has
subnamespaces (SCG?) and inspecting it :)
Toon
On (18/07/07 09:15), Adrian Kuhn wrote:
> From: Adrian Kuhn <akuhn(a)gmx.ch>
> To: sellossa(a)ensieta.fr
> Cc: Moose-dev Bugs <moose-dev(a)iam.unibe.ch>
> Subject: [Moose-dev] Re: MooseModel and namespaces
> Date: Wed, 18 Jul 2007 09:15:07 +0200
>
> Hey Sara,
> please provide a sample mse file, such that we can try to reproduce
> the bug.
>
> AA
>
> On 17 Jul 2007, at 22:51 , sellossa(a)ensieta.fr wrote:
>
>
>> Hi!
>>
>> I have a question concerning the structure of a MooseModel.
>>
>> Imagine that we have a project with three Namespaces: Namespace A,
>> NamespaceB, NamespaceC. In my project, NamespaceA contains
>> NamespaceB and
>> NamespaceC.
>> Then, I import the project in Moose and I get a MooseModel with my
>> three
>> namespaces.
>>
>> When I inspect NamespaceB and NamespaceC, I can see (thanks to the
>> attribute 'belongsTo') that they both belong to NamespaceA
>> Nevertheless, when I inspect NamespaceA, I realise that attribute
>> 'namespaces' is an empty OrderedCollection.
>>
>> Is it normal? Because I think that 'namespaces ' should contain
>> NamespaceB
>> and NamespaceC, isn't it?
>>
>> thanks
>>
>> Sara
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> Moose-dev(a)iam.unibe.ch
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>
> _______________________________________________
> Moose-dev mailing list
> Moose-dev(a)iam.unibe.ch
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
www.iam.unibe.ch/~girbawww.iam.unibe.ch/~girba/blog/
"The coherence of a trip is given by the clearness of the goal."
Hi,
I noticed this morning that the test testSize of the EssentialMOFTest test
case is broken :
I looked for the reason of this : there were two problems
- My friend sara accidentaly declared one of her test case in the EMOF
nameSpace
-the method EMOF.Element>>createMetaClass now includes : "class
addComment: self commentMetaClass" witch add a EMOF.Comment 'The root of
the EMOF implementation' to all the element of the EMOF metamodel because
of the inheritance ...
Am I the only one to face this small problem ?
Do you want I to fix it ?
On Jul 16, 2007, at 05:03 AM, Toon Verwaest wrote:
>>> It is true that we don't have information, but in the case that the
>>> system would try to put such classes together with classes in our
>>> system, this should probably fail since we don't want to find
>>> software
>>> components in libraries. This is where the "Fixating" tab comes in
>>> handy, were we can exclude results library classes. If we do this,
>>> even while they were clustered together, we exclude those results.
>>
>> That was what I would tell you indirectly: It is the best simple
>> solution...
>> I understand perfectly the following of your mail, and I know that a
>> clustering algorithm is not a kind of magic which could give us an
>> ideal solution without any user's intervention!!! The objective was
>> simply pointing out this point which does not occurs only in the case
>> of -System under analysis and Platform library-. Ok I will not discus
>> now the problem of inter-systems collaboration and system's
>> plugins...
>
> I just extended the program as such, as defined in the semi-automatic
> method of Koschke, that certain elements and relations can be ignored
> from results of plugins. The change is that, now after ignoring
> classes (or relationships, which already works but is not yet
> integrated in UI), (parts of) the plugins get recalculated ignoring
> the removed relations or full classes and all relations from/to these
> classes. This instead of just making a subset of the cluster without
> the ignored element. For example when applying SCC to moosified moose,
> if we would originally remove MooseModel and FAMIXClass, which are
> part of a SCC cluster of 125 classes, the new cluster would have been
> 123 classes (125 - 2...) while in the new version, it rechecks the
> graph, and it will find that only about 5 small subgraphs of the
> original
> graph is are still strongly connected.
>
excellent :-)
> The downside... removing links, fixating clusters or removing classes
> forces you to recalculate the results of the plugins (at least
> partly).
nothing is gratuitous (gratos) :-)
>
> Toon
P.S.: writing/working at 05:00 AM is a very good sign :-) , and that
leads me to tell you best wishes and very nice day :)
Hani