IBM Support

Rose RealTime does not recognize some changes in environment variables

Troubleshooting


Problem

A problem can occur where Rose RealTime does not recognize some changes in environment variables. For example, say there is a $RTS environment variable defined and used in a component specification. After a change to the $RTS variable, Rose RealTime still builds using the previous value, even after shutting down and restarting Rose RealTime.

Resolving The Problem


Some variables are fully expanded in the make files. For the example above, if $RTS=/home/user1home/RoseRT, then the make file will contain references to "/home/user1home/RoseRT" not $RTS.

e.g. the Makefile may look like
RTcompile : RTgenerate
$(IN) build rsh ldev1 cd /home/user1home/RoseRT/myapp/build; make -k -s RTcompile


If an environment variable is updated, the makefile(s) may need to be regenerated. This is done by doing a full rebuild of the component from Rose RealTime, a build or quick build is not sufficient.





[{"Product":{"code":"SSSHKL","label":"Rational Rose RealTime"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"--","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"2003.06.00","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Historical Number

145266101

Document Information

Modified date:
16 June 2018

UID

swg21131200