[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.tools.emf] "Initialize by loading" & DocumentRoot

Hi,

I saw a strange behavior with my EMF model since I used 2.5M1 (I was 
previously using EMF 2.4) :

The generated code cannot instanciate any more objets because the 
getESTructuralFeature method seems to return bad initialized 
EStructuralFeature objects (For exemple, the createInitialModel of the 
generated editor fails).

After looking about this bug, I found that this is happening when an ecore 
model is generated from a schema which have elements (so that there is a 
generated documentRoot), and when setting the "intialize by loading"  to 
true (My model is quite large, but it is reproducible with a little one).

I'm very confused with this tricky trouble... How could I manage it ?

Fabrice Dubach