Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [ATL] execution different between "plugin" and standalone
[ATL] execution different between "plugin" and standalone [message #46512] Thu, 14 June 2007 14:16 Go to next message
Eclipse UserFriend
Originally posted by: tristan.faure.c-s.fr

Hi,
I have a rule in my UML transformation
Operation2Process
and 2 lazy rules
Operation2returnSignal
Operation2callsigna

For One operation i generate => 1 Process 1 return signal and 1 call signal

I have added an attribute of process to reference the signals generated
from its operation

this works perfectly in eclipse environment i have this :

lazy rule Operation2ReturnSignal {
from
o : UML!Operation
to
s : _IF!Signal (
id <- 'u2i__return_' + o.owner.name + '_' + o.name,
processFromSameAncestor <- o
)
}

and "processFromSameAncestor <- o" correctly call the matched rule

BUT !

when i add my asm file in my plugin using ATL transformation i have this
kind of errors

****** BEGIN Stack Trace
message: cannot set feature _IF!Signal.processFromSameAncestor to value
org.eclipse.uml2.uml.internal.impl.OperationImpl@14b6df0 (name: opcs_pop,
visibility: private) (isLeaf: false, isStatic: false, isAbstract: false,
concurrency: sequential) (isQuery: false)
exception:

is there something special to do ? is it a known problem ? or have i to
put my code present in my plugin ???
Re: [ATL] execution different between "plugin" and standalone [message #46571 is a reply to message #46512] Thu, 14 June 2007 14:48 Go to previous message
Eclipse UserFriend
Originally posted by: tristan.faure.c-s.fr

I have corrected my problem
i had a reference Oposite between the attribute in process and the
attribute in signal it's strange . . .
Previous Topic:[ATL] run Atl transfomation by program with eclipse 3.3
Next Topic:Metamodel UML2
Goto Forum:
  


Current Time: Mon Dec 22 18:42:29 GMT 2014

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

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