Error when generate doc [message #1746303] |
Wed, 26 October 2016 11:45  |
Eclipse User |
|
|
|
Hello,
I am trying generate a doc from a xmi model. This xmi comes from an ecore metamodel. I have created a simple sample but it doesn't work. When I generate I obtain the error: "The execution of a script failed: Error during generation of Gendoc script :No file has been generated after template execution"
My document generator (test.docx) contains:
<config>
<output path='D:/testgendoc/generatedDoc.docx'/>
</config>
<context model='D:/testgendoc/System.xmi'/>
<gendoc>
[self.name/]
</gendoc>
I have following steps in Gendoc_v0.5_tutorial and I have installed the last releases available (GenDoc 0.6.0)
I think the model is correctly load because for instance if I modify the script and put [self.nameWrong/] , it detects an error of coherence "The execution of a script failed: Error during generation of Gendoc script :Unrecognized variable: (nameWrong)"
When I generate I obtain the output 'generatedDoc.docx' but its contents is:
--- ERROR DURING GENERATION OF THIS PART Error message: Error during generation of Gendoc script :No file has been generated after template execution. --- <gendoc>
[self.name/]
</gendoc> --- END ERROR ---gendoc>
Any idea?
Regards,
[Updated on: Wed, 26 October 2016 12:23] by Moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05143 seconds