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

Duplicate pattern registrations are possible through plugin.xml #210

Closed istvanrath closed 12 years ago

istvanrath commented 12 years ago

The duplicate registration of patterns (violating the FQN uniqueness constraint) is possible through the plugin.xml. I have noticed this when, for some unknown reason, the generator managed to create multiple extensions into my school.incquery project.

abelhegedus commented 12 years ago

Duplicate registration is not possible! What you actually saw was the Query Explorer sometimes initialized generated patterns twice, once as generated and once as runtime. Furthermore, the matcher factory registry never initiates matchers therefore it will not cause duplicate pattern bugs.