IBM Support

PM58039: Comment specified in ImplementationHeader/SpecificationHeader gets generated repeatedly

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as Permanent restriction.

Error description

  • Descriprtion
    ------------
    
    The property ImplementationHeader/SpecificationHeader is defined
    in the project. The generated files show comments from previous
    versions which should not be generated again and again. Each
    time you make a FrocedRoundrip and on ReGenerate have another
    set of the following comment:
    
    /*
    line 1
    line 2
    line 3
    */
    
    The file seems to be stored in the sbs file.
    
    If the comment or text is places inside the comment box for the
    property, the generation is not repeated and not seen in the
    .sbs file.
    Example :
    
    /***************************************************************
    *****
     Rhapsody : 7.6.1
     Login  : rajsing4
     Component : DefaultComponent
     Configuration  : DefaultConfig
     Model Element : class_0
    //! Generated Date : Mon, 13, Feb 2012
     File Path : DefaultComponent\DefaultConfig\class_0.cpp
    
    
    line 1
    line 2
    line 3
    
    ****************************************************************
    *****/
    
    However if the same is placed outside, as seen in the model, the
    generation of the comment is repeated. Also, the section/test is
    seen in the .sbs file.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Comment specified in
    ImplementationHeader/SpecificationHeader gets generated
    repeatedly.
    

Problem conclusion

  • This happens when the value of these properties consists of
    two separate comments with a new line between them. To avoid
    this problem, use a single comment block or two blocks
    without a new line between them.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM58039

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    752

  • Status

    CLOSED PRS

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-02-13

  • Closed date

    2012-09-12

  • Last modified date

    2012-09-12

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

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

Fix information

Applicable component levels

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS7P9W","label":"Rational Rhapsody"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5.2","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
12 September 2012