| EOperation at ATL program? [message #899986] |
Fri, 03 August 2012 06:47 |
Kosala Yapa Messages: 133 Registered: September 2010 |
Senior Member |
|
|
Hi all,
I tried to use an EOperation [ hexToInt(String) defined at the target.ecore ] in an ATL program.
At eclipse run configuration, I set scource.ecore, target.ecore, input.xml and output.xml. I am using EMF-specific VM as ATL Virtual Machine.
lazy rule rule_getModule{
from
b:source!ModuleItem
to
d:target!Module(
s7ModuleReference <- b.ModuleReference,
isSelectedWithinStep7<-b.IsSelected
)
do{
d.deviceID<-d.hexToInt(b.getIdentNumber());
}
}
Error is at hexToInt() operation call,
org.eclipse.m2m.atl.engine.emfvm.VMException: Operation not found: IN!<unnamed>.hexToInt(java.lang.String)
at rule_getModule#40(TPF2PSSu2.atl[87:15-87:45])
I am just wondering, if someone can help me to resolve this issue?
Thanks in advance.
Kosala
[Updated on: Fri, 03 August 2012 06:49] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.01586 seconds