|Problem with using annotations in acceleo [message #666082]
||Tue, 19 April 2011 02:10
Registered: April 2011
Hi all, i'm very new to acceleo, for text generation i'm using ecore file and .mtl module.|
in my application there is a need of annotations, so i declared annotations in my ecore model.but problem is i'm unable to check if condition with my annotation details( key,value) in mtl file.
my condition in .mtl file is
[if(r.getEAnnotation('sourcename').details.key.equalsIgnoreC ase('keyname'))] [/if]
but here condition expression is not accepting in if block and even not accepting in let block also.
i'm able to print the values of my annotation source details(key,value) and even i'm able to print true or flase value of condition.
if any one know solution of this problem please replay me
Powered by FUDForum
. Page generated in 0.01744 seconds