Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » MoDisco » startLine and endLine attributes(KDM region attributes)
startLine and endLine attributes [message #958145] Thu, 25 October 2012 19:58 Go to next message
Daniel San Martín is currently offline Daniel San Martín
Messages: 8
Registered: October 2012
Junior Member
Hi,

When the kdm file xmi is generated, the region element just contains the language attribute. How can I get the rest of the attributes like startLine and endLine?

Thanks in advance,

Daniel.
Re: startLine and endLine attributes [message #965527 is a reply to message #958145] Wed, 31 October 2012 09:56 Go to previous message
Fabien Giquel is currently offline Fabien Giquel
Messages: 138
Registered: July 2009
Senior Member
Hi Daniel,

indeed the "Discover KDM Code Model from Java Project" discoverer does not compute the start and end line attributes.

There is another discoverer "Discover Java and Inventory Model from Java Project" which proposes to compute some weaving between one Java model and one KDM.Source model. In this composite model you will find SourceRegion instances with start and end line attributes.

Regards,
Fabien.



----------------------------------------------------
Fabien GIQUEL
R&D Engineer
Mia-Software
4, rue du Château de l'Eraudiere
44324 NANTES CEDEX 03
----------------------------------------------------
Previous Topic:Problems with kdm in an ATL transformation
Next Topic:Programmatically get kdm instance v0.10
Goto Forum:
  


Current Time: Thu Oct 23 14:01:58 GMT 2014

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

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