[go: up one dir, main page]

Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » AMW » Problem in Hot generation
Problem in Hot generation [message #470304] Wed, 01 July 2009 07:09 Go to next message
venkatesh  is currently offline venkatesh Friend
Messages: 41
Registered: July 2009
Member
Hi marcos,


I want to do transformation from ecore to ecore.

when i generate Hot transformation i'm getting my ATL file like this


module T_In2Out;
create PdmModelModel : PdmModel from LdmMetaModelModel : LdmMetaModel;

rule LDMModel_2_PDMModel2 {
from
v_left : LdmMetaModel!LDMModel
to
v_right : LdmMetaModel!PDMModel (
coreModel <- v_left.coreModel
)
}



but i'm expected rule is


rule LDMModel_2_PDMModel2 {
from
v_left : LdmMetaModel!LDMModel
to
v_right : PdmMetaModel!PDMModel (
coreModel <- v_left.coreModel
)
}

can u tell me in the v.right element why i'm getting
LdmMetaModel!PDMModel

instead of PdmMetaModel!PDMModel.


thanks

venky.
Re: Problem in Hot generation [message #470307 is a reply to message #470304] Wed, 01 July 2009 20:50 Go to previous message
Marcos Didonet Del Fabro is currently offline Marcos Didonet Del FabroFriend
Messages: 84
Registered: July 2009
Member
Hi,

it is a problem related with the identification of the model elements. The
rule is not recognizing the good metamodel.

This may occurs if you do some modifications in the metamodel in parallel:
the weaving model will have the wrong IDs. A second possibility may be
conflicting URIs/paths between the metamodels.

Regards,

Marcos.
Previous Topic:Any Build for Galileo?
Next Topic:[AMW] weaving "n" metamodels and ATL transformation
Goto Forum:
  


Current Time: Thu Dec 12 16:50:05 GMT 2024

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

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

Back to the top