Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » MoDisco » Problems with kdm in an ATL transformation(Problems with kdm in an ATL transformation)
Problems with kdm in an ATL transformation [message #930438] Tue, 02 October 2012 10:11 Go to next message
Feliu Trias is currently offline Feliu TriasFriend
Messages: 4
Registered: July 2012
Junior Member
Hi everyone,

I am trying to implement an ATL transformation between KDM and another metamodel. This is as simple as:

module kdm2cms;
create cmscm : CMSCM from kdm : KDM;
rule kdm2cms {
from
kdm : KDM!Segment

to
cmscm : CMSCM!CMSModel
}

I try to transform the Segment element from the Inventory Model to a CMSModel element (an element of our metamodel).
When I launch the transformation any error appears in the console or in the error log, but the file generated is empty.

Otherwise, I have implemented a transformation transforming on the contrary (from a CMSModel to a Segment) and it works.

If any of you can help I'd be grateful.

Feliu
Re: Problems with kdm in an ATL transformation [message #953907 is a reply to message #930438] Mon, 22 October 2012 16:26 Go to previous messageGo to next message
Hugo Bruneliere is currently offline Hugo BruneliereFriend
Messages: 674
Registered: July 2009
Senior Member
Hello,

It seems that this is more a model-to-model transformation issue not directly related to the MoDisco KDM metamodel implementation.
You should be able to find a correct way to write your ATL transformation (maybe your input KDM model was simply not containing any KDM!Segment element).

Best regards,

Hugo


--------------------------------------------------------
Hugo Bruneliere, PhD
NaoMod team (IMT Atlantique & LS2N-CNRS)
Nantes - France
--------------------------------------------------------
Re: Problems with kdm in an ATL transformation [message #964109 is a reply to message #953907] Tue, 30 October 2012 09:04 Go to previous message
Feliu Trias is currently offline Feliu TriasFriend
Messages: 4
Registered: July 2012
Junior Member
Good morning Hugo,

Finally, I fixed it registering a new version of KDM metamodel.

Thank you so much.
Regards,

Feliu
Previous Topic:how to get uml model from java project
Next Topic:startLine and endLine attributes
Goto Forum:
  


Current Time: Tue Apr 23 10:06:03 GMT 2024

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

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

Back to the top