Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » ATL » MetaSysml to MetaAcme simple rules transformation problem(Transformation problem)
MetaSysml to MetaAcme simple rules transformation problem [message #1689577] Mon, 23 March 2015 21:50
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:No output file (or model) after execution
Next Topic: transformation of MetaSysml to MetaAcme
Goto Forum:

Current Time: Sat Oct 20 17:16:06 GMT 2018

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

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

Back to the top