Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » ATL » ATL warnings
ATL warnings [message #1752438] Mon, 23 January 2017 18:16 Go to next message
louis andia. is currently offline louis andia.Friend
Messages: 47
Registered: November 2016
Member
Hi,

I have some warning in my atl transformation but there is no information on the line.
Example of warnings:
Assigning a Collection to a single-valued feature
Cannot set feature... 

How can i get more information about it? It's very painfull when you have thousands of lines..
Re: ATL warnings [message #1752441 is a reply to message #1752438] Mon, 23 January 2017 18:56 Go to previous messageGo to next message
meriem lahr is currently offline meriem lahrFriend
Messages: 31
Registered: March 2013
Member
Hi,

You treated a feature that is composed of one element as a collection for example yourElement.asSet(). See in your code where did you evoke a collection.
Re: ATL warnings [message #1752442 is a reply to message #1752441] Mon, 23 January 2017 19:07 Go to previous message
louis andia. is currently offline louis andia.Friend
Messages: 47
Registered: November 2016
Member
Yes i know, but like i said i have thousands of lines.
The only ways i found it's to flood my log console with .debug() in each rule to locate the warning.

I guess there is no way to disable/enable debug()?
Previous Topic:Transform metamodel OCL constraints in ATL
Next Topic:Meta model transformation from one XSD source
Goto Forum:
  


Current Time: Tue Mar 19 06:20:50 GMT 2024

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

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

Back to the top