Model RealTime 10.3 2019.43

173272: CQPAR00247603 - Transitions not shown in inherited state diagram

Fixed an exception that prevented a state chart diagram rendered correctly.

173245: CQPAR00247366 - Adding sources semi-automatically to TCJS is missing or manual add is not working for abstract TCJS with Model RealTime v10.3

The TC editor now provides an Organize Sources button on the Main tab. When pressed a dialog will suggest elements to be added or removed as source elements to make the Sources list optimal (so that no unnecessary elements get built by the TC).

173220: CQPAR00247186 Make fails with incorrect Usage of cdrun.pl when prerequisite External Library TC references a pre-compiled library

The problem was related to one of scenarios how to use External Library TCs when libraries are pre-compiled, External Library TC does not define Build command and Build folder, but only lists Inclusion paths and Libraries. Using such External Library TC as a prerequisite caused Make to fail complaining about wrong Usage of cdrun.pl :
Building in folder ../..
Usage: C:/_Install/Model RealTime_Photon_latest/plugins/com.ibm.xtools.umldt.rt.core.tools_1.50.0.v20190903_2200/tools/cdrun.pl directory command …
make: *** [all] Error 1
This has been fixed in 10.3 2019.43

173216: CQPAR00247390 - ExternalTargetProject configuration causes issues with ExternalLibrary TC

ExternalTargetProject property is obsolete and it does not influence any more on the list of target projects used by Ant Build and some other tasks. This property is not added to *.tc files by TC editor and it is not converted to the new TCJS format.
ExternalTargetProject property will be removed from legacy TCs as soon as you start changing Build folder property in TC editor (but only if project specified in this property exists in your workspace).
If ExternalTargetProject property is not relevant and references a non-existing project, it will not be automatically removed from TC, but you can always remove it manually by deleting a line similar to this from your TC file:
<Property id="com.ibm.xtools.umldt.core.ExternalTargetProject" value="@46,=@com.ibm.xtools.transform.core.metatype.project/RG_DistributedFunction"/>
Fixed in Model RealTime 10.3 2019.43

173208: CQPAR00246948 Refactor >Rename hangs occasionally

Model RealTime 10.3 was hanging when user tries to rename a class with Refactor -> Rename.
This problem has been fixed in Model RealTime 10.3 2019.43

173193: CQPAR00246782 $defaultMakeCommand for the recursive make call should be: $(MAKE)

For GNU_make type and Recursive batch.mk generation of recursive make calls has been enhanced and now "$defaultMakeCommand" is replaced with $(MAKE) in generated batch.mk.
Also, if GNU make command is used, specification of target folder "$(IN) <target folder>" is replaced with "-C <target folder>" make option.
Both improvements are implemented for all recursive make calls including Make commands generated from External Library TCs.
So, now recursive make calls look like this:
all :
@$(ECHO) Building in folder ../../Lib1__target/default
@$(MAKE) -C ../../Lib1__target/default all
@$(ECHO) Building in folder ../../CppProject/Debug
@$(MAKE) -C ../../CppProject/Debug all
@$(ECHO) Building in folder .
@$(MAKE) -C . all
This change is needed to correctly support parallel builds with GNU make. Implemented in Model RealTime 10.3 2019.43
See more documentation on $(MAKE):
https://www.gnu.org/sof…ke.html#MAKE-Variable

173064: CQPAR00244716 - Please provide API access to configure and trigger a build in the RSA-RTE owned model compiler instance

An API for invoking the model compiler from an Model RealTime plugin has been added. It's documented in online help under Model RealTime Java APIs - Model RealTime Tool API - Reference - API Reference (see the package com.ibm.xtools.umldt.rt.api.modelcompiler). Also there is a sample plugin that uses the API which can be added to the workspace by means of File - New - Example - Model Compiler API Sample.
This was added in 10.3 2019.43

172370: CQPAR00238740 - RSA-RTE: Model Compiler: create option to detect source dependencies automatically

- Preference "Detect source dependencies automatically" was added to the C++ preference page
- Missing sources are added automatically by the Model Compiler when this preference is on
- Added dependencies are printed into UML Development build console if "Report details about automatically added source elements" is enabled.
This was delivered in 10.3 2018.44.
In 10.3 2019.43 we have improved log messages printed for missing sources and added final message with overview of all added sources :
12:41:06 : INFO : Adding missing sources on-the-fly to "AutoSources/buildWithPrereq.tcjs" :
'platform:/resource/AutoSources/AutoSources.emx#_N3m2EOqZEemPka_TKJ4ApA' /* AutoSources::Capsule2 */,
'platform:/resource/AutoSources/AutoSources.emx#_RVZyoOqZEemPka_TKJ4ApA' /* AutoSources::Local_RENAMED */,
'platform:/resource/OtherProject1/OtherProject1.emx#_CWreoOqbEemPka_TKJ4ApA' /* OtherProject1::OtherClass2 */,
'platform:/resource/OtherProject1/OtherProject1.emx#_AQqNUOqbEemPka_TKJ4ApA' /* OtherProject1::OtherClass1 */,
'platform:/resource/OtherProject1/OtherProject1.emx#_D516gOqbEemPka_TKJ4ApA' /* OtherProject1::OtherClass3 */
It is printed in such a format that you can just copy sources from the log and paste into TCJS editor into the Code tab and then save updates in TCJS file on disk.