Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » ATL » Issue with an ATL transformation
icon9.gif  Issue with an ATL transformation [message #1729018] Sat, 09 April 2016 15:04 Go to next message
Dimitris Dontsios is currently offline Dimitris DontsiosFriend
Messages: 1
Registered: April 2016
Junior Member
Hello everyone,

I have a problem with my atl transformation.

I have my metamodels ready, my models are "Ok". When i try to access a model via the ATL transformation all my resources are either unnamed (IN!<unnamed>) or unknown.

The names are supposed to be provided from other models (i have allowed intermodel references).

Does anyone have the slightest clue why this is happening?

(On the following zip i have all the files for a quick check)

  • Attachment: stuff.rar
    (Size: 17.34KB, Downloaded 112 times)
Re: Issue with an ATL transformation [message #1729113 is a reply to message #1729018] Mon, 11 April 2016 09:58 Go to previous message
Dennis Wagelaar is currently offline Dennis WagelaarFriend
Messages: 383
Registered: September 2012
Location: Belgium
Senior Member

Only model elements with an explicit "name" attribute have their name listed by ATL's print logic. All other model elements are "<unnamed>".

Tip: use ATL's '''OclAny::debug(text : String) : OclAny''' operation to perform logging on your objects with a specific label, so that you know what code produced what logging output. The debug operation will return the same element it was invoked on (idempotent), so you can insert debug anywhere in your code.

Previous Topic:Issues with Merging 2 Ecore models
Next Topic:How to add a GMF diagram to the output model
Goto Forum:

Current Time: Mon Nov 19 20:06:45 GMT 2018

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

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

Back to the top