Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 23:16 Go to next message
Jörn Guy Süß is currently offline Jörn Guy SüßFriend
Messages: 320
Registered: July 2009
Location: Anstead, Brisbane, Queens...
Senior Member

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

Re: Unregistering or locally registering a metamodel [message #1855996 is a reply to message #1855995] Mon, 14 November 2022 23:36 Go to previous message
Dimitris Kolovos is currently offline Dimitris KolovosFriend
Messages: 2165
Registered: July 2009
Location: York, UK
Senior Member

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 43 times)
Previous Topic:EGX Parallel Execution
Next Topic:Extended property issues for 2.3
Goto Forum:
  


Current Time: Sat Apr 27 06:51:33 GMT 2024

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

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

Back to the top