Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » ATL » transformation of MetaSysml to MetaAcme(Transformation problem)
transformation of MetaSysml to MetaAcme [message #1689588] Mon, 23 March 2015 22:07
FSM ISFSM is currently offline FSM ISFSMFriend
Messages: 21
Registered: March 2015
Junior Member
Hello everybody,

I'm working on some issues I'm meeting trying to make transformation rules from MetaSysml to MetaAcme.

Here are 2 very simple rules:

rule Bddiagram2Family {
	from  fam: MetaSysml!BDDiagram
	     t : MetaAcme!Family (  name        <-

rule   Bddiagram2System {
	from sys: MetaSysml!BDDiagram 
	     t : MetaAcme!System ( 
		  name     <- 'System' ,
		 family   <- s.extend

The problem is that I get this error when executed:

org.eclipse.m2m.atl.engine.emfvm.VMException: Trying to register several rules as default for element org.eclipse.emf.ecore.impl.DynamicEObjectImpl@9fff91 (eClass: org.eclipse.emf.ecore.impl.EClassImpl@68160c (name: BDDiagram) (instanceClassName: null) (abstract: false, interface: false)) : Bddiagram2Family and Bddiagram2System

Do I need to modify the metamodel? or maybe some other solutions exists...

Thank you very much.
Previous Topic:MetaSysml to MetaAcme simple rules transformation problem
Next Topic: rules transformation problem
Goto Forum:

Current Time: Sun Jan 21 13:03:06 GMT 2018

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

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