[Pkg-ace-devel] Plan for ACE+TAO upload

Johnny Willemsen jwillemsen at remedy.nl
Mon May 31 07:01:59 UTC 2010


Hi,
What I had in mind was simpler and relied on macro magic only. I don't
> think get_dll_names has to be changed if we can propagate the version
> of the dll to load to it.
>
> Let's take an example: in
> $TAO_ROOT/orbsvcs/orbsvcs/PortableGroup/PortableGroup_ORBInitializer.cpp,
> we see:
>> static const ACE_TCHAR pg_poa_factory_directive[] =
>> ACE_DYNAMIC_SERVICE_DIRECTIVE("TAO_GOA",
>>                               "TAO_PortableGroup",
>>                               "_make_TAO_PG_Object_Adapter_Factory",
>>                               "");
>
> I imagine either something like that:
>> TAO_DYNAMIC_SERVICE_DIRECTIVE("TAO_GOA",
>>                               "TAO_PortableGroup",
>>                               "_make_TAO_PG_Object_Adapter_Factory",
>>                               "");
> with TAO_DYNAMIC_SERVICE_DIRECTIVE a conditional #defined macro that
> knows TAO version and appends it to its second argument so that it
> becomes for instance "TAO_PortableGroup" "-1.7.7" and it will work;
I don't like a TAO specific macro, we should have an
ACE_DYNAMIC_SERVICE_DIRECTIVE that is capable of handling the version,
maybe add ACE_DYNAMIC_SERVICE_DIRECTIVE_VERSIONED where the end user can
pass ACE_VERSION or TAO_VERSION (or his own version).

Johnny



More information about the Pkg-ace-devel mailing list