Skip to main content



      Home
Home » Modeling » MoDisco » Metamodelo KDM(Referencing KDM metamodel (kdm.ecore) in top-level)
Metamodelo KDM [message #1808273] Thu, 20 June 2019 17:09 Go to next message
Eclipse UserFriend
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 10:34 Go to previous message
Eclipse UserFriend
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: Wed May 14 00:08:11 EDT 2025

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

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

Back to the top