Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » MoDisco » reverse engineering source code with method body
reverse engineering source code with method body [message #828307] Sat, 24 March 2012 15:16 Go to next message
Eclipse User
Hello.
Can MoDisco also store the body of a method as part of the KDM
model. What I'm looking for is a way to implement round-trip engineering
using MoDisco and Acceleo.
Re: reverse engineering source code with method body [message #829104 is a reply to message #828307] Sun, 25 March 2012 21:54 Go to previous messageGo to next message
Hugo Bruneliere is currently offline Hugo Bruneliere
Messages: 607
Registered: July 2009
Senior Member
Hello,

The current version of the MoDisco KDM discoverer (from Java projects) only deals with the superstructure of the application and not the method body's details.
For a complete round-trip engineering process, I recommend you to use the MoDisco Java discoverer and so the full MoDisco Java metamodel as a pivot.
Also, the corresponding Java code generator (based on Acceleo) is already provided for free by MoDisco.
In order to chain your different steps, you can use the MoDisco Workflow.

Any feedback concerning that type of round-trip engineering process with MoDisco is welcome, so thanks Smile

Best regards,

Hugo


------------------------------------------
Hugo Bruneliere - R&D Engineer
AtlanMod research team (Inria, EMN & LINA)
Ecole des Mines de Nantes
Nantes - France
------------------------------------------
Re: reverse engineering source code with method body [message #834585 is a reply to message #829104] Mon, 02 April 2012 05:58 Go to previous message
Eclipse User
Hi Hugo.
Thanks for pointing me in the right direction. The Java metamodel
captures all the java code information but when transforming java
metamodel -> kdm -> UML alot of the implementation information is lost.
I'd like to use UML to design my system, use code generation to start my
coding and add anything new I've coded back to my uml model through
reverse engineering. And continue to refine my model & code but the
problem is that the next time I generate code using the UML model all of
my implemented code will get lost.




On Sun, 25 Mar 2012 23:54:51 +0200, Hugo Bruneliere wrote:

> Hello,
>
> The current version of the MoDisco KDM discoverer (from Java projects)
> only deals with the superstructure of the application and not the method
> body's details. For a complete round-trip engineering process, I
> recommend you to use the MoDisco Java discoverer and so the full MoDisco
> Java metamodel as a pivot. Also, the corresponding Java code generator
> (based on Acceleo) is already provided for free by MoDisco. In order to
> chain your different steps, you can use the MoDisco Workflow.
>
> Any feedback concerning that type of round-trip engineering process with
> MoDisco is welcome, so thanks :)
>
> Best regards,
>
> Hugo
Previous Topic:XML to UML
Next Topic:EMF api - constructing XMI from XMI
Goto Forum:
  


Current Time: Fri Oct 24 15:41:16 GMT 2014

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

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