I have a schema in an xsd file. a new version of the schema is created from time to time, and I need to update my .ecore (and .genmodel). How to update them without deleting them and re-creating them. I made some manual modification for ecore and I want to save these changes.
ido.
Use the Reload ... action on * .genmodel to update * .ecore based on the new version * .xsd.
And do not directly change .ecore. Using ecore: annotations in a schema. http://www.eclipse.org/modeling/emf/docs/overviews/XMLSchemaToEcoreMapping.pdf
, XSD FAQ :
JAXB Java API XML-, , , . EMF Ecore XML , Java API ( ). XML Ecore , , Java API , Java API . The , . , EMF XML- ( 2.0, ).
, , , , .
, . :
All other materials must be combined. Go ahead and experiment - what version control is for ....
Source: https://habr.com/ru/post/1714710/More articles:Problem converting byte array to iphone - jsonSimple iPhone 2D Quartz Drawing Application - iphoneHow to make sure that a person does not see the results from the URL of the PHP script? - phpПроверка скорости между Javascript framework надежна? - performanceWeird Visual Studio 2008 Behavior: Build Failure, Missing Error Message? - visual-studio-2008JScript Wait Function - javascriptCatmull-Rom splines in python - pythonMultiThreading WebBrowser Control C # STA - multithreadingWhy is the asp.NET profile designed in such a terrible way? - c #How to create a buffer similar to * compilation * in Emacs? - emacsAll Articles