[Rock-dev] PROPOSAL: change policy on vizkit3d plugin namespaces
Jakob Schwendner
jakob.schwendner at dfki.de
Thu Apr 19 16:00:53 CEST 2012
On 04/19/2012 12:10 PM, Alexander Duda wrote:
> On Thu, 2012-04-19 at 11:13 +0200, Sylvain Joyeux wrote:
>> The current policy for vizkit3d plugins is to put them in the vizkit
>> namespace, regardless of which package defines them
>>
>> This is wrong for the following reason:
>>
>> - this is inconsistent with the rest of the namespace policy (one
>> namespace per library)
>> - namespaces are used for a reason: avoiding name clashes
>> - since vizkit plugins are loaded dynamically, name clashes silently
>> cause weird problems at runtime between completely unrelated packages.
>>
>> Background: I spent 2x 1.5 hours the last two weeks tracking down weird
>> bugs that were due to name clashes between -viz.so libraries.
>>
>> My vote: +1
> +1
>
> Alex
+1 (forced)
Since sylvain already started to do the change for envire/viz.
Not using the vizkit namespace for visualizations did actually lead to
some problems, since the ruby part seems to assume that all vizkit3d
plugins are in the vizkit:: namespace. I've commited a small change from
sylvain to vizkit to allow the registration of visualization using the
full namespace.
cheers,
Jakob
--
Jakob Schwendner, M.Sc.
Researcher
DFKI Bremen
Robotics Innovation Center
Robert-Hooke-Straße 5
28359 Bremen, Germany
Phone: +49 (0)421 17845-4120
Fax: +49 (0)421 17845-4150
E-Mail: jakob.schwendner at dfki.de
Weitere Informationen: http://www.dfki.de/robotik
-----------------------------------------------------------------------
Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern
Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster
(Vorsitzender) Dr. Walter Olthoff
Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
Amtsgericht Kaiserslautern, HRB 2313
Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
USt-Id.Nr.: DE 148646973
Steuernummer: 19/673/0060/3
-----------------------------------------------------------------------
More information about the Rock-dev
mailing list