[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.modeling.gmt.amw] Re: AMW to ATL

hi,

I think I got it now. We were thinking about versions of Eclipse, ATL, AMW, etc., but the problem may be related to these properties you mentioned.

We had a similar problem with "Key2NestedAMW2ATL" example: we didn't set up the "IsRefining" and "IsAbstract" properties, because they were not mandatory. But we changed the metamodel (a while ago) and they are mandatory. There was an .ecore file, but the .atl was either empty, either only with the heading. In the examples I usually set these properties to "false", and "isUnique" I don't set it, because they are related to lazy rules.

About the versions (to be sure), the (3.1.0, 2.1.0 and January versions of ATL, AMW and AM3) should work. The latest from the sources (as you tried), need Eclipse 3.2.1 and EMF 2.2.1.

Regards,

Marcos.




Leila wrote:
Hi,
Some of my .atl files where also empty. Why don't you check if the properties 'IsAbstract', 'IsRefining' and 'IsUnique' are properly set to either true or false?
I ended up comparing two .ecore files and realized these were the differences between the file that created the right .atl and the file that create an empty one.


Leila