Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsUse GenDoc with Capella
https://www.eclipse.org/forums/index.php/mv/msg/1066005/1693437/#msg_1693437
Using GenDoc with Capella generate an error message during <context> script evaluation :
"The executinio of a script failed: Error during generation of Gendoc script :Sting index out of range: -1"
Does some one use or test GenDoc with Capella.
You can see in file attachments : docx template file and capella files.
Thanks
Philppe
]]>Philippe Desanois2015-04-24T09:02:17-00:00Re: Use GenDoc with Capella
https://www.eclipse.org/forums/index.php/mv/msg/1066005/1693631/#msg_1693631
Tristan Faure2015-04-27T06:59:32-00:00Re: Use GenDoc with Capella
https://www.eclipse.org/forums/index.php/mv/msg/1066005/1693691/#msg_1693691
the requested informations below.
Environement :
- OS Windows 7 Professionnale SP1
- Word 2010
Installation :
Capella 0.8.0 (64-bit) build id 2014-03-13_13-00-18
GenDoc 0.5.0.201411170936 (RC2)]]>Philippe Desanois2015-04-27T14:20:54-00:00Re: Use GenDoc with Capella
https://www.eclipse.org/forums/index.php/mv/msg/1066005/1693758/#msg_1693758
Tristan Faure2015-04-28T07:58:30-00:00Re: Use GenDoc with Capella
https://www.eclipse.org/forums/index.php/mv/msg/1066005/1693793/#msg_1693793
I don't know what are the impacts for Capella so please create a separate Capella for gendoc environment.
After installing gendoc, you have to install (update) latest release of EMF so do Help>Install New Software ... >
- in the url field insert http://download.eclipse.org/releases/luna/
- group items by category
- in modeling category select EMF - Eclipse Modeling Framework SDK (it should be an update icon)
then Next > Next > Finish > Restart
After restart, you should be able to generate your template.
As I said previously can you open a bug to keep a trace, we will analyze what is the minimum version of EMF required and will change that in our dependencies.
Regards
]]>Tristan Faure2015-04-28T11:39:50-00:00Re: Use GenDoc with Capella
https://www.eclipse.org/forums/index.php/mv/msg/1066005/1693900/#msg_1693900
the workaround is working, I am able to generate file from the template. As you asked me, a bug has been opened (#465692).
But, i added two elements and one diagram, and modify my template to add their name.
The generation process runs without error for elements and one error for diagram. Then not any informations are displayed in the generated document neither for elements, neither for diagram.
Attachment files contain the modified models file, template file and log file.
Regards
]]>Philippe Desanois2015-04-29T08:59:11-00:00Re: Use GenDoc with Capella
https://www.eclipse.org/forums/index.php/mv/msg/1066005/1693916/#msg_1693916
by the way please find in attachment a template which starts from the aird and then browse the diagrams.
I think as there is papyrus services in gendoc we should find some capella services helping for diagram retrieving]]>Tristan Faure2015-04-29T09:38:25-00:00Re: Use GenDoc with Capella
https://www.eclipse.org/forums/index.php/mv/msg/1066005/1694034/#msg_1694034
I don't find a Capella bundle for gendoc.
Is it possible to get the diagrams owned by a model element, without specific bundle ? I would generate a document from melodymodeller and for some elements display an owned diagram.
I think the context must load the two models melodymodeller and aird, but starting by melodymodeller, i don't know how the aird can be loaded.
I guess, start by aird, don't allow generate a document based on element that isn't presented in any diagram or it doesn't own a diagram.
regards]]>Philippe Desanois2015-04-30T08:02:53-00:00Re: Use GenDoc with Capella
https://www.eclipse.org/forums/index.php/mv/msg/1066005/1694040/#msg_1694040
if you start from capellamodeller file you can try to use element.load('aird') service to load the resource containing the diagrams
To get elements from a specific element it is possible, you have to browse the Sirius diagram metamodel and search for semantic element relationship]]>Tristan Faure2015-04-30T08:40:18-00:00