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
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
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 Moose-dev@list.inf.unibe.ch 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
Le 29 mai 2019 à 08:07, Nicolas Anquetil <nicolas.anquetil@inria.frmailto:nicolas.anquetil@inria.fr> 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 Moose-dev@list.inf.unibe.ch https://www.list.inf.unibe.ch/listinfo/moose-dev -- Nicolas Anquetil RMod team -- Inria Lille
_______________________________________________ Moose-dev mailing list Moose-dev@list.inf.unibe.ch https://www.list.inf.unibe.ch/listinfo/moose-dev
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 <nicolas.anquetil@inria.fr
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 Moose-dev@list.inf.unibe.ch https://www.list.inf.unibe.ch/listinfo/moose-dev
-- Nicolas Anquetil RMod team -- Inria Lille
Moose-dev mailing list Moose-dev@list.inf.unibe.ch https://www.list.inf.unibe.ch/listinfo/moose-dev
Moose-dev mailing list Moose-dev@list.inf.unibe.ch 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.
Le 29 mai 2019 à 10:30, Nicolas Anquetil nicolas.anquetil@inria.fr a écrit :
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 https://ieeexplore.ieee.org/abstract/document/8530076
- Benoit Verhaeghe did model for GUI
https://ieeexplore.ieee.org/abstract/document/8667989 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 <nicolas.anquetil@inria.fr
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 Moose-dev@list.inf.unibe.ch https://www.list.inf.unibe.ch/listinfo/moose-dev
-- Nicolas Anquetil RMod team -- Inria Lille
Moose-dev mailing list Moose-dev@list.inf.unibe.ch https://www.list.inf.unibe.ch/listinfo/moose-dev
Moose-dev mailing list Moose-dev@list.inf.unibe.ch https://www.list.inf.unibe.ch/listinfo/moose-dev
-- Nicolas Anquetil RMod team -- Inria Lille
Moose-dev mailing list Moose-dev@list.inf.unibe.ch mailto:Moose-dev@list.inf.unibe.ch https://www.list.inf.unibe.ch/listinfo/moose-dev https://www.list.inf.unibe.ch/listinfo/moose-dev
Hello
Le lun. 3 juin 2019 à 12:18, Jannik Laval jannik.laval@gmail.com a écrit :
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 ?
- If true, when we inspect the model, do you want to see all the entities in on entry?
- 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 ?
- 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.
- 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 ?
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
Thank you for help.
Le 29 mai 2019 à 10:30, Nicolas Anquetil nicolas.anquetil@inria.fr a écrit :
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 <nicolas.anquetil@inria.fr
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 Moose-dev@list.inf.unibe.ch https://www.list.inf.unibe.ch/listinfo/moose-dev
-- Nicolas Anquetil RMod team -- Inria Lille
Moose-dev mailing list Moose-dev@list.inf.unibe.ch https://www.list.inf.unibe.ch/listinfo/moose-dev
Moose-dev mailing list Moose-dev@list.inf.unibe.ch https://www.list.inf.unibe.ch/listinfo/moose-dev
-- Nicolas Anquetil RMod team -- Inria Lille
Moose-dev mailing list Moose-dev@list.inf.unibe.ch https://www.list.inf.unibe.ch/listinfo/moose-dev
Moose-dev mailing list Moose-dev@list.inf.unibe.ch 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
Le 4 juin 2019 à 09:49, Benoît Verhaeghe <badetitou@gmail.commailto:badetitou@gmail.com> a écrit :
Hello
Le lun. 3 juin 2019 à 12:18, Jannik Laval <jannik.laval@gmail.commailto:jannik.laval@gmail.com> a écrit : 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 ?
- If true, when we inspect the model, do you want to see all the entities in on entry?
- 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 ?
- 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.
- 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 ?
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
Thank you for help.
Le 29 mai 2019 à 10:30, Nicolas Anquetil <nicolas.anquetil@inria.frmailto:nicolas.anquetil@inria.fr> a écrit :
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.euhttp://www.jannik-laval.eu/ http://www.phratch.comhttp://www.phratch.com/ http://www.approchealpes.infohttp://www.approchealpes.info/
Le 29 mai 2019 à 08:07, Nicolas Anquetil <nicolas.anquetil@inria.frmailto:nicolas.anquetil@inria.fr 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 Moose-dev@list.inf.unibe.chmailto:Moose-dev@list.inf.unibe.ch https://www.list.inf.unibe.ch/listinfo/moose-dev -- Nicolas Anquetil RMod team -- Inria Lille
_______________________________________________ Moose-dev mailing list Moose-dev@list.inf.unibe.chmailto:Moose-dev@list.inf.unibe.ch https://www.list.inf.unibe.ch/listinfo/moose-dev
_______________________________________________ Moose-dev mailing list Moose-dev@list.inf.unibe.chmailto:Moose-dev@list.inf.unibe.ch https://www.list.inf.unibe.ch/listinfo/moose-dev -- Nicolas Anquetil RMod team -- Inria Lille
_______________________________________________ Moose-dev mailing list Moose-dev@list.inf.unibe.chmailto:Moose-dev@list.inf.unibe.ch https://www.list.inf.unibe.ch/listinfo/moose-dev
_______________________________________________ Moose-dev mailing list Moose-dev@list.inf.unibe.chmailto:Moose-dev@list.inf.unibe.ch https://www.list.inf.unibe.ch/listinfo/moose-dev _______________________________________________ Moose-dev mailing list Moose-dev@list.inf.unibe.chmailto:Moose-dev@list.inf.unibe.ch https://www.list.inf.unibe.ch/listinfo/moose-dev