Generator: Generate Imported-Package Dependency instead of Required Plugin [message #1778846] |
Fri, 22 December 2017 07:56  |
Eclipse User |
|
|
|
Hello,
i have an emf-model from wich i generate into a seperate model-, edit- and editor-project. another model references this model and generates source-code in the same way, but with plugin-dependencys to the first emf-model.
for my runtimeworkspace, i need to replace the sources from the first model with sources from another model, that has at least the same classes in the same packages (maybe some more).
this causes a ClassNotFoundException. i did some research and think that this has to do with the osgi-framework and the way osgi resolves classes. but i found a solution for my problem: i can replace the plugin-dependencys from my second plugin with Imported-Package-Dependencys.
My Question is: is there a way to generate the dependencys for the edit and editor-project as imported-package-dependend instead of required-pluing dependend? so that i dont have to do it every time by hand? e.g. a setting in the genmodel-file?
if not: any other ideas?
Thank you.
Simon
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03883 seconds