[ATL] execution different between "plugin" and standalone [message #46512] |
Thu, 14 June 2007 14:16 |
Eclipse User |
|
|
|
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 ???
|
|
|
|
Powered by
FUDForum. Page generated in 0.02851 seconds