a trick for now is to add a properties in the package that invoke the reinitializeDefaultSystem.
Stef
On 26 juin 07, at 11:19, sellossa@ensieta.fr wrote:
hello
I created my own metamodel to import my own elements in Moose.
Actually, I want to analyse chickens and eggs with Moose. So,I wrote classes Chicken and Egg which both extend MooseElement. Then, I extended MooseModel in my package and I implemented allChickens and allEggs methods in the class MooseModel. Finally, I imported in Moose my instances of Chicken and Egg and I could see them into Moose, so I was very happy :)
Infortunatly, when I decided to unload my model(and consequently the methods allChickens and allEggs in MooseModel), Moose didn't work anymore! To solve it, I ran System>> reinitializeDefaultSystem. Nervertheless, it may be painful and tiresome to reinitialize the system whenever a metamodel is removed.
Is there an other solution to fix this problem? Or is there possible to reinitialize it automatically at Moose launch.
Thank you for your help
Sara
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev