Jump to: navigation, search

Difference between revisions of "EMF/EMF 2.3/New Features Migration Guide"

< EMF‎ | EMF 2.3
m (EMF 2.2 vs. 2.3)
m (EMF 2.2 vs. 2.3)
Line 24: Line 24:
 
<tr valign="top">
 
<tr valign="top">
 
<td>
 
<td>
  ''org.eclipse.emf.sdk''
+
  ''org.eclipse.emf.sdk'' (contains emf, sdo, xsd)
 
     ''org.eclipse.emf''
 
     ''org.eclipse.emf''
 
         org.eclipse.emf
 
         org.eclipse.emf
Line 55: Line 55:
 
         org.eclipse.emf.exporter
 
         org.eclipse.emf.exporter
 
     ''org.eclipse.emf.source''
 
     ''org.eclipse.emf.source''
 +
        org.eclipse.emf.source (all emf sources)
 
     ''org.eclipse.emf.doc''
 
     ''org.eclipse.emf.doc''
 +
        org.eclipse.emf.doc
 +
</td><td>
 +
''org.eclipse.emf.sdk'' (now contains only emf)
 +
    ''org.eclipse.emf''
 +
        org.eclipse.emf
 +
        ''org.eclipse.emf.codegen''
 +
            org.eclipse.emf.codegen
 +
        ''org.eclipse.emf.codegen.ui''
 +
            org.eclipse.emf.codegen.ui
 +
        ''org.eclipse.emf.codegen.ecore''
 +
            org.eclipse.emf.ant
 +
            org.eclipse.emf.codegen.ecore
 +
        ''org.eclipse.emf.codegen.ecore.ui''
 +
            org.eclipse.emf.codegen.ecore.ui
 +
        ''org.eclipse.emf.common''
 +
            org.eclipse.emf.common
 +
        ''org.eclipse.emf.common.ui''
 +
            org.eclipse.emf.common.ui
 +
        ''org.eclipse.emf.converter''
 +
            org.eclipse.emf.converter
 +
            org.eclipse.emf.importer
 +
            org.eclipse.emf.exporter
 +
            org.eclipse.emf.importer.ecore
 +
            org.eclipse.emf.importer.java
 +
            org.eclipse.emf.importer.rose
 +
        ''org.eclipse.emf.ecore''
 +
            org.eclipse.emf.ecore
 +
            org.eclipse.emf.ecore.change
 +
            org.eclipse.emf.ecore.xmi
 +
        ''org.eclipse.emf.ecore.edit''
 +
            org.eclipse.emf.ecore.edit
 +
            org.eclipse.emf.ecore.change.edit
 +
        ''org.eclipse.emf.ecore.editor''
 +
            org.eclipse.emf.ecore.editor
 +
        ''org.eclipse.emf.edit''
 +
            org.eclipse.emf.edit
 +
        ''org.eclipse.emf.edit.ui''
 +
            org.eclipse.emf.edit.ui
 +
        ''org.eclipse.emf.mapping''
 +
            org.eclipse.emf.mapping
 +
        ''org.eclipse.emf.mapping.ui''
 +
            org.eclipse.emf.mapping.ui
 +
        ''org.eclipse.emf.mapping.ecore''
 +
            org.eclipse.emf.mapping.ecore2ecore
 +
            org.eclipse.emf.mapping.ecore2xml
 +
        ''org.eclipse.emf.mapping.ecore.editor''
 +
            org.eclipse.emf.mapping.ecore2ecore.editor
 +
            org.eclipse.emf.mapping.ecore2xml.ui
 +
    ''org.eclipse.emf.source''
 +
        org.eclipse.emf.source (all emf sources)
 +
    ''org.eclipse.emf.doc''
 +
        org.eclipse.emf.doc
 +
</td>
 +
</tr>
 +
<!-- SDO -->
 +
<tr valign="top">
 +
<td>
 +
