|
Re: I've problems running an ATL M2T transformation from UML [message #530971 is a reply to message #530963] |
Mon, 03 May 2010 08:50 |
|
This is a multi-part message in MIME format.
--------------000609050509020306080502
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Hi,
ATL is an M2M technology, and its team mainly monitors the m2m
newsgroup, I've added it to the to: list of this answer so that they can
help you on your problem .
Laurent
osvaldos88@yahoo.it wrote:
> This is the output the consolle gives to me:
>
> org.eclipse.m2m.atl.engine.emfvm.VMException: Could not find model
> element Package from UML
> Java Stack:
> org.eclipse.m2m.atl.engine.emfvm.VMException: Could not find model
> element Package from UML
> at org.eclipse.m2m.atl.engine.emfvm.ASM.registerOperations(ASM.
> java:232)
> at org.eclipse.m2m.atl.engine.emfvm.ASM.run(ASM.java:176)
> at org.eclipse.m2m.atl.engine.emfvm.launch.EMFVMLauncher.launch
> (EMFVMLauncher.java:162)
> at org.eclipse.m2m.atl.engine.emfvm.launch.EMFVMLauncher.launch
> (EMFVMLauncher.java:135)
> at org.eclipse.m2m.atl.core.service.LauncherService.launch(Laun
> cherService.java:135)
> at org.eclipse.m2m.atl.core.ui.launch.AtlLaunchConfigurationDel
> egate.launch(AtlLaunchConfigurationDelegate.java:222)
> at org.eclipse.debug.internal.core.LaunchConfiguration.launch(L
> aunchConfiguration.java:853)
> at org.eclipse.debug.internal.core.LaunchConfiguration.launch(L
> aunchConfiguration.java:703)
> at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(D
> ebugUIPlugin.java:866)
> at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlu
> gin.java:1069)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
> Caused by: org.eclipse.m2m.atl.engine.emfvm.ASM$SignatureParsingExcepti
> on: Could not find model element Package from UML
> at org.eclipse.m2m.atl.engine.emfvm.ASM.parseTypeInternal(ASM.j
> ava:408)
> at org.eclipse.m2m.atl.engine.emfvm.ASM.parseType(ASM.java:368)
> at org.eclipse.m2m.atl.engine.emfvm.ASM.registerOperations(ASM.
> java:229)
> ... 10 more
>
>
> This is the file i'm running:
>
> module UML2Autori;
> create OUT: Autori from IN: UML;
> uses UML2TXTLib;
>
> -- Matched rules
> rule repairBox {
> from r: UML!Class (r.isRepair())
> to
> rb: Autori!RepairBox (name<-r.name,rate<-r.getMTTR())
> }
>
> rule triggering {
> from
> t: UML!Association (t.isTrigger())
> using {
> repairName: String = t.getRepair().name;
> triggeringevent: UML!CLass = t.getAffectedComponent(); }
> to
> a: Autori!TriggerArc (src<-repairName,dest<-triggeringevent.name)
> do {
> thisModule.searchRepair(triggeringevent,repairName);
> }
> }
>
> rule component {
> from c: UML!Class (c.isComponent())
> do {
> thisModule.componentTranslation(c);
> }
> }
>
> rule errorpropagation {
> from aUml: UML!Association (aUml.isErrorPropagation())
> using {
> source: UML!Class = aUml.startsFrom();
> destination: UML!Class = aUml.endsTo();
> }
> to
> arc: Autori!EventToGate (src<-source.name,dest<-destination.name
> + '_gate')
> }
>
> So can you help me?
--------------000609050509020306080502
Content-Type: text/x-vcard; charset=utf-8;
name="laurent_goubet.vcf"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="laurent_goubet.vcf"
YmVnaW46dmNhcmQNCmZuOkxhdXJlbnQgR291YmV0DQpuOkdvdWJldDtMYXVy ZW50DQpvcmc6
PGEgaHJlZj0iaHR0cDovL3d3dy5vYmVvLmZyIj5PYmVvPC9hPg0KZW1haWw7 aW50ZXJuZXQ6
bGF1cmVudC5nb3ViZXRAb2Jlby5mcg0KdXJsOmh0dHA6Ly93d3cub2Jlby5m cg0KdmVyc2lv
bjoyLjENCmVuZDp2Y2FyZA0KDQo=
--------------000609050509020306080502--
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04121 seconds