IBM Support

PM80298: Regenerating code for reverse engineered C header file results in comments not getting generated for attributes properly in R

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Abstract:
    
    Attempts to regenerate code for reverse engineered C header file
    results in comments not getting generated for attributes
    properly in IBM Rational Rhapsody
    
    Business Impact: High. Client is highly dependent on Doxygen
    comment standards and currently they are unable to generate
    proper documentation due to this problem.  Also informed that it
    is important for them  to have proper documentation, otherwise
    code generation from Rhapsody is not acceptable
    
    Problem:
    Steps to reproduce:
    
    1. Reverse Engineer any header file containing comments
    2. Add a variable to model.
    3. Click Code ? Re Generate
    
    Notice that in generated code file, comments are lost for few
    variables
    
    Support Observations: The header file being reverese engineered
    contains Functions, Type, Variables with comments; and Rational
    Rhapsody displays comments in description tab of element in the
    model,
    
    However when Re Generate code of the same file, comments are
    getting lost for variables in generated code file
    
    Local fix:
    There is no known workaround at this time.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When regenerating code after reverse engineering C header
    files, comments for attributes are not generated correctly.
    

Problem conclusion

  • Fixed in version 8.0.2
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM80298

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-01-10

  • Closed date

    2013-03-21

  • Last modified date

    2013-03-21

  • 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

  • R800 PSN

       UP



Document information

More support for: Rational Rhapsody

Software version: 8.0

Reference #: PM80298

Modified date: 21 March 2013