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

Bug 344403

Summary: [Dawn] Separated Dawn Codegen from specific implementations
Product: [Modeling] EMF Reporter: Martin Fluegge <martin.fluegge>
Component: cdo.dawnAssignee: Martin Fluegge <martin.fluegge>
Status: CLOSED FIXED QA Contact: Eike Stepper <stepper>
Severity: normal    
Priority: P3    
Version: 4.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Patch v1
none
Patch v2
none
Patch v3 none

Description Martin Fluegge CLA 2011-05-01 12:05:20 EDT
It turned out the it was not the bad decision to couple the dawn generator to close to the extended editors/frameworks like GMF. If one of the projects leaves the release train then it might happen that Dawn breaks the whole build since it references projects that are not there anymore. So I need to separate the extended frameworks from the codegen core to have better control about what is on the train and what is not.
Comment 1 Martin Fluegge CLA 2011-05-09 12:23:37 EDT
Created attachment 195100 [details]
Patch v1

I change the complete code generation. Now the generator is separated from the specific platforms (EMF, GMF, etc.). To have a common base (e.g for color shemas and so on) every specific generator model references a basic Dawn genmodel. 

One last thing to do it to provide a single Multi-Page editor which combines all generator models to make it more comfortable for the user to edit the models and change the behaviour of the generator.
Comment 2 Martin Fluegge CLA 2011-05-09 12:39:50 EDT
Committed revision 7664:
- trunk/features/org.eclipse.emf.cdo.dawn.codegen-feature
- trunk/plugins/org.eclipse.emf.cdo.dawn
- trunk/plugins/org.eclipse.emf.cdo.dawn.codegen
- trunk/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel
- trunk/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.edit
- trunk/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor
- trunk/plugins/org.eclipse.emf.cdo.dawn.tests
Comment 3 Martin Fluegge CLA 2011-05-09 12:41:37 EDT
Committed revision 7665:
Comment 4 Martin Fluegge CLA 2011-05-09 12:42:11 EDT
Committed revision 7666:
Comment 5 Martin Fluegge CLA 2011-05-09 12:42:41 EDT
Committed revision 7667:
Comment 6 Martin Fluegge CLA 2011-05-09 12:43:42 EDT
Seems that the patch was a bit to big for svn

Committed revision 7664
Committed revision 7665
Committed revision 7666
Committed revision 7667
Comment 7 Martin Fluegge CLA 2011-05-13 08:08:08 EDT
Created attachment 195586 [details]
Patch v2

I created a multi page editor which allows to handle all extensions from one editor. This editor automatically detects all extension gen models and opens a specific editor page for it.
Comment 8 Martin Fluegge CLA 2011-05-13 08:09:23 EDT
Committed revision 7699:
- trunk/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel
- trunk/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.editor
- trunk/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.emf
- trunk/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.emf.ui
- trunk/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.gmf
- trunk/plugins/org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.gmf.ui
Comment 9 Martin Fluegge CLA 2011-05-13 08:09:35 EDT
Committed revision 7699
Comment 10 Martin Fluegge CLA 2011-05-13 13:04:15 EDT
Committed revision 7701:
Comment 11 Martin Fluegge CLA 2011-05-13 13:08:37 EDT
Created attachment 195608 [details]
Patch v3

Created separate features for the different codegen implementations
Comment 12 Martin Fluegge CLA 2011-05-13 13:09:58 EDT
Committed revision 7703
Comment 13 Eike Stepper CLA 2011-06-23 04:27:25 EDT
Moving all open problem reports to 4.0
Comment 14 Eike Stepper CLA 2012-09-21 06:52:00 EDT
Closing.