|
Re: Extending a metamodel [message #1691779 is a reply to message #1691745] |
Thu, 09 April 2015 15:14 |
Ed Merks Messages: 33113 Registered: July 2009 |
Senior Member |
|
|
This sounds like a pretty standard arrangement. I'd expect you'd be
able to generate all the projects, and that the MANIFEST.MFs would have
dependencies where needed to resolve the imports. Do the unresolved
imports exist and just the dependency is missing?
On 09/04/2015 2:30 PM, Arunkumar Ramaswamy wrote:
> I have two metamodels Amodel and Bmodel as shown in figure
>
>
>
> Bmodel extends a class(Baseclass) in Amodel
>
> My end result should be:
> 1) I should be able to create a model.Amodel with instances of all classes in Amodel and Bmodel metamodel.
> 2) I should be able to create a model.Bmodel with only instances in Bmodel metamodel.
>
> I proceeded as followed
> 1) Created ecore modeling project for Amodel
> 2> Created ecore modeling project for Bmodel and add Amodel in project dependence and extended in Bmodel
>
> Now I have Amodel.gen and Bmodel.gen in both projects. My question is where to generate .edit and .editor plugins. I am getting a lot of unresolved imports when i generate in both projects or either one of them.
>
> Any help much appreciated.
> Any other ideas for getting the same end result are also welcomed.
>
> Thanks
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.02296 seconds