Sure :-)
I was trying to export my bugzilla data to mse, using the
NestedExporter (my meta-model is still based on Meta and not on Fame)
but I encountered a couple of problems.
In the bug model, one of the properties is a collection of activities,
which are modeled like:
metamodelActivities
^(EMOF.Property name: #activity type: BugActivity multiplicity: #many)
opposite: #bug; yourself
on the BugActivity side I have:
metamodelBug
^(EMOF.Property name: #bug type: Bug)
opposite: #activity; yourself
The problems I had were:
- when I export, to have the activities on the mse I have to directly
add them in the exporter (something like exporter addAll: (bugs
flatCollect: [:e | e activities]) ), even if they are parts of bug
- in exporting both bugs and activities, data type declared as
Timestamp, Text and others are not written in the mse. Only the idref
is written. Something like:
(Smalltalk.Churrasco.Bug (id: 125)
(activity (idref: 126) (idref: 127) (idref: 128) (idref: 129) (idref:
130))
(component 'User Assistance')
(creationTS (idref: 131))
(deltaTS (idref: 132))
Where creationTS and deltaTS are declared as Timestamp in the metamodel.
Note that the id mentioned in the idref (for example 131) do not
appear in the mse. Maybe the problem is something in #isNested: of the
NestedExporter?
Thanks and cheers
Marco
On Dec 2, 2008, at 9:48 AM, stéphane ducasse wrote:
Hi marco
could you let us know the problem you got with putting date in an
entity and saving an mse model
Stef
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev