[Pkg-ace-devel] Re: REACTOR_SEPERATION build of ACE

Marek Brudka mbrudka@aster.pl
Sat, 11 Dec 2004 18:08:59 +0100


Hi Raphael,
    Please stop inspecting REACTOR_SEPARATION branch for a while. I'm 
introducing some changes in the
build schema, which leads to compilation and mpc generation schema 
closer to your original patch. I'll get you know
when they are ready.
    If about ACE_HAS_* macros I think in general they are a bad thing, 
as using macros always make the compilation and the
distribution of large projects more difficult ( Lakos + my personal 
experience). This is why I decided to remove ACE_HAS_XT
and ACE_HAS_QT. However, it is not possible to remove ACE_HAS_FL and 
ACE_HAS_TK macros due to TAO design faults.
Namely, while Qt and Xt reactor are perfectly separated from main TAO 
using factories in tao_resources, this is not the case with
Tk and Fl ones. The reason for this is hidden in an ugle switch in 
tao/Stategies folder, where these reactors are hard linked into
Strategies library. I think this is inconsistent with the way Qt and Xt 
reactors are handled, and in general consider it
as a design problem. I suppose in future one should create 
tao_tk(fl)resource factories similar to qt(xt) resources and remove
adequate reactors from AdvancedResourceFactory in tao.
    How debian package maintainers deal with this problem? Is support 
for Tk and Fl removed from TAO_Strategies now to prevent
dependencies on Fl and Tk libraries? Or rather there are four mutually 
exclusive versions of TAO libraries for the combinations of
Tk and Fl?

TIA
Marek Brudka