| [news.eclipse.tools.emf] Re: "Initialize by loading" & DocumentRoot |
|
I forgot to say that I generate an RCP version, but
it seem's to doesn't matter anyway...
I made a new clean install and I tried with your
file. I did have the same issue.
My install was made from the Eclipse Ganymede 3.5M1
build 200808071402, and the emf- sdo-xsd pack 2.5.0 M1.
I created a new emtpy EMF project, copy & past
your xsd file. I generated a library.genmodel file loading this xsd in the
wizard. I modified the "Rich Client Platform" and the "Initialize by loading"
flags both to true. Than I generated the model code, than the edit code, than
the Editor Code.
I run the app using the link in the plugin.xml of
the generated editor, I launched the wizard to create a new library file, than
it failed with an "FileNotFoudException" (in fact, when I debug it, it failed in
the createInitialModel method with a null pointer exception)
If I finally changed the "Initialize by loading"
flag to false, than re-generated the code and it was running
good...
What am I doing wrong ? I don't know what to say or
to do more... I can perhaps send the project in attachment ?
|