Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » Re: [EMF].ecore
Re: [EMF].ecore [message #537698] Thu, 03 June 2010 11:39
Ed Merks is currently offline Ed MerksFriend
Messages: 31844
Registered: July 2009
Senior Member
Best to ask about ATL on the M2M forum/newsgroup, which I've added to
the "to" list of the reply, so no need to repost. Please prefix the
subject line with [ATL] when posting to that newsgroup in the future.


graa wrote:
> I used eventb.ecore
> https://rodin-b-sharp.svn.sourceforge.net/svnroot/rodin-b-sh
> arp/trunk/EMF_EventB/org.eventb.emf.core/model/eventbcore.ec ore
> when i execute
> rule trans {
> from
> u: uml! PackageableElement
> to eventb! machine(name<-u.name)}
>
> i have this error message :
>
> org.eclipse.m2m.atl.engine.emfvm.VMException: The class
> 'EModelElement' is not a valid classifier
> at __matchtransformation(newtrans.atl[255:11-255:25])
> local variables: self=thisModule, u=IN2!<unnamed>:uml!Model
> at __matcher__(newtrans.atl)
> local variables: self=thisModule
> at main(newtrans.atl)
> local variables: self=thisModule
>
> I tried to create a dynamic instance of the Machine element directly
> from the .ecore file (as ATL does when dynamically loading a
> metamodel)*, and it fails too, so the error seems to come from the
> metamodel.
>
> how i can resolve this problem
> thanks


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:[SOLVED] [ATL] Source Model Problem
Next Topic:[ATL] what happens to my Profiles
Goto Forum:
  


Current Time: Wed Apr 21 15:20:15 GMT 2021

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

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

Back to the top