Troubleshooting
Problem
Sometimes users want to add steps to the normal IBM Rational Rose RealTime build process. This technote explains how to automatically execute additional actions or commands after the regular build steps.
Resolving The Problem
The CompilationMakeInsert (Component, C++ Compilation) property can be used to specify commands that will be executed after the regular build completes.
The text that is added in this property/field will be inserted into the following makefile:
- $@/$name/build/Makefile.
- where...
- $@ is the model file directory
- $name is the name of the component being built
This makefile has several macros and the makefile rule that compiles the "Top" capsule:
|
By redefining the COMPILE_TARGET, extra steps can be added to the build. For example:
|
Here is the equivalent Unix example:
|
Note: The TOP_CAPSULE will run, but limitations on the command shell won't allow the Build process inside Rose RealTime to "complete" until the command shell is closed, that is the Build Icon remains grayed out and the Stop Build icon is still active until the command shell completes.
Related Information
Historical Number
116032306
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21120293