Community
Participate
Working Groups
Created attachment 193693 [details] 0001-Implemented-support-to-register-EMF-GenModels-v0.1 I've implemented support for EMF GenModels: - added org.eclipse.emf.mwe.utils.StandaloneSetup.addRegisterGenModelFile(String): this registers genmodels in EcorePlugin.getEPackageNsURIToGenModelLocationMap() - org.eclipse.emf.mwe2.ecore.EcoreGenerator does now register its GenModels. - added an optional dependency from org.eclipse.emf.mwe.utils to org.eclipse.emf.codegen.ecore - added a dependency from org.eclipse.emf.mwe2.lib to org.eclipse.emf.mwe.utils these changes originate in bug 329741.
Created attachment 193701 [details] Implemented-support-to-register-EMF-GenModels-v0.2 implemented the changes we just discussed offline: - reflection in StandaloneSetup is not needed, since a NoClassDefFoundException is only thrown if the needed class is involved in the code that is actually executed. - log a warning, if a another GenModel has already been registered for a NamespaceURI.
pushed to master.
thx!