Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » MoDisco » Metamodelo KDM(Referencing KDM metamodel (kdm.ecore) in top-level)
Metamodelo KDM [message #1808273] Thu, 20 June 2019 21:09 Go to next message
Guisella Angulo is currently offline Guisella AnguloFriend
Messages: 17
Registered: September 2016
Junior Member
Hi,
I'm working with KDM package called "Structure", but when I put:
-- @nsURI KDM=http://www.eclipse.org/MoDisco/kdm/action,
the Structure elements are not recognized, and when I put:
-- @nsURI KDM=http://www.eclipse.org/MoDisco/kdm/structure,
the elements of Code/Action package are not recognized.

Now, I'm trying with:
-- @path platform:/resource/ExampleEMFTVM/Input/kdm.ecore,
but is not working...
How can I configure the KDM metamodel for working with all the packages?


PS: Attached is the suggestion of the ATL team to the problem described.
Re: Metamodelo KDM [message #1808328 is a reply to message #1808273] Fri, 21 June 2019 14:34 Go to previous message
Hugo Bruneliere is currently offline Hugo BruneliereFriend
Messages: 674
Registered: July 2009
Senior Member
Hi,

This looks more like an ATL problem indeed.
One possible trick could be to create an artifical Ecore (meta)model that would have links to all the required KDM packages.
Hopefully, by putting this metamodel as the input/output of your transformation, ATL could be able to load all the underlying KDM packages... but then I don't know if the code completion feature is actually supporting this particular case for example.
Anyway, I guess a solution may already exist somewhere in the ATL forum.

Kind regards
Previous Topic:How to transform uml into java model ?
Next Topic:Code Generation - Unresolved Reference in GenerateJava.emtl
Goto Forum:
  


Current Time: Thu Apr 25 05:21:43 GMT 2024

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

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

Back to the top