Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » MoDisco » Can I create KDM model from only part of Java project?
Can I create KDM model from only part of Java project? [message #1090559] Tue, 20 August 2013 10:09 Go to next message
Matti Nauha is currently offline Matti NauhaFriend
Messages: 1
Registered: August 2013
Junior Member
I'm trying to reverse engineer a big legacy project with MoDisco eclipse plugin. Tried doing a Java to KDM model discovery, but it failed because Java heap space got filled. So i increased the amount of memory, but now discovery process seems to be getting stuck at "Saving discovered model".

If i go and select single Java package from my project, only option i get for discovery is "KDM source" and that one doesn't contain any information about class relations etc.

Is there a way to create a KDM model from only some small part of Java project? Or is there some way to improve KDM discovery performance, when dealing with huge project?
Re: Can I create KDM model from only part of Java project? [message #1091515 is a reply to message #1090559] Wed, 21 August 2013 16:08 Go to previous message
Hugo Bruneliere is currently offline Hugo BruneliereFriend
Messages: 612
Registered: July 2009
Senior Member
Hello,

A solution is to work in two steps:

  1. Discover the Java model by selecting only the packages you need (cf. the corresponding parameters in the launch configuration of the Java discoverer);
  2. Transform this reduced Java model into the KDM model.

I hope this helps.

Best regards,


------------------------------------------
Hugo Bruneliere - R&D Engineer
AtlanMod research team (Inria, EMN & LINA)
Ecole des Mines de Nantes
Nantes - France
------------------------------------------
Previous Topic:KDM Method Invocation
Next Topic:Changing KDM programatically
Goto Forum:
  


Current Time: Wed Nov 26 22:01:02 GMT 2014

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

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