Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » How to get auto code completion in ATL transformation?
How to get auto code completion in ATL transformation? [message #541464] Mon, 21 June 2010 09:38 Go to next message
Transformed is currently offline TransformedFriend
Messages: 21
Registered: June 2010
Junior Member
Hi all,
I have two metamodels, say abc.ecore[source] and mno.ecore[target]. I want to use auto code completion and I did like this.

module abc2mno;
--@path abc=/abc2mno/abc.ecore
--@path mno=/abc2mno/mno.ecore

create OUT: mno from IN: abc;

I know -- sign is used for commenting but if I remove it also then it does not work

@path abc=/abc2mno/abc.ecore
@path mno=/abc2mno/mno.ecore

Error: no viable alternative at input "@"

Help me out. Confused

Re: How to get auto code completion in ATL transformation? [message #541475 is a reply to message #541464] Mon, 21 June 2010 10:10 Go to previous messageGo to next message
Sylvain EVEILLARD is currently offline Sylvain EVEILLARDFriend
Messages: 556
Registered: July 2009
Senior Member
This has to be before the module declaration I think :

--@path abc=/abc2mno/abc.ecore
--@path mno=/abc2mno/mno.ecore
module abc2mno;
Re: How to get auto code completion in ATL transformation? [message #541486 is a reply to message #541475] Mon, 21 June 2010 10:19 Go to previous message
Transformed is currently offline TransformedFriend
Messages: 21
Registered: June 2010
Junior Member
Rolling Eyes Thanks
Previous Topic:[ATL] How to remove an operation in a UML class
Next Topic:Why I have two package in a metamodel of same name?
Goto Forum:
  


Current Time: Fri Apr 19 22:44:22 GMT 2024

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

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

Back to the top