''org.eclipse.emf.sdk'' (contains emf, sdo, xsd)
 
     ''org.eclipse.emf.ecore.sdo''
 
     ''org.eclipse.emf.ecore.sdo''
 
         org.eclipse.emf.ecore.sdo
 
         org.eclipse.emf.ecore.sdo
 +
        org.eclipse.emf.commonj.sdo
 +
        org.eclipse.emf.ecore.sdo.edit
 +
        org.eclipse.emf.ecore.sdo.editor
 +
    ''org.eclipse.emf.ecore.sdo.source''
 +
        org.eclipse.emf.ecore.sdo.source (all sdo sources)
 +
    ''org.eclipse.emf.ecore.sdo.doc''
 +
        org.eclipse.emf.ecore.sdo.doc
 +
</td><td>
 +
''org.eclipse.emf.ecore.sdo.sdk''
 +
    ''org.eclipse.emf.ecore.sdo''
 
         org.eclipse.emf.commonj.sdo
 
         org.eclipse.emf.commonj.sdo
 
         org.eclipse.emf.ecore.sdo
 
         org.eclipse.emf.ecore.sdo
 +
    ''org.eclipse.emf.ecore.sdo.edit''
 
         org.eclipse.emf.ecore.sdo.edit
 
         org.eclipse.emf.ecore.sdo.edit
 +
    ''org.eclipse.emf.ecore.sdo.editor''
 
         org.eclipse.emf.ecore.sdo.editor
 
         org.eclipse.emf.ecore.sdo.editor
 
     ''org.eclipse.emf.ecore.sdo.source''
 
     ''org.eclipse.emf.ecore.sdo.source''
 +
        org.eclipse.emf.ecore.sdo.source (all sdo sources)
 
     ''org.eclipse.emf.ecore.sdo.doc''
 
     ''org.eclipse.emf.ecore.sdo.doc''
 +
        org.eclipse.emf.ecore.sdo.doc
 +
</td></tr>
 +
<!-- XSD -->
 +
<tr valign="top">
 +
<td>
 +
''org.eclipse.emf.sdk'' (contains emf, sdo, xsd)
 
     ''org.eclipse.xsd''
 
     ''org.eclipse.xsd''
 
         org.eclipse.xsd
 
         org.eclipse.xsd
 +
        org.eclipse.xsd.edit
 +
        org.eclipse.xsd.editor
 +
        org.eclipse.emf.mapping.xsd2ecore
 +
        org.eclipse.emf.mapping.xsd2ecore.editor
 
         org.eclipse.xsd.ecore.importer
 
         org.eclipse.xsd.ecore.importer
 
         org.eclipse.xsd.ecore.exporter
 
         org.eclipse.xsd.ecore.exporter
 +
    ''org.eclipse.xsd.source''
 +
        org.eclipse.xsd.source (all xsd sources)
 +
    ''org.eclipse.xsd.doc''
 +
        org.eclipse.xsd.doc
 +
</td><td>
 +
''org.eclipse.xsd.sdk''
 +
    ''org.eclipse.xsd''
 +
        org.eclipse.xsd
 +
    ''org.eclipse.xsd.edit''
 
         org.eclipse.xsd.edit
 
         org.eclipse.xsd.edit
 +
    ''org.eclipse.xsd.editor''
 
         org.eclipse.xsd.editor
 
         org.eclipse.xsd.editor
 +
    ''org.eclipse.xsd.mapping''
 
         org.eclipse.emf.mapping.xsd2ecore
 
         org.eclipse.emf.mapping.xsd2ecore
 +
    ''org.eclipse.xsd.mapping.editor''
 
         org.eclipse.emf.mapping.xsd2ecore.editor
 
         org.eclipse.emf.mapping.xsd2ecore.editor
 +
    ''org.eclipse.xsd.ecore.converter''
 +
        org.eclipse.xsd.ecore.importer
 +
        org.eclipse.xsd.ecore.exporter
 
     ''org.eclipse.xsd.source''
 
     ''org.eclipse.xsd.source''
 +
        org.eclipse.xsd.source (all xsd sources)
 
     ''org.eclipse.xsd.doc''
 
     ''org.eclipse.xsd.doc''
