Use the Modeling Policy group on the Mapping tab
of the Reverse Engineering Advanced Options window
to save the original file mapping after reverse engineering.
About this task
This group has the following controls:
- File radio button lets you
save files to be imported into separate packages. This selection is
the default value for IBM® Rational® Rhapsody® Developer for C.
For C, this means that a model is a file-based (FunctionalC) model,
which is a code-centric model. This option is only available in C++
when importing the package as "external." Select the Visualization
Only (Import as External) check box.
- Class radio button means that no files
are created.
The root path of the top-most folder
created during reverse engineering is added to the
Include
Path field of the active component; it is later used to
compile
#include statements for the imported files
and to open the source code for external elements. If the imported
files have several, non-dependent roots, multiple paths are written
to the field, separated by commas.
For
example, for files
C:\Project1\Subsystem\A.h and
D:\Project2\Subsystem2\B.h,
the
Include Path field would contain the following
string:
C:\Project1;D:\Project2
If this option is used with an empty component (one whose
scope is empty or includes only external elements), the first root
path is added to the
Directory field of the
component; any additional paths are written to the
Include
Path field.