Re-generation of gmfgen when gmfmap has changed [message #151761] |
Thu, 20 September 2007 04:30 |
Eclipse User |
|
|
|
Originally posted by: mat.loo.gmail.com
Hi,
My old gmfmap looks like that :
TopNodeReference TNR1
- NodeMapping NM1
- ChildReference CR1
- ChildReference CR2
- NodeMapping NM2
- ChildReference CR3
- ChildReference CR4
I changed it to add new objects under NM1, like that
TopNodeReference TNR1
- NodeMapping NM1
- ChildReference CR1
- ChildReference CR2
- ChildReference CR5 *
- ChildReference CR6 *
TopNodeReference TNR2
- NodeMapping NM2
- ChildReference CR3
- ChildReference CR4
When I re-generate my gmfgen, the new file is unconsistent : CR3/CR5 and
CR4/CR6 are mixed, I mean, properties of one are used by the other and
everything is mixed (in particular, ID of GenChildNode in gmfgen are
switched)
When I do a copy of TNR1 (I mean, it targets the same EMF feature), not to
change the order of old objects, everything works "almost" properly ; the
parent of new GenChildNode is not shared...
TopNodeReference TNR1
- NodeMapping NM1
- ChildReference CR1
- ChildReference CR2
TopNodeReference TNR2
- NodeMapping NM2
- ChildReference CR3
- ChildReference CR4
TopNodeReference TNR2_bis *
- NodeMapping NM2_bis *
- ChildReference CR5 *
- ChildReference CR6 *
Am I doing the right way ? Is it a problem to duplicate TNR2 ?
thx
|
|
|
Powered by
FUDForum. Page generated in 0.09853 seconds