Community
Participate
Working Groups
Build Identifier: 20100917-0705 I am generating an RCP project. Since my model references ecore.ecore, the generated ModelEditorAdvisor references org.eclipse.emf.ecore.presentation.EcoreEditor, which references org.eclipse.ui.ide.IGotoMarker, which certainly seems like it shouldn't be imported into an RCP application. When I posted on the EMF newsgroup, Ed Merks asked me to create a bugzilla Reproducible: Always Steps to Reproduce: 1. Create a model that reference ecore.ecore 2. Set the genmodel to create a RCP app You should get an error that org.eclipse.ui.ide.IGotoMarker is indirectly referenced from required class files.
The advisor should only referenced editors that are generated as part of the same plugin, not editors generated from used GenPackages from other GenModels.
In particular, it looks like GenModel.getAllGenPackagesWithConcreteClasses shouldn't be returning any usedGenPackages. I've committed the change for that for EMF 2.7.
The fixes are available in a published build.
Try again to resolve as fixed (and available in a build).
Oh, I guess I have to close them!