Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 128838 - Eclipse M5 has changed the way the nature ID is computed
Summary: Eclipse M5 has changed the way the nature ID is computed
Status: VERIFIED FIXED
Alias: None
Product: EMF
Classification: Modeling
Component: Tools (show other bugs)
Version: 2.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Marcelo Paternostro CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 128866
Blocks:
  Show dependency tree
 
Reported: 2006-02-21 11:42 EST by Marcelo Paternostro CLA
Modified: 2008-01-28 16:57 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcelo Paternostro CLA 2006-02-21 11:42:19 EST
It seems that if a nature id has a ".", the default behavior of adding the plugin ID as a prefix for the the nature's id is not happening any more.

The JET nature was defined this way

  <extension point="org.eclipse.core.resources.natures" id="jet.IJETNature">
    <runtime>
      <run class="org.eclipse.emf.codegen.jet.JETNature" />
    </runtime>
  </extension>

and our code would look for "org.eclipse.emf.codegen.jet.IJETNature".  In M5, this id became "jet.IJETNature" causing no end of problems.

The fix is to manually add the plugin id as the prefix of the nature's id.
Comment 1 Marcelo Paternostro CLA 2006-02-21 11:43:32 EST
The fix was committed to CVS.
Comment 2 Marcelo Paternostro CLA 2006-02-24 22:10:29 EST
The fix is available in EMF 2.2.0M5.
Comment 3 Nick Boldt CLA 2008-01-28 16:57:17 EST
Move to verified as per bug 206558.