Mistake when I try to do an extension genmodel with the M6 version [message #227497] |
Mon, 27 April 2009 08:52 |
|
Hi,
I try to migrate may work with the last version of gmf.
In my case I use an extension genmodel to add particularities in the code
generation.
To do the extension for gen model, I create an ecore file, and I add a
reference to the GenCommon base. Then
I generate the genModel, but I obtain the following warning:
"The generic type associated to the 'EJavaClass' Classifier shoudl have 1
type argument(s) to match the number of type parameter(s) of the
classifier".
And if I continue I cannot fo reference to It in my custom template.
Patrick
|
|
|
|
|
|
|
|
|
|
|
Re: Mistake when I try to do an extension genmodel with the M6 version [message #228021 is a reply to message #227845] |
Tue, 28 April 2009 14:16 |
|
Hi Alex,
now it runs, but I don't know why.
To respond to your question:
-I have done a ecore model for the extension gmfgen. I have generated
the code and the model is registered withe the extensionpoint generated
package.
- I also done a feature and a updatesite. I install this plugin in my
environment.
- then I use the procedure to add an extension model on the gen model.
- In template file I refer registered metamodel and work on it.
now it runs. I remark that if I write the paclage of the metamodel in the
template, I have no the completion.
I wonder if there is cache to clean that it explain why my template run now.
Patrick
"Alex Shatalin" <vano@borland.com> a
|
|
|
|
Powered by
FUDForum. Page generated in 0.02655 seconds