IBM Support

Include directory not generated for Package code on using the usage dependency in Rational Rhapsody

Troubleshooting


Problem

Attempts to generate the #include directory for package code fails though usage dependency has been used in IBM Rational Rhapsody

Cause

Setting the usage dependency for a header file on Package is not sufficient to generate the #include<> directive in the package code file. You would need to additionally modify SpecInclude and Impinclude properties

Environment

Microsoft Windows Vista Service Pack 1

Resolving The Problem

In order to generate the #include<> directive in the package code file in the Specification file set the value of property CPP_CG::Package::SpecInclude with the include directive say #include<test.h>

In case you desire to generate the #include<> directive in the package code file in the Implementation file set the value of property CPP_CG::Package::ImpInclude with the include directive say #include<test.h>

[{"Product":{"code":"SSB2MU","label":"IBM Engineering Systems Design Rhapsody"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"General Information","Platform":[{"code":"PF033","label":"Windows"}],"Version":"8.0;8.0.1;8.0.2;8.0.3;8.0.4;8.0.5;8.0.6","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Product Synonym

Rational Rhapsody

Document Information

Modified date:
27 May 2022

UID

swg21667977