|Importing old version XSD model to new emf .ecore [message #602677]
||Tue, 30 October 2007 09:02
| paolo russian
Registered: July 2009
Hi, I got to migrate a whole gui designer based on emf/gmf to the latest |
versions of these plugins and eclipse. What are the correct steps to
import my very very large XSD model to my up-to date eclipse environment?
I'm behind porting an application with several custom palette items and
views and a lot of distributed code all nested into my model, and I got
big troubles in generating a new ecore-genmodel from the XSD i have.
Basically, what I believe I've got to do is this (just to let you see if
I'm doin noob mistakes):
a) start a new gmf project under an up-to-date eclipse environment;
b) create an emf project loading old version xsd file;
c) try to import/migrate the gmftool & gmfgraph friends hoping I won't
have to rebulid by hand all the nesting child/nodes stuff.
d) "combine" them in the .gmfmap (via gmf dashboard) and generate the
final .diagram code.
The problem is that as soon as I try to import my old version xsd and I
let eclipse "generate all" from .genmodel, what I get is only
mistake-filled projects parts. Missing references, missing classes, wrong
visibilities.. all on the generated part of the code so I really don't
have a clue on what to do.
This make me ask you what I am doing wrong, and if is this the correct way
to migrate my project in order to use/implement the new features of latest
I'm trying to avoid to rewrite everything by hand starting from scratch...
besides our develeopement teams need to keep working around this xsd
import thing (new widgets we will develop etc).
Thanks for your help!
Powered by FUDForum
. Page generated in 0.01931 seconds