| Summary: | Ns Uri change in Ecore is not changed in projec ...edit plugin.xml | ||
|---|---|---|---|
| Product: | [Modeling] EMF | Reporter: | J.Teutsch <J_Bugzilla_Teutsch> |
| Component: | Tools | Assignee: | Dave Steinberg <davidms> |
| Status: | RESOLVED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
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. |
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