IBM Support

PI82139: UNABLE TO ADD "USAGE" LIBRARIES IN A NON "DOMAIN PARTICIPANT" COMPONENT

A fix is available

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • When we create a DDSProfile, DomainParticipant, we can add to
    the Ada_CG::GNAT::MakeFileContentForExe1 and
    Ada_CG::GNAT::MakeFileContentForLib1 (or the equivalent in RTI
    property) the $TopicStruct_Project_With_Clause variable that is
    replaced during the generation by the list of Libraries
    connected with a <<usage>>dependecy to my Component.
    
    We used the properties to generate *.gpr files, and it works
    fine.
    
    If the dependant library is not a Domain Participant, the
    properties is not filled and We were not able to find an
    equivalent one, this cause to me to set all the libraries as
    Domain Participant and this can be semantically not correct.
    
    
    So, Regular dependency makefile should contain
    SET_ADA_INCLUDE_PATH to add in any dependencies. But this is
    missing from Ada_CG::RTI_GNAT::MakeFileContentForExe1 and 2
    properties. Therefore, the dependencies are not added to the
    DomainParticipant makefile.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Rhapsody                                                     *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Unable to add "Usage" libraries in a non "Domain             *
    * Participant" Component                                       *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • the macro $TopicStruct_Project_With_Clause is replaced by
     - $Component_Dependencies_With_Clause
     - $Configuration_Dependencies_With_Clause
    They will generate with clause for gpr files for all usage
    dependencies to components or configuration
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI82139

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    812

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-05-25

  • Closed date

    2017-12-04

  • Last modified date

    2017-12-04

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    TLOGIC RHAPSODY

  • Fixed component ID

    5724V74RP

Applicable component levels

  • R812 PSY

       UP



Document information

More support for: Rational Rhapsody

Software version: 8.1.2

Reference #: PI82139

Modified date: 04 December 2017