Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 356569

Summary: [EMF-Portfolio] Adding the CDO feature
Product: [Modeling] EMF.EGF Reporter: Benoit Langlois <benoit.langlois>
Component: CoreAssignee: Matthieu Helleboid <matthieu.helleboid>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Benoit Langlois CLA 2011-09-02 06:15:48 EDT
In the parameters of the EMF Generation with the Generation Chain, adding the CDO feature with the major parameters of configuration.
Comment 1 Matthieu Helleboid CLA 2012-08-08 11:48:58 EDT
I've just committed a new plugin : org.eclipse.egf.emf.pattern.cdo

This plugin allows to generate CDO Native code in two ways :
* In place generation : 
  - transform the genmodel for CDO Native : a parameter allows to set Dynamic or Reflective generation
  - generate the emf code in the same plugin as usual
  - also add the org.eclipse.emf.cdo dependency to the model plugin
* Additional plugin generation with Factory Override (Thanks to Alex Lagarde for this idea) : 
  - transform the genmodel for CDO Native : a parameter allows to set Dynamic or Reflective generation
  - generate the emf model Implementation code (xxxImpl.java) in a new plugin (xxx.cdo)
  - use an EMF Factory Override to take advantage of the CDO Native Implementation code
Comment 2 Matthieu Helleboid CLA 2012-08-28 08:28:14 EDT
bug fix : when generating cdo native code in an additional plugin, make sure to use cdo genPackages instead of original genPackages in usedGenPackages. It make sense for metamodel using other metamodels. 

So I also added a check for both cdo generation style, to check that all usedGenPackages are also generated for CDO (or may cause bugs with the eStaticFeatureCount method generation)
Comment 3 Matthieu Helleboid CLA 2014-01-09 03:45:39 EST
feature implemented
Comment 4 Matthieu Helleboid CLA 2014-07-31 04:27:54 EDT
closed/fixed