Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » ATL » ATL Transformation (ERREUR TRANSFORMATION )
ATL Transformation [message #1618017] Sun, 15 February 2015 17:27 Go to next message
Salim Khaled is currently offline Salim KhaledFriend
Messages: 2
Registered: February 2015
Junior Member
I am trying to do a ATL transformation: SysML2ACME:
 -- @path MetaAcme=/TestConnetor/metamodel/MetaAcme.ecore
-- @path MetaSysml=/TestConnetor/metamodel/MetaSysml.ecore

module SysML1;
create OUT : MetaAcme from IN : MetaSysml;

   rule System2AcmeFile {
	from s: MetaSysml!System
	     t : MetaAcme!AcmeFile ( 
		    name     <-,
		    system   <- s.bdddiag-> collect(fam | thisModule.Bddiagram2System(fam))		
    lazy rule Bddiagram2System {
	from s: MetaSysml!BDDiagram
	     t : MetaAcme!System ( 
		    name     <- ,
		   connector<- s.compflow->collect(con |thisModule.ItemFlow2Connector(con)) 
  lazy rule ItemFlow2Connector {
	from s: MetaSysml!ItemFlow
	     t : MetaAcme!Connector ( 
		    name       <- ,
		instanceOf <- s.assignedto.toString() ,
			Roles      <- s.interfaces -> collect(i|thisModule.Interface2Role(i))

But when I execute the ATL module, I do not get the expected result.
Indeed, it was not the occurrence of connector.
however, both meta-models are been verified, presented below

I don't understand this error. Someone could help me ?

Thank you.
  • Attachment: metaSysml.png
    (Size: 9.50KB, Downloaded 207 times)
  • Attachment: MetaAcme.png
    (Size: 9.25KB, Downloaded 97 times)
Re: ATL Transformation [message #1619012 is a reply to message #1618017] Mon, 16 February 2015 09:24 Go to previous message
Alexander R is currently offline Alexander RFriend
Messages: 211
Registered: July 2013
Senior Member

is there an exception or something which appears on the ATL-Console?

Previous Topic:ATL Run Configuration
Next Topic:Guards for unique lazy rules
Goto Forum:

Current Time: Thu Oct 18 15:26:47 GMT 2018

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

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

Back to the top