IBM Support

PM07931: Order of include changes between code generations

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Steps to Reproduce:
    1. Generate the model with dependency using RhapsodyCL command .
    rhapsodycl  -cmd=open '??Project name?? -cmd=setcomponent ??comp
    onentname?? -cmd=setconfiguration ??configurationname?? -cmd=gen
    withdep -cmd=exit
    2. Take a copy of the generated code in a folder (for eg: folder
    A).
    3. Open Rhapsody Model.
    4. Insert a comment line in any function.
     (for eg: // Add a comment.)
    5. Generate the code again using the command line rhapsodycl.
     rhapsodycl  -cmd=open '??Project name?? -cmd=setcomponent ??com
    ponentname?? -cmd=setconfiguration ??configurationname?? -cmd=ge
    nwithdep -cmd=exit
     Customer dont want to use regenerate with depencies as it would
     take long time for generating the code, affects production time
    .
    
    6. Take a copy of the newly generated code (for eg: folderB).
    7. Remove cg info files (from both folderA and folderB).
    8. Now compare the generated codes in folderA and folderB, the o
    rder of includes files would have been changed.
    
    Additional Information from Customer:
    The same behavior is tested on Rhapsody 7.4  and 7.5.1
    
    Business impact:
    As a workaround, we need to remove the existing files and regene
    rate the code.
    This takes a long time for code generation even if there is a si
    mple changes/modifications to the application. This affects Prod
    uction time.
    

Local fix

Problem summary

  • Order of include changes between code generations
    

Problem conclusion

  • Fixed in 7.5.2
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM07931

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    750

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-02-18

  • Closed date

    2010-06-11

  • Last modified date

    2010-06-11

  • 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

  • R750 PSN

       UP

[{"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","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
11 June 2010