Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 361848 - GMF Bridge generates wrong number of GenCompartment from CompartmentMapping in gmfgen
Summary: GMF Bridge generates wrong number of GenCompartment from CompartmentMapping i...
Status: RESOLVED FIXED
Alias: None
Product: GMF-Tooling
Classification: Modeling
Component: Generation / Templates (show other bugs)
Version: unspecified   Edit
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Target Milestone: 3.0   Edit
Assignee: Guillaume Hillairet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-24 14:26 EDT by Guillaume Hillairet CLA
Modified: 2012-05-30 01:33 EDT (History)
1 user (show)

See Also:


Attachments
Test map model (10.50 KB, application/xml)
2011-10-24 14:27 EDT, Guillaume Hillairet CLA
no flags Details
Test genmodel (5.88 KB, application/xml)
2011-10-24 14:28 EDT, Guillaume Hillairet CLA
no flags Details
Test domain model (5.48 KB, application/xml)
2011-10-24 14:28 EDT, Guillaume Hillairet CLA
no flags Details
Test tool model (1.28 KB, application/xml)
2011-10-24 14:29 EDT, Guillaume Hillairet CLA
no flags Details
Test graph model (2.46 KB, application/xml)
2011-10-24 14:29 EDT, Guillaume Hillairet CLA
no flags Details
Test output gmfgen model (62.19 KB, application/xml)
2011-10-24 14:32 EDT, Guillaume Hillairet CLA
no flags Details
Patch that fixes the number of GenCompartment created from CompartmentMapping (4.90 KB, patch)
2011-10-25 10:07 EDT, Guillaume Hillairet CLA
no flags Details | Diff
Patch that fixes the number of GenCompartment created from CompartmentMapping (4.73 KB, patch)
2011-10-25 10:36 EDT, Guillaume Hillairet CLA
no flags Details | Diff
mylyn/context/zip (2.35 KB, application/octet-stream)
2011-10-25 10:36 EDT, Guillaume Hillairet CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Guillaume Hillairet CLA 2011-10-24 14:26:57 EDT
The java version of the gmf bridge (gmfgraph -> gmfgen) generates wrong number of GenCompartment from CompartmentMapping.
Comment 1 Guillaume Hillairet CLA 2011-10-24 14:27:51 EDT
Created attachment 205853 [details]
Test map model
Comment 2 Guillaume Hillairet CLA 2011-10-24 14:28:24 EDT
Created attachment 205854 [details]
Test genmodel
Comment 3 Guillaume Hillairet CLA 2011-10-24 14:28:59 EDT
Created attachment 205855 [details]
Test domain model
Comment 4 Guillaume Hillairet CLA 2011-10-24 14:29:22 EDT
Created attachment 205856 [details]
Test tool model
Comment 5 Guillaume Hillairet CLA 2011-10-24 14:29:54 EDT
Created attachment 205857 [details]
Test graph model
Comment 6 Guillaume Hillairet CLA 2011-10-24 14:32:38 EDT
Created attachment 205858 [details]
Test output gmfgen model
Comment 7 Guillaume Hillairet CLA 2011-10-24 14:34:21 EDT
Test model showing that the java version of gmf bridge creates 4 GenCompartments from 3 CompartmentMapping.
Comment 8 Guillaume Hillairet CLA 2011-10-25 10:07:44 EDT
Created attachment 205918 [details]
Patch that fixes the number of GenCompartment created from CompartmentMapping
Comment 9 Guillaume Hillairet CLA 2011-10-25 10:36:34 EDT
Created attachment 205921 [details]
Patch that fixes the number of GenCompartment created from CompartmentMapping

Creates map of CM -> GC. Check if CompartmentMapping has not already been created, if not, creates a GenCompartment and update the map.
Comment 10 Guillaume Hillairet CLA 2011-10-25 10:36:36 EDT
Created attachment 205922 [details]
mylyn/context/zip
Comment 11 Michael Golubev CLA 2012-05-30 01:27:44 EDT
batch update: Verified in RC2
Comment 12 Michael Golubev CLA 2012-05-30 01:33:42 EDT
verified in RC2