news in rsa-rte 8.0.4 cp4 - ibm · ibm software group | rational software performance (3/4) search...
TRANSCRIPT
®
IBM Software Group
© 2012 IBM Corporation
News in RSA-RTE 8.0.4 CP4
Mattias Mohlin, October 2012
IBM Software Group | Rational software
Build Build Active TC button now always enabled
No need to set the active TC before using it
Build can now be done also when working in CDT projects
Dialog appears if necessary to specify which TC to build
Cleaning of Problems View before buildingNew preference added to provide for more flexibility
Same default behavior as before, but you may want to clean problems for all CDT projects if your build involves external C++ code
IBM Software Group | Rational software
Clean Clean command now integrated with Build Active TC button
Sometimes more convenient than to clean from context menu of TC
By locking the Build Active TC button to a particularproject, that project can be cleaned regardless of selection
A command ”Clean transformation configurations”is available for cleaning all top-level TCs in the workspace
TC can now be cleaned even when the workspace is out of synch with the file systemThe tool will then offer to clean by deleting the target directory
IBM Software Group | Rational software
C++ Transform (1/2) Support for generation of Doxygen comments
Controlled by new setting in the TCDoxygen comments are generated for
classes/capsules, enumerations, protocols and operations
Rich text can be used but will be converted to plain text in the comments
JavaDoc style
QT style
IBM Software Group | Rational software
C++ Transform (2/2) Generation of qualified name for code snippets
Controlled by new TC preferenceEnables 3rd party integrations such as
TICS from www.tiobe.com
Bitfield supportThe property ”Field Size” is now supportedNote: ”Generate Descriptor” property must be turned off for bitfield attributes
IBM Software Group | Rational software
Transformation Configuration (1/3) Support for ”precompiled library” TCs
A C++ External Library TC with an empty build commandCan be used as a prerequisite TC for linking as a precompiled library.
Speeds up building by avoiding to build libraries that are rarely modified. A regular C++ Library TC can be used for building the library when it has been modified.
C++ External Library TCs can now have source model elements (useful for ”precompiled library” TCs that are built from a model)
IBM Software Group | Rational software
Transformation Configuration (2/3) Harmonization of TC context menus
Can now set the active TC from the TC file context menuCan now move a TC in the file system from the TC component context menu
IBM Software Group | Rational software
Transformation Configuration (3/3) Improved support for inheritance
All TC properties should now behave in the same way with regards to inheritance
Thread properties can now be inherited
IBM Software Group | Rational software
Performance (1/4) Reduced number of file accesses for common workflows
Improves performance in particular when accessed files are not localNote: Important to have the preference General - Workspace - Refresh
automatically turned off.
Measurements done when using RSARTE 8.0.4 CP4 with Clearcase 8.0.0.2 TF21 and CTE TF25
0
100000
200000
300000
400000
500000
600000
Start R
SARTE
Load
UML M
odels
Build
Naviga
tion/ed
iting
Editor
tab sw
itchin
gTo
tal
CP3CP4
-20%
-9%
-11%
Num
ber o
f file
acc
esse
s
-10%
-8%±0%
IBM Software Group | Rational software
Performance (2/4) Modeling References command is now much faster
No longer searches in code snippets. (Use regular Search to do that, or the new command ”Code Snippet References”)
Removed obsolete preference in UML Development - Real Time
IBM Software Group | Rational software
Performance (3/4) Search results are now displayed incrementally
Faster feedback and possible to stop search before all matches have been found
Possible to limit number of matches in more placesNow supported also for Find NamedElement and Select Element dialogsHaving a limit set is recommended
to avoid getting too many matches for searches that are very generic (like '*')
IBM Software Group | Rational software
Performance (4/4) Recommendation: Turn off rich text editor unless you need it
Preference: Modeling - Text - Enable rich text editorThe rich text editor causes unnecessary delays for example when opening
diagrams and when clicking on diagrams in the Project Explorer. The performance gets worse if there are many fonts installed.
IBM Software Group | Rational software
Search New command ”Code Snippet References”
Available in context menu of Code View and Code Editor (but only when generated source code has been loaded)
Searches for the selected text in code snippets (workspace scope)
Similar to CDT's References command but will only find code references within the model (not those that are in external C++ code).
Search in Project scope now supported in Find/Replace dialogAlso works when selecting many elements from different projects
IBM Software Group | Rational software
Properties View Easier to define inline operations
New checkbox in property pages that show operations
IBM Software Group | Rational software
Project Explorer Now showing attribute multiplicity
Note that the multiplicity can be specified directly in the Project Explorer label when a new attribute is created
The statemachine is now shown immediately below a classNo longer necessary to scroll past all attributes, operations etc. to find it
IBM Software Group | Rational software
Diagram Editing (1/2) Sorting and filtering now supported for internal transitions
Individual transitions can be hidden by unmarking the checkboxTransitions can be individually sorted using the up/down buttonsAll transitions can be sorted by clicking the table columns
(Note: only the first event and port is shown there)
IBM Software Group | Rational software
Diagram Editing (2/2) Trigger ports can now be shown in diagrams
Controlled by new state chart filtering preference
Easier to move transitionsSupport for moving transitions using the keyboard (arrowkeys)In particular useful for reordering external self-transitions Note: As always when moving using the keyboard it's easy to reach the maximum
number of steps in the Undo/Redo stack (20)
IBM Software Group | Rational software
Compare/Merge (1/3) Support for transformation configurations
Note: One change in the TC editor sometimes causes multiple changes to the TC file. Switching to text compare/merge can bring more clarity in those cases.
IBM Software Group | Rational software
Compare/Merge (2/3) A dialog now lets you choose which RSARTE instance to use
for a compare/merge sessionUsed when starting compare/merge from outside of RSARTE (e.g. Clearcase
command line or script)Only appears if there are multiple RSARTE instances to choose fromWorkspaces are identified by means of the path to the workspace folder. You
may want to start RSARTE with the -showlocation flag to see the workspace folder in the RSARTE title bar.
IBM Software Group | Rational software
Compare/Merge (3/3) Better presentation of changes related to model references
The name of the supplier element is now presented for dependency changes
The event name is now presented for trigger changes
Note: These improvements work by storing additional information in the model files. The information is written the first time the model file is saved in CP4, and will then appear as a change if doing a Compare/Merge on that file version.
A new filter option has been introduced to be able to hide these changes.