</td><td>
+
        org.eclipse.xsd.doc
 
+
 
</td></tr></table>
 
</td></tr></table>
  

Revision as of 17:53, 15 May 2007

This migration guide is meant to deal with any problems that might arise out of the ashes of bug 106804, "rearrange the features to minimize external dependencies".

Should you have additional issues after reading this guide, please do not hesitate to comment in bug 106804.

If you depend on plugins...

If you use EMF, SDO, or XSD plugins, you should not need to do anything to migrate from EMF 2.3M6 to 2.3M7. If you're moving up from EMF 2.2 to 2.3, see the EMF 2.3 Adoption guide.

If you depend on features...

If you use EMF, SDO, or XSD features, you may have to change how your plugins and feature require EMF, SDO, and XSD. Changes may include:

  1. Change your features to depending on plugins only, not features. Note that as of 3.3M7, Update Manager can finally resolve feature-to-feature-to-plugin dependency resolution when you hit 'Select Required'. See bugs 132450, 174056, 154505, 175004, 131810...
  2. Change which features you depend on so as to include all the upstream code you need
  3. Add new features to include any upstream code you need which is now missing

Below is a comparison chart showing how the organization of features and plugins has changed, in order to ease your migration efforts.

EMF 2.2 vs. 2.3

EMF 2.2 EMF 2.3
org.eclipse.emf.sdk (contains emf, sdo, xsd)
    org.eclipse.emf
        org.eclipse.emf
        org.eclipse.emf.ant
        org.eclipse.emf.codegen
        org.eclipse.emf.codegen.ui
        org.eclipse.emf.codegen.ecore
        org.eclipse.emf.codegen.ecore.ui
        org.eclipse.emf.common
        org.eclipse.emf.common.ui
        org.eclipse.emf.ecore
        org.eclipse.emf.ecore.edit
        org.eclipse.emf.ecore.editor
        org.eclipse.emf.ecore.change
        org.eclipse.emf.ecore.change.edit
        org.eclipse.emf.ecore.xmi
        org.eclipse.emf.edit
        org.eclipse.emf.edit.ui
        org.eclipse.emf.mapping
        org.eclipse.emf.mapping.ui
        org.eclipse.emf.mapping.ecore2ecore
        org.eclipse.emf.mapping.ecore2ecore.editor
        org.eclipse.emf.mapping.ecore2xml
        org.eclipse.emf.mapping.ecore2xml.ui
        org.eclipse.emf.converter
        org.eclipse.emf.importer
        org.eclipse.emf.importer.ecore
        org.eclipse.emf.importer.java
        org.eclipse.emf.importer.rose
        org.eclipse.emf.exporter
    org.eclipse.emf.source
        org.eclipse.emf.source (all emf sources)
    org.eclipse.emf.doc
        org.eclipse.emf.doc
