gendoc - instance model [message #1755138] |
Tue, 28 February 2017 11:35  |
Eclipse User |
|
|
|
Hi. I'm new on this Forum and i need help.
I can generate reports with Gendoc using an ecore model.
But i need to generate reports with an instance from this ecore model and i can't. The only solution i have for now is to execute my .editor as "Eclipse Application".
This will open a new eclipse instance where i can create my instance model then generate report without problem.
I would like to create this instance model without using a new Eclipse instance.
I also tried before all to create a file with XMI structure and use it as Model in Gendoc but i got this error message:
See details. The execution of a script failed: The model Model can not be loaded from URL: "[model_path]" can not be loaded
|
|
|
|
Re: gendoc - instance model [message #1756046 is a reply to message #1755173] |
Fri, 10 March 2017 11:23   |
Eclipse User |
|
|
|
Hi.
my problem was resolved.
An expert where i do my internship helped me.
The reason was that the first instance didn't "know" the model instance created in the second eclipse instance.
The solution was to create my EMF API as an Eclipse Plugin (I created a feature project, then an update site to install the plugin in Eclipse). Now, when i invoke my EMF API, i can generate my document on my model instance. It's a solution.
ps: sorry for my english !
|
|
|
Re: gendoc - instance model [message #1756047 is a reply to message #1755173] |
Fri, 10 March 2017 11:23   |
Eclipse User |
|
|
|
Hi.
my problem was resolved.
An expert where i do my internship helped me.
The reason was that the first instance didn't "know" the model instance created in the second eclipse instance.
The solution was to create my EMF API as an Eclipse Plugin (I created a feature project, then an update site to install the plugin in Eclipse). Now, when i invoke my EMF API, i can generate my document on my model instance. It's a solution.
ps: sorry for my english !
|
|
|
Re: gendoc - instance model [message #1756048 is a reply to message #1755173] |
Fri, 10 March 2017 11:23   |
Eclipse User |
|
|
|
Hi.
my problem was resolved.
An expert where i do my internship helped me.
The reason was that the first instance didn't "know" the model instance created in the second eclipse instance.
The solution was to create my EMF API as an Eclipse Plugin (I created a feature project, then an update site to install the plugin in Eclipse). Now, when i invoke my EMF API, i can generate my document on my model instance. It's a solution.
ps: sorry for my english !
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04052 seconds