Skip to main content



      Home
Home » Modeling » Epsilon » Unregistering or locally registering a metamodel(A metamodel registered in the local registry is not replaced when workflow executes)
Unregistering or locally registering a metamodel [message #1855995] Mon, 14 November 2022 18:16 Go to next message
Eclipse UserFriend
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 18:25] by Moderator

Re: Unregistering or locally registering a metamodel [message #1855996 is a reply to message #1855995] Mon, 14 November 2022 18:36 Go to previous message
Eclipse UserFriend
The second time a metamodel is registered, it overwrites its previous version in the global EPackage registry as shown in the attached example. Does this help at all?

Thanks,
Dimitris
  • Attachment: modm2.zip
    (Size: 1.29KB, Downloaded 88 times)
Previous Topic:EGX Parallel Execution
Next Topic:Extended property issues for 2.3
Goto Forum:
  


Current Time: Mon Jul 14 09:59:41 EDT 2025

Powered by FUDForum. Page generated in 0.09024 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top