[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.modeling.gmt.amw] Re: AMW2Tracer3_2

Hello,

And I have some (possible) answers :).

To solve the first problem, you need to register the metamodels before opening the models. There is a context menu "Register metamodel" in the AM3 view that does that. There is a post in the M2M newsgroup that reports this issue (http://dev.eclipse.org/newslists/news.eclipse.modeling.m2m/msg00366.html).

And for the second problem, are you using a transformation from the example or a transformation that you developed?

I don't see any particular problem from your description, except that the ATL model may be incorrect.

Could you give more details about the transformation, or send the source model, so I can try to extract it here?


Regards,

Marcos.

Leila wrote:
Hi Marcos,
I have some more questions for you...
I'm using Eclipse 3.2.1, with adt_am3.zip (from feb 16th 2007) and mwplugins-20070330.zip.
I've got the new AMWTracer3_2 (found in some previous post), and I'm having some troubles again :-(.


Problem 1)
When Trying to open some of the .ecore models, I'm getting the PackageNotFoundExceptions...


org.eclipse.emf.ecore.xmi.PackageNotFoundException: Package with uri 'http://www.eclipse.org/gmt/2005/ATL'
when opening the Class2Relational-ATL-0.2.ecore


and
org.eclipse.emf.ecore.xmi.PackageNotFoundException: Package with uri 'http://www.eclipse.org/gmt/2005/KM3'
e.g. TraceabilityExtension-KM3Ext.ecore


Problem 2)
I'm trying to inject an atl file from my atl model, and it is also not working properly. My transformation has a Module, many helpers, and many LazyMatchedRules.
The result when I invoke AM3 injection is a model with :
Module, empty helper block, one ocl:Attribute, and 2 elements, But NO LazyMatchedRules.


Could you help?


Thanks !

- Leila