Enhancement #1654

Do not throw an exception if the same plugin is mentioned in multiple config files

Added by J. Wienke almost 8 years ago. Updated almost 8 years ago.

Status:ResolvedStart date:11/08/2013
Priority:NormalDue date:
Assignee:J. Wienke% Done:

100%

Category:Plugins
Target version:Robotics Service Bus - rsb-0.10

Description

If you specify the same plugin name to load in multiple configuration files, an exception is thrown during loading of plugins because the matching plugins is then loaded twice.


Related issues

Related to Robotics Systems Commons - Bug #1640: Loading same plugin twice from different pathes Closed 10/01/2013

Associated revisions

Revision 9ece3c95
Added by J. Wienke almost 8 years ago

Allow loading ap lugin multiple times from config

Do not throw an exception in case the same plugin name is
mentioned multiple times in the configuration.

  • Configurator.*: Use a set instead of a vector for the collected plugin
    matching patterns to ignore multiple same plugin
    patterns
  • ConfiguratorTest.cpp: New unit test for this issue
  • CMakeLists.txt: Include new unit tests

fixes #1654

Revision a3932651
Added by J. Wienke almost 8 years ago

Backport: Allow loading ap lugin multiple times from config

Do not throw an exception in case the same plugin name is
mentioned multiple times in the configuration.

  • Configurator.*: Use a set instead of a vector for the collected plugin
    matching patterns to ignore multiple same plugin
    patterns
  • ConfiguratorTest.cpp: New unit test for this issue
  • CMakeLists.txt: Include new unit tests

refs #1654

History

#1 Updated by J. Wienke almost 8 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Applied in changeset rsc|commit:9ece3c95d1921bb980d32e119c14dd10eff68beb.

Also available in: Atom PDF