Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 356569 - [EMF-Portfolio] Adding the CDO feature
Summary: [EMF-Portfolio] Adding the CDO feature
Status: CLOSED FIXED
Alias: None
Product: EMF.EGF
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Matthieu Helleboid CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-02 06:15 EDT by Benoit Langlois CLA
Modified: 2014-07-31 04:27 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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