Skip to main content



      Home
Home » Modeling » MoDisco » reverse engineering source code with method body
reverse engineering source code with method body [message #828307] Sat, 24 March 2012 11:16 Go to next message
Eclipse UserFriend
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 17:54 Go to previous messageGo to next message
Eclipse UserFriend
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
Re: reverse engineering source code with method body [message #834585 is a reply to message #829104] Mon, 02 April 2012 01:58 Go to previous message
Eclipse UserFriend
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 May 16 17:23:56 EDT 2025

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

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

Back to the top