Hello,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. You can try to generate the metamodel code using the standard emf way (model, edit and editor code) and then reference the metamodel uri in the ATL launch configuration.
Best regards, William * - open the .ecore file - right-click on the Machine metaelement - "Create dynamic instance"- normally a .xmi file must be created containing a Machine instance, but in this case it fails
Le 31/05/2010 10:27, Topcased user list where issues are discussed a écrit :
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 <https://rodin-b-sharp.svn.sourceforge.net/svnroot/rodin-b-sharp/trunk/EMF_EventB/org.eventb.emf.core/model/eventbcore.ecore>when i execute rule trans { from u: uml! PackageableElement to eventb! machine(name<-u.name <http://u.name>)} i have this error message :org.eclipse.m2m.atl.engine.emfvm.VMException: The class 'EModelElement' is not a valid classifierat __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 how i can resolve this problem thanks _______________________________________________ Topcased-users mailing list [email protected] http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users
<<attachment: william_piers.vcf>>
_______________________________________________ Topcased-users mailing list [email protected] http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users
