[ATL] String.split() method does not run [message #663179] |
Mon, 04 April 2011 05:11  |
Eclipse User |
|
|
|
Hi everybody !
I just want to use the split method from a String object to get a Sequence of String. I write this code :
for (sSplitted in s.split('\|')){
anotherStringSet <- anotherStringSet->including(sSplitted );
}
When I save my file (when Eclipse analyze errors), I've got this one :
org.eclipse.m2m.atl.engine.emfvm.VMException: Operation not found: OclUndefined.+(java.lang.String)
at process#396(ATLCompiler.atl[112:4-112:10])
local variables: self=IN!myTrans
at main#37(ATLCompiler.atl)
local variables: self=ATLCompiler : ASMModule, WriteTo='C:/***/myTrans.asm'
So if I run this transformation, I've got the same error. Nevertheless, when I see the documentation ( http://download.nus.edu.sg/mirror/eclipse/modeling/m2m/atl/j avadoc/3.0.0/), this method is referenced in an ASMString object.
Can I use this method or is she not supported yet?
Thanks for your answers!
Antoine
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06516 seconds