|
Re: [Edapt] Can I use Edapt directly on software using generated Model Code? [message #1457784 is a reply to message #1456292] |
Fri, 31 October 2014 17:58 |
Maximilian Koegel Messages: 253 Registered: July 2009 |
Senior Member |
|
|
Hi,
you can use Edapt to convert one version of your model to another
(typically newer) version of your model. Once it is converted you can
read the model with the generated code of your new model version.
Cheers,
Maximilian
Am 30.10.2014 08:54, schrieb Sylvain Bortelle:
> Hello,
>
> I have the following problematic: I like to know if I can use Edapt on
> my software to "read" different XML file from evolving Model.
>
> For more details, here my basic use case:
>
> I got a Model: XSD file.
> I got an implementation of this Model: XML file
> I use EMF to generate the .genmodel corresponding to the Model (and EMF
> create automatically the .ecore associate)
> I used .genmodel to Generate Model Code (Java API)
> I implement a software, who use generated Model Code, to extract some
> information of XML file
>
> When Model change I have to redo all these steps, because my software
> can not "read" the new XML file.
>
> On Edapt description page
> (https://www.eclipse.org/edapt/libraryexample.php), two functions are
> provided to perform a check of existing Model and if needed migrate:
> checkMigration() and performMigration().
>
> All the internet examples I found only talk about Editor modification to
> folow Model evolution.
>
> If I follow all step needed to perform a Model Migration with Edapt, can
> I integrate this two functions on my software to be able to "read"
> different XML file with same software?
>
> Thank you in advance for reading and help me.
--
Maximilian Kögel
Get Professional Eclipse Support: http://eclipsesource.com/munich
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.08493 seconds