Unregistering or locally registering a metamodel [message #1855995] |
Mon, 14 November 2022 23:16 |
|
When you run a workflow in ant that is registering a metamodel that is already registered, the registration has no effect. This is a problem if you make alterations to the metamodel. It seems there is no way to unregister and re-register a metamodel. However, that is important when a workflow is used for development. Do you know of any way this can be done?
The problem here is, that there is not even a warning of this issue, as the problem only surfaces later at runtime, when the types are being accessed. If the workflow is long, then this can lead to quite obscure errors.
The most modern aspect would be to have a facility that fails fast in this case.
In effect, this is a variant of the issue that concerns the global resource set not being reset after an execution of a workflow has ended..
However, it is different in that resource sets derived from resource set impl delegate requests for meta-models to the global metamodel registry.
[Updated on: Mon, 14 November 2022 23:25] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.03822 seconds