Modisco parsing output [message #752151] |
Wed, 26 October 2011 05:40  |
Eclipse User |
|
|
|
Hello, I'm new to modisco and i would like to know if Modisco during reverse engineering from legacy code is able to generated .ecore file? At first look Modisco seems to only produce .xmi file.
Regards,
Stephane
|
|
|
|
|
|
Re: Modisco parsing output [message #753522 is a reply to message #753464] |
Thu, 27 October 2011 10:58   |
Eclipse User |
|
|
|
Hello Stephane,
XMI is the standard serialization format for models, and it is the same independently from the metamodels the models conform to (e.g.; the Java one, the UML2 one or any other metamodel).
Even if the extension name may change, there are still XMI files (I invite you to open them in a textual editor to realize this).
I think there is a confusion when you talk about generating a metamodel (i.e. a Ecore file, which is also a XMI file but with a specific extension name) from your Java code.
A metamodel describes the viewpoint from which your want to model a given system, not the view on this system (which is represented as a model that conforms to this metamodel).
So which viewpoint do you want to consider?
You can model the global architecture of the system, its detailed structure, the internal of its implementation, its provided features, its business or domain, etc.
Once you will have chosen/define this viewpoint, and so the correponding metamodel (i.e. Ecore file), you will be able to produce models (XMI files) that conforms to this metamodel and actually represent your required view of the system.
In order to do this, MoDisco provides some basic bricks that will help you to start and chain the various steps of your process.
Best regards,
Hugo
|
|
|
Re: Modisco parsing output [message #753703 is a reply to message #753522] |
Fri, 28 October 2011 08:28  |
Eclipse User |
|
|
|
Thanks you very much Hugo, now i have a better understanding over the XMI. Since the beginning i had tough that i could create an new EMF empty project in Eclipse and import model discovered by Modiso from an existing java source code application, but now i don't think it will work this way.
Best regards,
Stephane
|
|
|
Powered by
FUDForum. Page generated in 0.05191 seconds