org.eclipse.emf.sdk (now contains only emf)
    org.eclipse.emf
        org.eclipse.emf
        org.eclipse.emf.codegen
            org.eclipse.emf.codegen
        org.eclipse.emf.codegen.ui
            org.eclipse.emf.codegen.ui
        org.eclipse.emf.codegen.ecore
            org.eclipse.emf.ant
            org.eclipse.emf.codegen.ecore
        org.eclipse.emf.codegen.ecore.ui
            org.eclipse.emf.codegen.ecore.ui
        org.eclipse.emf.common
            org.eclipse.emf.common
        org.eclipse.emf.common.ui
            org.eclipse.emf.common.ui
        org.eclipse.emf.converter
            org.eclipse.emf.converter
            org.eclipse.emf.importer
            org.eclipse.emf.exporter
            org.eclipse.emf.importer.ecore
            org.eclipse.emf.importer.java
            org.eclipse.emf.importer.rose
        org.eclipse.emf.ecore
            org.eclipse.emf.ecore
            org.eclipse.emf.ecore.change
            org.eclipse.emf.ecore.xmi
        org.eclipse.emf.ecore.edit
            org.eclipse.emf.ecore.edit
            org.eclipse.emf.ecore.change.edit
        org.eclipse.emf.ecore.editor
            org.eclipse.emf.ecore.editor
        org.eclipse.emf.edit
            org.eclipse.emf.edit
        org.eclipse.emf.edit.ui
            org.eclipse.emf.edit.ui
        org.eclipse.emf.mapping
            org.eclipse.emf.mapping
        org.eclipse.emf.mapping.ui
            org.eclipse.emf.mapping.ui
        org.eclipse.emf.mapping.ecore
            org.eclipse.emf.mapping.ecore2ecore
            org.eclipse.emf.mapping.ecore2xml
        org.eclipse.emf.mapping.ecore.editor
            org.eclipse.emf.mapping.ecore2ecore.editor
            org.eclipse.emf.mapping.ecore2xml.ui
    org.eclipse.emf.source
        org.eclipse.emf.source (all emf sources)
    org.eclipse.emf.doc
        org.eclipse.emf.doc
org.eclipse.emf.sdk (contains emf, sdo, xsd)
    org.eclipse.emf.ecore.sdo
        org.eclipse.emf.ecore.sdo
        org.eclipse.emf.commonj.sdo
        org.eclipse.emf.ecore.sdo.edit
        org.eclipse.emf.ecore.sdo.editor
    org.eclipse.emf.ecore.sdo.source
        org.eclipse.emf.ecore.sdo.source (all sdo sources)
    org.eclipse.emf.ecore.sdo.doc
        org.eclipse.emf.ecore.sdo.doc
org.eclipse.emf.ecore.sdo.sdk
    org.eclipse.emf.ecore.sdo
        org.eclipse.emf.commonj.sdo
        org.eclipse.emf.ecore.sdo
    org.eclipse.emf.ecore.sdo.edit
        org.eclipse.emf.ecore.sdo.edit
    org.eclipse.emf.ecore.sdo.editor
        org.eclipse.emf.ecore.sdo.editor
    org.eclipse.emf.ecore.sdo.source
        org.eclipse.emf.ecore.sdo.source (all sdo sources)
    org.eclipse.emf.ecore.sdo.doc
        org.eclipse.emf.ecore.sdo.doc
org.eclipse.emf.sdk (contains emf, sdo, xsd)
    org.eclipse.xsd
        org.eclipse.xsd
        org.eclipse.xsd.edit
        org.eclipse.xsd.editor
        org.eclipse.emf.mapping.xsd2ecore
        org.eclipse.emf.mapping.xsd2ecore.editor
        org.eclipse.xsd.ecore.importer
        org.eclipse.xsd.ecore.exporter
    org.eclipse.xsd.source
        org.eclipse.xsd.source (all xsd sources)
    org.eclipse.xsd.doc
        org.eclipse.xsd.doc
org.eclipse.xsd.sdk
    org.eclipse.xsd
        org.eclipse.xsd
    org.eclipse.xsd.edit
        org.eclipse.xsd.edit
    org.eclipse.xsd.editor
        org.eclipse.xsd.editor
    org.eclipse.xsd.mapping
        org.eclipse.emf.mapping.xsd2ecore
    org.eclipse.xsd.mapping.editor
        org.eclipse.emf.mapping.xsd2ecore.editor
    org.eclipse.xsd.ecore.converter
        org.eclipse.xsd.ecore.importer
        org.eclipse.xsd.ecore.exporter
    org.eclipse.xsd.source
        org.eclipse.xsd.source (all xsd sources)
    org.eclipse.xsd.doc
        org.eclipse.xsd.doc

EMF 2.3M6 vs. 2.3M7