viatra / EMF-IncQuery

This repository is only kept for historic reasons. All development happens on eclipse.org
http://eclipse.org/viatra
13 stars 4 forks source link

PatternMatcherRegistry does not warn if multiple instances of the same pattern are loaded #356

Closed ujhelyiz closed 11 years ago

ujhelyiz commented 11 years ago

If multiple instances of a pattern definition are loaded using Eclipse extensions (e.g. by incorrectly having multiple instances of the extension present in a plugin.xml), the patterns are loaded, but only the last one is available, and no error messages, exceptions or log outputs are given.

Please, provide some feedback.

abelhegedus commented 11 years ago

The registry initialization now doesn't silenty overwrite the duplicate fqn factories. It keeps the first factory and reports errors for the others.