| [news.eclipse.tools.emf] Re: Problems reloading a new XML schema |
Ben,
Comments below.
It's only the GenModel that's reconciled. You can specify constraints directly in the XSD as annotations using ecore:constraints="..."Hi,
I need to update my genmodel with the new changes on my schema so I right-click on the genmodel file, select Reload... from the context menu, select my schema with the new changes, and click Finish.
The genmodel is updated, however, my ecore file is totally recreated instead of updated so it losses all the constraints declared on the EClassifier via an EAnnotation.
Specifying everything you need directly in the .xsd is the way to go.
Is there workaround for this so my ecore model is updated (like the genmodel) instead of being recreated?
Thanks in advance!