EMF operation call in ATL [message #1075392] |
Mon, 29 July 2013 06:55  |
Eclipse User |
|
|
|
Hi there,
rule rule_getDevice{
from
a: source!DeviceItem
to
p:target!Device(
name <- a.Name,
s7DeviceReference<-a.DeviceReference,
isSelectedWithinStep7 <-a.stringToBool(a.IsSelected)
)
}
stringToBool() defined in the source EMF meta-model. I set the Operation Reflection feature of the gen model to True.
I get the following error, When I run this transformation using ATL Run configuration,
org.eclipse.m2m.atl.engine.emfvm.VMException: Operation not found: IN!<unnamed>.stringToBool(java.lang.String)
Any help is appreciated.
Cheers,
Kosala
|
|
|
|
Re: EMF operation call in ATL [message #1075413 is a reply to message #1075392] |
Mon, 29 July 2013 07:32  |
Eclipse User |
|
|
|
Kosala,
Comments below.
On 29/07/2013 12:55 PM, Kosala Yapa wrote:
> Hi there,
>
> rule rule_getDevice{
> from
> a: source!DeviceItem to
> p:target!Device(
> name <- a.Name,
> s7DeviceReference<-a.DeviceReference,
> isSelectedWithinStep7 <-a.stringToBool(a.IsSelected)
> )
>
> }
>
> stringToBool() defined in the source EMF meta-model. I set the
> Operation Reflection feature of the gen model to True.
>
> I get the following error, When I run this transformation using ATL
> Run configuration,
> org.eclipse.m2m.atl.engine.emfvm.VMException: Operation not found:
> IN!<unnamed>.stringToBool(java.lang.String)
That's an ATL exception. I don't know how ATL is integrated with EMF's
operation reflection. Best you ask their forum.
>
> Any help is appreciated.
>
> Cheers,
> Kosala
|
|
|
Powered by
FUDForum. Page generated in 0.28016 seconds