[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.m2m] Re: [ATL] unspecified ATL error

Hello,

Can you please remember to use the [ATL] prefix?

I ran into this rather uninformative ATL error (error.txt) when trying to perform this transformation:
loadbalancer(balanced_component=MMS FrontEnd, load_balancer_name=load_balancer)

This error is actually an EMF model loading error. We should look into wrapping this kind of error, in order to report them more clearly.



"meta" is the name of the instance (!) input model of the transformation (instance.ecore).
The ATL file itself is attached (transformation.rar). I've also attached some metamodels (meta.rar).


I'm currently using Eclipse 3.3.2 (20080221) with EMF 2.3.1 (20080205) and ATL 2.0.0 (20080303).
There didn't seem any updates available.

According to the error message, the DeploymentDiagramEditModel on line 5 is invalid. However, line 5 contains a ComponentEditModel.
It seems that there is a problem with the metamodel (e.g., that the model does not conform to the metamodel given to EMF).


I had a quick look at the .ecore files in meta.rar: it seems that you have several packages with the same nsURI. This cannot work properly because nsURI is used as an ID. You should try to correct this problem in the metamodel files, and in the model.


Regards,

Frédéric Jouault