Hi,
I have some problem to import a moose model that i have previously exported. The error that appear is the following: 'Element ''Famix'' not found.' The MSE exported from the MooseModel is attached. The elements of the model contain a method "annotation" that look like this: annotation <MSEClass: #Column super: #FAMIXRelationalEntity> <package: #FAMIX> Once i have the moose model i export it with "exportToMSE" than i try to import the model again with "importFromMSE". Any idea why i have that problem? Do you need more info to understand the problem? Cheers, Fabrizio _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev db.mse (6K) Download Attachment |
I'm not sure what i did but after generating again the MSE it started working. The generate MSE file elements look now like this:
(FAMIX.Column (id: 64) (name ''Updated'')) Cheers, Fabrizio On 25 Nov 2011, at 17:05, Fabrizio Perin wrote: > Hi, > I have some problem to import a moose model that i have previously exported. > The error that appear is the following: > 'Element ''Famix'' not found.' > > The MSE exported from the MooseModel is attached. > > The elements of the model contain a method "annotation" that look like this: > annotation > <MSEClass: #Column super: #FAMIXRelationalEntity> > <package: #FAMIX> > > Once i have the moose model i export it with "exportToMSE" than i try to import the model again with "importFromMSE". > > Any idea why i have that problem? Do you need more info to understand the problem? > > Cheers, > Fabrizio > > <db.mse>_______________________________________________ > Moose-dev mailing list > [hidden email] > https://www.iam.unibe.ch/mailman/listinfo/moose-dev _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Remember to reset the metamodel:
MooseModel resetMeta On Fri, Nov 25, 2011 at 6:22 PM, Fabrizio Perin <[hidden email]> wrote: I'm not sure what i did but after generating again the MSE it started working. The generate MSE file elements look now like this: -- Andre Hora _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Hi Fabrizio,
In the original MSE, the entities appeared as: (Famix-SQL.FAMIXColumn (id: 13) (name 'Created')) I guess you changed the meta definition after exporting. Doru On 25 Nov 2011, at 19:01, Andre Hora wrote: > Remember to reset the metamodel: > MooseModel resetMeta > > On Fri, Nov 25, 2011 at 6:22 PM, Fabrizio Perin <[hidden email]> wrote: > I'm not sure what i did but after generating again the MSE it started working. The generate MSE file elements look now like this: > > (FAMIX.Column (id: 64) > (name ''Updated'')) > > Cheers, > Fabrizio > > > On 25 Nov 2011, at 17:05, Fabrizio Perin wrote: > > > Hi, > > I have some problem to import a moose model that i have previously exported. > > The error that appear is the following: > > 'Element ''Famix'' not found.' > > > > The MSE exported from the MooseModel is attached. > > > > The elements of the model contain a method "annotation" that look like this: > > annotation > > <MSEClass: #Column super: #FAMIXRelationalEntity> > > <package: #FAMIX> > > > > Once i have the moose model i export it with "exportToMSE" than i try to import the model again with "importFromMSE". > > > > Any idea why i have that problem? Do you need more info to understand the problem? > > > > Cheers, > > Fabrizio > > > > <db.mse>_______________________________________________ > > Moose-dev mailing list > > [hidden email] > > https://www.iam.unibe.ch/mailman/listinfo/moose-dev > > > _______________________________________________ > Moose-dev mailing list > [hidden email] > https://www.iam.unibe.ch/mailman/listinfo/moose-dev > > > > -- > Andre Hora > > _______________________________________________ > Moose-dev mailing list > [hidden email] > https://www.iam.unibe.ch/mailman/listinfo/moose-dev -- www.tudorgirba.com "Every successful trip needs a suitable vehicle." _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Free forum by Nabble | Edit this page |