ibm Rational Rhapsody 7.5 — Configuration files

Components Components A component is a physical subsystem in the form of a library or executable program. It plays an important role in the modeling of large systems that contain several libraries and executables. For example, the Rational Rhapsody application has several dozen components including the graphic editors, browser, code generator, and animator, all provided in the form of a library. A component contains configurations and files. In the Rational Rhapsody hierarchy, a component can be saved at the project level, or grouped within a package. For instructions on editing components, see Component diagrams . Configurations A configuration specifies how the component is to be produced.

For example, the configuration determines whether to compile a debug or non-debug version of the subsystem, whether it should be in the environment of the host or the target (for example, Windows versus VxWorks), and so on. For more information, see Component diagrams . Configuration files Configurations manifest themselves as files . The ability to map logical elements to files enables you to better specify implementations for code generation, and to capture existing implementations during reverse engineering. Just as it might be desirable to map several classes into a single package, so might it be desirable to map one or more packages into a single subsystem.

You control where to generate the source files for the classes (or packages) in a given subsystem, either into a single directory or separate directories.

Љ Which logical elements, or classes, to map into which files Љ The order of the classes in the file Љ Verbatim code chunks, such as macros and #define statements, that should be included in generated source files Љ Whether to map each class to its own specification and implementation files, or to map multiple classes to the same files Љ Whether specification and implementation files generated for a class, or set of classes, have the same name or different names Љ Dependencies between classes Љ File scope definitions for user-defined code For more information on files, see Component diagrams . Rational Rhapsody 315