Additional Add-Ins
This chapter contains information on the following add-ins:
- Rose Model Integrator Add-In
- ClearCase Add-In
- DDL Add-In
- CORBA Add-In
- Framework Add-In
- Apex Add-In (Not available for Linux)
Rose Model Integrator Add-InThe Rose Model Integrator Add-In lets you compare model elements from up to seven contributor files, discover their differences, and merge them into the base model. There are no new features for this release of Rose Model Integrator.
Known Model Integrator Add-In Problems and Limitations
The following table contains known Model Integrator problems and limitations in Rose for UNIX/Linux.
Fixed Model Integrator Defects in This Release
Fixed Model Integrator Defects in Service Release v.2002.05.01
Defect
Description
67981 Rose may crash when selecting 'NewDiagram' once an .mdl file merged by Model Integrator is loaded in Rose.
ClearCase Add-InNote: Prior to using the Rose for UNIX/Linux ClearCase Add-In, it is necessary to review and follow the steps outlined in the README file. Please see the rational_dir/releases/rose.I.J.K/addins/clearcase/README file.
The ClearCase Add-In provides a tight integration between Rational Rose and the Rational ClearCase version control system. This add-in is intended as a replacement for the ClearCase capabilities provided through the previous Rose/ClearCase integration. This has and will continue to allow Rational to provide more ClearCase specific customization to this add-in.
When performing ClearCase actions on a unit in a Rose model, the ClearCase Add-In will now perform CM status checking on all ClearCase elements within the model. This provides an opportunity to perform the same ClearCase action on any element which applies. When the ClearCase dialog is displayed, you will have an opportunity to perform the selected ClearCase action on any or all of the ClearCase elements presented in the dialog. The CM status checking which is performed to provide this new capability can at times seem lengthy if working with a large model. In this case, you may elect not to utilize this feature by placing the following in either your $USER.reg (applies to single user) or the rational_dir/releases/rose.I.J.K/registry/rose.reg file (applies to anyone using the release):
[HKEY_LOCAL_MACHINE\SOFTWARE\Rational /Software\Rose\AddIns\ClearCase\Custom Settings] "ShowAll"="No"Once the registry file is edited the user(s) should run rational_dir/releases/rose/I.J.K/bin/rose_cleanup and then run 'rose' for the change to take effect.
Known ClearCase Add-In Problems and Limitations
The following table contains known ClearCase problems and limitations in Rose for UNIX/Linux.
Fixed ClearCase Defects
The following table lists ClearCase Add-In defects fixed since the last release.
DDL Add-InThe Data Definition Language (DDL) Add-In release note contains known problems and limitations as well as fixed defects since the last release.
The gap between object technology and relational databases is closed by providing a mapping interface to relational databases through generation of persistent classes to Structured Query Language (SQL) and Data Definition Language (DDL).
You can find DDL Add-In release note information in the following locations:
- Known DDL Add-In Problems and Limitations
Known DDL Add-In Problems and Limitations
There are no known problems and limitations for the DDL Add-In.
CORBA Add-InRose CORBA Features and Enhancements
The Rational Rose CORBA add-in allows you to forward engineer Rose model elements into CORBA-compliant IDL code and reverse engineer CORBA IDL code into a Rose model.
In support of the CORBA 2.3 Specification, Rose CORBA implements the use of value types. Value types allow you to pass objects by value rather than by reference, which is particularly useful when an object's primary purpose is to encapsulate data, or when you want to explicitly make a copy of an object. Two CORBA stereotypes make use of this enhancement:
- CORBAValue
- CORBAFixed
Known CORBA Add-In Problems and Limitations
The following table contains known CORBA Add-In problems and limitations:
Fixed CORBA Defects in This Release
The following table shows the CORBA Add-In defects that have been fixed since the last release.
Defect
Description
65666 Incorrect package may be created under component view when RE a file that has include statement to other file.
70948 Incorrect IDL code generation for enums.
Fixed CORBA Defects in Service Release v.2002.05.01
Defect
Description
68178 Inheritance may be lost upon reverse engineering.
Framework Add-InThe Framework Add-In provides a library of frameworks that can be used as templates when creating new models. There are no new features or enhancements for this version of the Framework Add-In.
Apex Add-In (Not available for Linux)The Apex Add-In of Rose for UNIX/Linux provides direct access to the Compile and Control commands in Apex. It also works with language add-ins for Rose, including Rose C++, Ada 95, and Ada 83 Add-Ins, to create Apex subsystems and views during the code generation from the model to the source files of the specified language.
- It is required to run Rose inside an Apex shell window to use the Apex Add-Ins.
- If the Apex submenu is not in the Tools menu, select Add-Ins > Add-In Manager to make sure the Apex Add-In is activated.
The following information is also located in your Apex Add-In online documentation.
Apex Compile and Control Commands
The Compile and Control commands of Apex are directly accessible from Rose through the Tools > Apex menu. The Compile commands compile and link the source files, generated into Apex views via Apex Add-In, that correspond to the selected items in the diagram. The Control commands perform Apex source code control operations on the source files generated in the same way.
To use these commands, select Tools > Apex, and then select Compile or Control to get to the list of commands, respectively.
For the descriptions on these Apex commands, please consult the online help in the Apex windows.
Code Generation With Apex Add-In
In general, the code generation operation for a regular language Add-In is based on a directory structure where top-level packages, nested packages, and classes (or modules) are mapped, respectively, into directories, subdirectories, and source files in a hierarchical way. The operation can create such directories or subdirectories if they do not already exist, and then generate source files into these (sub)directories. This works with the regular source code control system and build management.
Apex has a different style of source code control and build management. An Apex project has a set of subsystems which contain the source files and subdirectories of source files for development. Each developer has his own views, one for each subsystem, which collectively reflect the source base the developer uses for the project. For this reason, Apex-style code generation is different from the regular style. From a Rose model, the top level packages will be mapped into subsystems and the associated views for the developers; the packages nested inside another package will be mapped into the subdirectories inside an Apex view, or a subdirectory already enclosed by a view; the classes (or modules) will be mapped into the source files inside the views or the subdirectories.
The Apex Add-In provides a mechanism for the user to select which of the two code generation styles to use. When the property CreateApexSubsystemAndView of the Apex tool set is set to "Yes", the code generation command for a language add-in will automatically create Apex subsystems and views for the top-level packages selected in the model, followed by the generation of subdirectories and source files into the views. If the property is not set to "Yes", the code generation command does the regular style of code generation.
The language add-ins that work with Apex Add-In include C++, Ada 95, and Ada 83.
Properties for Apex Add-In
Refer to the online documentation for a list of the properties used by the Apex Add-In for Apex-style code generation. Some are properties for the project, and the others for the subsystems in the model. The code generation command will use the combination of these properties when it needs to generate code into Apex subsystems and views.
All the properties except CreateApexSubsystemAndView will take effect only when the CreateApexSubsystemAndView property is set to "Yes" and when the selected item is a top-level package. When any of these properties are specified differently from their default value, the Directory property for the top-level package should remain as the default value.
Utilizing Apex Add-In on HP-UX and SGI IRIX
In order for Apex to generate subsystems correctly, it is necessary for "tmp-mnt" to be placed in the automount field of the Virtual Pathmap dialog box. The "/tmp-mnt" entry should be removed from the Virtual Pathmap dialog box when not using Apex.
Utilizing Apex Add-In on AIX
When using the Apex Add-In to create Apex subsystems and views on AIX, Rose for UNIX/Linux might run into a hanging state. If that happens, look for an Apex "Job Queue" window. In that window, select all the entries and click File > Run Job. This will resolve the "hanging" state and resume code generation.
Known Apex Add-In Problems and Limitations
The following table shows known defects in the Apex Add-In.
Rose Ada Defects Fixed in This Release
Fixed Defects in Service Release v.2002.05.01
Defect
Description
29061 Rose/Ada does not support RUP component view mapping.
Rational Software Corporation
http://www.rational.com support@rational.com techpubs@rational.com Copyright © 1993-2002, Rational Software Corporation. All rights reserved. |