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 Synonym
Rational Rhapsody
Was this topic helpful?
Document Information
Modified date:
27 May 2022
UID
swg21667977