Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 328916 - Ns Uri change in Ecore is not changed in projec ...edit plugin.xml
Summary: Ns Uri change in Ecore is not changed in projec ...edit plugin.xml
Status: RESOLVED WONTFIX
Alias: None
Product: EMF
Classification: Modeling
Component: Tools (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Dave Steinberg CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-28 07:20 EDT by J.Teutsch CLA
Modified: 2010-10-28 12:18 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 J.Teutsch CLA 2010-10-28 07:20:41 EDT
Build Identifier: EMF Ecore Code Generator Version: 2.6.1.v20100914-1218

I changed the Ns Uri in the ecore model.

Not all resources using the Ns uri are changed.

The uri name was not changed in project plugin.xml, where the ecore.model is in.

Especially the generate edit  from .genmodel does not change the plugin xml in ...edit project

<extension point="org.eclipse.emf.edit.itemProviderAdapterFactories">
      <factory
            uri="StillOldUrl"

This has the side effect using GMF, the Properties are empty, because the AdapterFactories are not correct found

Reproducible: Always

Steps to Reproduce:
1. change in ecore Ns Uri
2. reload genmodel
3. delete generated all
4. generate all
-> plugin.xml has the old value
Comment 1 Dave Steinberg CLA 2010-10-28 12:18:27 EDT
The EMF generator cannot merge XML files. That's a well known limitation (there may be an enhancement request open), and it doesn't replace them to protect any changes you may have made manually. Just delete the plugin.xml and regenerate, and the new version will be generated.