generating doc from Papyrus model :evaluate the body of an OpaqueBehavior fails [message #1745492] |
Tue, 11 October 2016 10:31  |
Eclipse User |
|
|
|
Hi,
I am generating doc from Papyrus model
I have an opaque behavior in my papyrus model, I try to generate the name, the langauge and the body using gendoc
in my template I wrote
[let bf : BehavioralFeature = op.oclAsType(BehavioralFeature)]<drop/>
[if (bf.method <> null)]<drop/>
[bf.method.oclAsType(OpaqueBehavior ).name/]
[bf.method.oclAsType(OpaqueBehavior ).language/]
bf.method.oclAsType(OpaqueBehavior ).body/]
[/if]<drop/>
[/let]<drop/>
name and language are generated but when I try to generate the body, I get this error
!MESSAGE The execution of a script failed: Error during generation of Gendoc script :1:38:1:41 token "body" is invalid
org.eclipse.gendoc.services.exception.GenerationException: Error during generation of Gendoc script :1:38:1:41 token "body" is invalid
....
Caused by: org.eclipse.gendoc.script.acceleo.exception.AcceleoParsingException: 1:38:1:41 token "body" is invalid
I am using Gendoc 0.6.0 and Acceleo 3.6.4 on Neon
Thanks
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.64801 seconds