Re: [EMF].ecore [message #537698] |
Thu, 03 June 2010 11:39 |
Ed Merks Messages: 33142 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/
|
|
|
Powered by
FUDForum. Page generated in 0.04548 seconds