158324: CQPAR00205420 RUNNING MODEL COMPILER WITHOUT ARGUMENTS RESULTS IN NPE
Running model compiler from command line without arguments results in an error message and returns exit code "1".
NPE has been fixed:
C:\>java -jar C:\_Install\Model RealTime_10.1_2017.07\rsa_rt\tools\modelcompiler.jar
11:12:15 : INFO : EXPERIMENTAL RT Model Compiler. (C) Copyright HCL Technologies Ltd. 2016, 2017. All Rights Reserved.
11:12:15 : INFO : Expanding paths
11:12:15 : ERROR : No input file(s) specified.
11:12:15 : INFO : Done. Elapsed time 0.031 s
C:\>echo %ERRORLEVEL%
1
This was delivered in 10.1 2017.07
158098: CQPAR00205338 NEW SEARCH/REPLACE DO NOT REPLACE ALL OCCURRENCES IN THETC-FILES
Added replace support for following TC fields:
- Documentation field
- Workspace output path
- Top capsule
This was deliverd in 10.1 2017.07
156450: Context sensitive build issues when using model compiler and introducing artifacts usage for external code
For context sensitive library builds we need to know if any of the external C++ code is using any UML model elements. This is needed to correctly build the set of sources required for target build.
We have invented a simple and efficient workaround that allows to specify dependencies from external C++ code to UML model elements.
It does not require to replace external code with artifacts but adds a special class that defines dependencies from external source files to UML model elements.
The solution will be documented on Model RealTime Wiki near documentation for Context Sensitive library builds.
RNC model has been updated and it solved context sensitive build issues reported in this case.
144171: CQPAR00133425 - RSA-RTE: Generate RME tags with state information
The readability of generated code for state machines has been improved.
Now, for each state generated code contains comments showing not only the current state name but the complete state with all parent states.
For example:
case 3 /* State1 (State Machine::TOP::initting::homing::State1) */
Similar comments are also printed for passive state machines:
case 2U /* State1 (StateMachine1::State1) */:
…
rtg_state_Class1.state = 3U /* State2 (StateMachine1::State2) */;
This was delivered in 10.1 2017.07