Instructions to patch ACE/TAO for middleware GS implementation

We use ACE-5.4.1+ TAO-1.4.1 to run the test harness. 

  1. Download ACE-5.4.1+TAO-1.4.1
  2. Download the GS patches to ACE/TAO
  3. Make sure that you have the following variables set. Change the values for ACE_ROOT and KUSP_PATH appropriately.

    declare -x KUSP_PATH=/projects/kurt/venkita/kusp-repo/svn-rtsj05/kusp
    declare -x kusp=$KUSP_PATH
    declare -x post=$KUSP_PATH/src/datastreams/postprocess
    declare -x DSTREAM_PATH=$KUSP_PATH/src/datastreams
    declare -x DSKI_PATH=$DSTREAM_PATH/dski
    declare -x DSUI_PATH=$DSTREAM_PATH/dsui
    declare -x PYTHONPATH=$KUSP_PATH/src
    declare -x LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$DSKI_PATH/lib:$DSUI_PATH/lib:
    declare -x ACE_ROOT=/projects/kurt/venkita/gs_expmts/ACE_wrappers
    declare -x TAO_ROOT=$ACE_ROOT/TAO
    declare -x LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ACE_ROOT/lib
    declare -x TEST_HARNESS=$KUSP_PATH/src/group_scheduling/tests/test_harness
  4. Setup your ACE/TAO build (platform_macros.GNU and config.h) according to the instructions on the ACE/TAO website. Please don't run 'make' yet. For example, here is the contents of $ACE_ROOT/include/makeinclude/platform_macros.GNU that I used.

    include $(ACE_ROOT)/include/makeinclude/platform_linux.GNU
    debug=1
    inline=0
    optimize=0


    Here is what I did for $ACE_ROOT/ace/config.h

    > cd $ACE_ROOT/ace
    > ln -sf config-linux.h config.h
  5. Apply the GS patch
    > cd $ACE_ROOT
    > patch -p 6 < gs_mw_ace_tao_patches
    > cd $ACE_ROOT/TAO
    > $ACE_ROOT/bin/mwc.pl -exclude tao/DynamicInterface gs_expmts.mwc
    > cd $ACE_ROOT/ace
    > make -f GNUmakefile.ACE dsui_headers
    > cd $ACE_ROOT/TAO
    > make