Skip to content

Registering the packages of a Ecore metamodel

Document Actions

This facility is available through the KerMeta menu entry of the Ecore files contextual menu ("KerMeta > Register EPackages into repository"). It registers all the packages defined into a metamodel in the EMF repository (the updated list of registered packages is displayed into the Console view).
Once registered, these packages can be referred to through their URI instead of using the file path to the metamodel that define them.

Note that this registration is not persistent, which means that it has to be performed again for each new Eclipse session. Note also that the reverse facility (unregistering the packages of a metamodel from the EMF repository) is also available.

Permanently, you can consult the state of the EMF registry thanks to the Kermeta view placed at: Window > Show View > Other > Kermeta > EMF registered packages.