Hi guys, In Moose 7/Pharo 7, I have this message : "Moose description are not initialized. Have you refreshed the meta-model? (e.g., MooseModel resetMeta)". I am working on my own model created in Moose6.1. It worked with it. Browsing the model in the MoosePanel is possible with the use of pragmas MSEProperties. But it seems that in Moose 7, there are changes. Can someone help me or give me a documentation about what was changed in Moose 7 in the declaration on models ? Thank you _______________________________________________ Moose-dev mailing list [hidden email] https://www.list.inf.unibe.ch/listinfo/moose-dev |
_______________________________________________ Moose-dev mailing list [hidden email] https://www.list.inf.unibe.ch/listinfo/moose-dev |
The Famix metamodel was completly redesign to make it easier to create new models. It now uses stateful traits to represent basic properties (eg an entity as a name, or an entity contains methods) that are combined to create the entities one needs. we are still working on it, but you can have a look at https://github.com/SquareBracketAssociates/Booklet-FamixNG nicolas On Tue, 2019-05-28 at 19:16 +0000, Jannik Laval wrote: > > Hi > > guys, > > In > > Moose 7/Pharo 7, I have this message : "Moose description are not > > initialized. Have you refreshed the meta-model? (e.g., MooseModel > > resetMeta)". > > I > > am working on my own model created in Moose6.1. It worked with > > it. > > Browsing > > the model in the MoosePanel is possible with the use of pragmas > > MSEProperties. > > > > > > But > > it seems that in Moose 7, there are changes. > > Can > > someone help me or give me a documentation about what was changed > > in Moose 7 in the declaration on models ? > > > > > > Thank > > you > > _______________________________________________ > Moose-dev mailing list > [hidden email] > https://www.list.inf.unibe.ch/listinfo/moose-dev Nicolas Anquetil RMod team -- Inria Lille _______________________________________________ Moose-dev mailing list [hidden email] https://www.list.inf.unibe.ch/listinfo/moose-dev |
Thank you Nicolas,
What I understand is that I need to create a builder, and define my model.
Also, If I understand well, the traits are dedicated to OOP (TClass, TMethod…)
I will try and see.
Cheers,
--
~~Jannik Laval~~ Enseignant-chercheur Responsable Pédagogique Licence Coordonnateur de Projet IUT Lumière, Université Lumière Lyon 2 laboratoire DISP +33 4 78 77 43 06 http://www.jannik-laval.eu http://www.phratch.com http://www.approchealpes.info
_______________________________________________ Moose-dev mailing list [hidden email] https://www.list.inf.unibe.ch/listinfo/moose-dev |
Hello,
Here are the slides of the tutorial: https://www.slideshare.net/JulienDelp/famix-nextgeneration Cheers, Julien --- Julien Delplanque Doctorant à l’Université de Lille http://juliendelplanque.be/phd.html Equipe Rmod, Inria Bâtiment B 40, Avenue Halley 59650 Villeneuve d'Ascq Numéro de téléphone: +333 59 35 86 40
_______________________________________________ Moose-dev mailing list [hidden email] https://www.list.inf.unibe.ch/listinfo/moose-dev |
Thank you Julien,
I will use them.
Cheers
--
~~Jannik Laval~~ Enseignant-chercheur Responsable Pédagogique Licence Coordonnateur de Projet IUT Lumière, Université Lumière Lyon 2 laboratoire DISP +33 4 78 77 43 06 http://www.jannik-laval.eu http://www.phratch.com http://www.approchealpes.info
_______________________________________________ Moose-dev mailing list [hidden email] https://www.list.inf.unibe.ch/listinfo/moose-dev |
In reply to this post by Jannik Laval-2
On Wed, 2019-05-29 at 07:28 +0000, Jannik Laval wrote:
> Thank you Nicolas, > > What I understand is that I need to create a builder, and define my > model. > Also, If I understand well, the traits are dedicated to OOP (TClass, > TMethod…) yes, definitly, in this initial step we focused the historical core of Moose/Famix You can still use it to do other things: - Julien Delplanque did a model of Postgresql https://ieeexplore.ieee.org/abstract/document/8530076 - Benoit Verhaeghe did model for GUI https://ieeexplore.ieee.org/abstract/document/8667989 nicolas > > I will try and see. > Cheers, > -- > ~~Jannik Laval~~ > Enseignant-chercheur > Responsable Pédagogique Licence Coordonnateur de Projet > IUT Lumière, Université Lumière Lyon 2 > laboratoire DISP > +33 4 78 77 43 06 > http://www.jannik-laval.eu > http://www.phratch.com > http://www.approchealpes.info > > > Le 29 mai 2019 à 08:07, Nicolas Anquetil <[hidden email] > > > a écrit : > > > > > > The Famix metamodel was completly redesign to make it easier to > > create > > new models. > > > > It now uses stateful traits to represent basic properties (eg an > > entity > > as a name, or an entity contains methods) that are combined to > > create > > the entities one needs. > > > > we are still working on it, but you can have a look at > > https://github.com/SquareBracketAssociates/Booklet-FamixNG > > > > nicolas > > > > > > On Tue, 2019-05-28 at 19:16 +0000, Jannik Laval wrote: > > > > Hi > > > > guys, > > > > In > > > > Moose 7/Pharo 7, I have this message : "Moose description are > > > > not > > > > initialized. Have you refreshed the meta-model? (e.g., > > > > MooseModel > > > > resetMeta)". > > > > I > > > > am working on my own model created in Moose6.1. It worked with > > > > it. > > > > Browsing > > > > the model in the MoosePanel is possible with the use of pragmas > > > > MSEProperties. > > > > > > > > > > > > But > > > > it seems that in Moose 7, there are changes. > > > > Can > > > > someone help me or give me a documentation about what was > > > > changed > > > > in Moose 7 in the declaration on models ? > > > > > > > > > > > > Thank > > > > you > > > > > > _______________________________________________ > > > Moose-dev mailing list > > > [hidden email] > > > https://www.list.inf.unibe.ch/listinfo/moose-dev > > -- > > Nicolas Anquetil > > RMod team -- Inria Lille > > > > _______________________________________________ > > Moose-dev mailing list > > [hidden email] > > https://www.list.inf.unibe.ch/listinfo/moose-dev > > _______________________________________________ > Moose-dev mailing list > [hidden email] > https://www.list.inf.unibe.ch/listinfo/moose-dev Nicolas Anquetil RMod team -- Inria Lille _______________________________________________ Moose-dev mailing list [hidden email] https://www.list.inf.unibe.ch/listinfo/moose-dev |
So, now I have a builder.
When I run it, it creates all classes. Then I updates my parsers to be in touch with my new classes. So, now I can load my model but with 3 questions : - in the builder, I found the method wantsAllEntitiesNavigation. What is it ? - for the model, for now, I created my own model (the class is named PulseModel). In my parser, I populate this model with the entities collected by my parser. Does the model can be generated also by the builder ? - in the browser, I already have the same error than in the old Famix : "Moose description are not initialized. Have you refreshed the meta-model? (e.g., MooseModel resetMeta) ». What can be the problem ? Thank you for help.
_______________________________________________ Moose-dev mailing list [hidden email] https://www.list.inf.unibe.ch/listinfo/moose-dev |
Hello Le lun. 3 juin 2019 à 12:18, Jannik Laval <[hidden email]> a écrit :
- If true, when we inspect the model, do you want to see all the entities in on entry?
- I'm not sure about the question. But from what you said, this is a good way to create the model. The generator does not populate the model.
Ahh... Yeah... We are currently working on this problem to make it easier. I've fixed some bugs last week, you should not have this problem with both the inspector and the Moose panel now. However, this happens when you use a MooseModel without defined meta-model. So, you should execute myModel := MooseModel new. myModel metamodel: MyGenerator metamodel (or MyGenerator resetMetamodel). "populate the model" now you can inspect elements of your model. (contact me directly on discord if needed) Benoît Verhaeghe
_______________________________________________ Moose-dev mailing list [hidden email] https://www.list.inf.unibe.ch/listinfo/moose-dev |
Hi,
Thank you, I found it before reading your mail.
But, it is true, I specified my metamodel and it works.
The second question is about the generation of the class « PulseModel ».
In the old Famix, I created the methods allClasses, allMethods…
Here, it is managed by wantsAllEntitiesNavigation.
But the methods are not generated, and I cannot use them outside the browser. right ?
Thank you for your help.
Cheers,
--
~~Jannik Laval~~ Enseignant-chercheur Responsable Pédagogique Licence Coordonnateur de Projet IUT Lumière, Université Lumière Lyon 2 laboratoire DISP +33 4 78 77 43 06 http://www.jannik-laval.eu http://www.phratch.com http://www.approchealpes.info
_______________________________________________ Moose-dev mailing list [hidden email] https://www.list.inf.unibe.ch/listinfo/moose-dev |
Free forum by Nabble | Edit this page |