Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » XML Schema Definition (XSD) » Importing old version XSD model to new emf .ecore
Importing old version XSD model to new emf .ecore [message #602677] Tue, 30 October 2007 09:02
paolo russian is currently offline paolo russianFriend
Messages: 81
Registered: July 2009
Member
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
gmf.
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!
Previous Topic:how to get ALL element declarations ?
Next Topic:Importing old version XSD model to new emf .ecore
Goto Forum:
  


Current Time: Fri Nov 28 08:55:01 GMT 2014

Powered by FUDForum. Page generated in 0.01785 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software