Rational® XDE™ Service Release - .NET Edition

Release Notes

Version 2002.05.21 Release 2.1

January 27, 2003


Copyright © 2003 Rational Software Corporation. All Rights Reserved.

This documentation (the “Work”) is protected under the copyright laws of the United States and/or other jurisdictions, as well as various international treaties. Any reproduction or distribution of the Work is expressly prohibited without the prior written consent of Rational Software Corporation.


Scope

This document contains release notes specific to the Rational XDE v2002 Release 2.1 Service Release, which primarily provides improved integration with Rational ClearCase. This document is meant to supplement the Rational XDE v2002 Release 2.1 Release Notes, so please refer to both documents.

Note: This document is installed with the Service Release, to <XDE-install-directory>\xde_readme_vsnet_sr.html. To be sure you have the latest available information, Rational Software recommends that you check back for newer versions of this document at http://www.rational.com/support/upgrades/xde.jsp.

Contents

Hardware/Software Information
  Client Requirements
Features in this Service Release
  Team Development Guidance
   Composite Object Versioning Support
  Rational XDE Startup Behavior in a Rational ClearCase Environment
  Options Dialog Box Changes
  Cross-Model Indicators
Getting Started
  Installation Issues
  Identifying the Product Build ID
  Supported Configurations
  Installation Information
Compatibility Issues
  With Rational Products
Restrictions and Guidelines on Using this Service Release
  Compare and Merge
  Configuration Management
  Team Development
Defects and Changes
  Defects Fixed in this Release
  Known Issues in this Release
Contacting Rational Customer Support
Legal Notices

Hardware/Software Information

Client Requirements

This release does not support all the software and hardware configurations that Rational XDE v2002 Release 2.1 supports. Please read the following requirements carefully.

Hardware Requirements

This release has no additional hardware requirements beyond Rational XDE v2002 Release 2.1 (2002.05.20).

Software Requirements

Operating Systems

The following operating systems are tested and supported: 

  • Windows 2000 Professional, Service Pack 2 or Service Pack 3 (Service Pack 2 is recommended)
  • Windows XP Professional

In addition, both Microsoft Windows 2000 Server and Windows 2000 Advanced Server are supported.

Notes:

  • This Service Release does not support Windows NT.
  • Rational recommends that you have local administrator privileges when running Rational XDE. In addition, administrator privileges are required to install this Service Release.
Operating System Languages

Level 2 support for German, French, Italian, and Swedish. (Supports local character set or English in fields, forms and documents; supports locale-specific conventions for date/time formats, numbering, and currency.)

Level 1 support for Dutch, Hebrew, Japanese, Simplified Chinese, Traditional Chinese, and Korean.

Notes:

  • Certain software in this Service Release will not function if ClearCase view root and VOB directories contain 16-bit characters. Please see Internationalization in Known Issues.
  • Level 2 support for Japanese and Simplified Chinese is provided by Rational XDE v2002 Release 2.1, but not this Service Release.
Microsoft Visual Studio .NET You must properly install Visual Studio .NET, with .NET Framework Service Pack 1, before installing Rational XDE. If you have not yet done so, please refer to the specific platform requirements for Visual Studio .NET, which are available from Microsoft. See Installation Issues for information regarding other versions of Visual Studio .NET.
Internet Browser Internet Explorer 5.5, Service Pack 2, or higher must be installed on your system. However, you can use other browsers, such as Netscape 6.0, to view published models.
Web Publishing and Reporting Web publishing and reporting requires the Java Plug-in, downloadable from the Sun Web site at http://java.sun.com/products/.
Rational RequisitePro To use the Integrated Use Case Management (IUCM) integration of Rational RequisitePro and Rational XDE, you must have RequisitePro, Version 2002.05.20 installed on your system.
Configuration Management

Supports Rational ClearCase v.2002.05.00 and ClearCase LT v.2002.05.00, with patch levels as listed below.

ClearCase 4.2 and ClearCase LT v.2001A.04.00 have not been tested and are not supported.

Notes:

  • Since Visual SourceSafe and ClearCase use the Microsoft SCC interface, other configuration management systems that use the SCC interface may work with this same release of XDE, but they have not been tested. For further guidance, see Parallel Development with Microsoft Visual SourceSafe below, under "Restrictions and Guidelines for Using this Service Release."
  • This Service Release has not been extensively tested with dynamic views; Rational Software recommends using snapshot views with this Service Release where possible.

Prior to deploying this Service Release, your ClearCase installation must include all mandatory patches for your version of ClearCase. Current patch requirements are as follows:

  • For ClearCase LT v.2002.05.00, patch 2
  • For ClearCase v.2002.05.00, patch 15

To verify the latest patch information for your version of ClearCase, go to http://www.rational.com/support/downloadcenter/

To find out which patches your ClearCase installation has installed, use the cleartool -version command in a DOS command prompt window.

Features in this Service Release

Team Development Guidance

This Service Release includes documentation and tools to enhance your team development experience with Rational XDE. This content is installed into two new directories. These directories are created under the Rational XDE installation directory, which is typically c:\Program Files\Rational\XDE. The new directories are:

Walkthrough Documentation

The detailed walkthroughs demonstrate how to set up a combined Ratonal XDE and Rational ClearCase environment. These can be used as demonstration, evaluation, or learning exercises to understand the issues and procedures for setting up a combined solution. The scenarios cover base and UCM ClearCase integration with Rational XDE. There is also a summary document that describes the overall configuration options implemented by the scenarios.

If you use Rational XDE See
in any ClearCase configuration

Using XDE with ClearCase: Configuring Your Environment (summary-config.pdf) - This document summarizes the scenario setup environment when using Rational XDE with ClearCase. The recommendations include tool options and configurations.

with Base ClearCase and VS.NET Guidelines for Using Rational XDE and Base ClearCase with Microsoft VS.NET (xde_vsnet_baseCC.pdf) - This guide helps you set up and work in a scenario that demonstrates the team development capabilities of Rational XDE for Visual Studio .NET and base ClearCase.
with UCM ClearCase and VS.NET Guidelines for Using Rational XDE and UCM with Microsoft VS.NET (xde_vsnet_ucm.pdf) - This guide helps you set up and work in a scenario that demonstrates the team development capabilities of Rational XDE for VS.NET and UCM.

ClearCase XDE Type Manager Installer

The ClearCase XDE Type Manager Installer is an MSI installer that automates the setup steps required to properly configure the XDE Type Manager for ClearCase. This installer must be run on all client workstations. Note that the installation is triggered by XDE startup if it detects an improper Type Manager configuration. Additionally, UNIX versioned object base (VOB) repositories must be properly configured. For more information, see the Rational XDE Help topic "Comparing and Merging in ClearCase."

Composite Object Versioning Support

Rational XDE supports dividing models into multiple physical files, called subunits. This capability is very useful in allowing multiple users to modify various parts of the model concurrently. However, since modifications in one part of the model can result in modifications in other parts of the model, it is important that all related modified units be synchronized and managed as a single logical unit for configuration management purposes at key delivery points into configuration management (CM).

Prior to this Service Release, there was no automated support for treating models as a composite object. This Service Release introduces composite object versioning (COV) operations that facilitate the management of a model and all subunits in it linked to user gestures that perform various CM operations.

The general purpose of COV is that operations performed on a single or subset of subunits expands to include the entire file closure of the model. For example, if you have a model with two classes, class1 and class2, which are both stored as separate subunit files (class1.clx and class2.clx), and both class files are checked out, and you attempt to check in just class1, the checkin automatically expands to include both class1 and class2.

COV is turned off for models that are not open (not visible in the Model Explorer). If a model is not open, checkin operations behave as they did prior to this Service Release; that is, the checkin will apply only to the selected subunits and will not expand.

COV applies within a single model only. Operations do not expand across cross-model references to include all the referenced models.

The CM operations include: checkout, checkin, undo-checkout, update, and add-to-source-control. Differences between these operations as launched from the Solution Explorer rather than from the Model Explorer are also included.

Initial Checkin (Add to Source Control)

Operations that generate new subunits are collected in the pending checkins window. An alternative to using COV, in general, is to use the pending checkins window to provide the composite object semantics. Checking in new units that are view-private from the Pending Checkins window has the same effect as the COV pathway for the model and the subunits in the model folder. If you attempt to check in a single unit from the Model Explorer or Solution Explorer, the COV second dialog box appears and commits the entire set of units to the VOB.

Check Out

Check out is unaffected by these changes. Users can check out individual unit files without any expanding behavior. Check out remains fine-grained and unchanged from Rational XDE v2002, Release 2.1.

Undo-checkout

Undo-checkout is unaffected by these changes. Users can undo the check out of individual unit files without any expanding behavior. Undo-checkout remains fine-grained and unchanged from Rational XDE v2002, Release 2.1.

Check In

The units you request are checked in first. Then, files are examined for closure, including any units either not already in source control or checked-out, and these are listed in a second dialog box and automatically added to source control (view-private units) or checked in. You cannot interrupt or cancel operations performed while the second dialog box is displayed.

Updating

In general, updating single model files or small sets of subunits is not recommended. This practice can lead to root nodes being loaded that have dangling references to missing subunits, or other model data representation issues. Therefore, COV has been extended to ensure that an attempt to update part of the model results in the entire model being updated.

To perform an update, click Get Latest Version on the shortcut menu after right-clicking an element in the Model Explorer. An attempt to get the latest version of a single unit expands to include the entire model. The trigger to expand, however, is conditional on the requested operation to get the latest version actually saving an updated version into the view. If the version in the view is the same after the operation, the COV functionality will not expand the selection and no other dialog boxes will be presented, even if there are newer versions of other units elsewhere in the model hierarchy. When an update occurs, the additional units are updated silently. You are only notified if models have to be reloaded, if they are currently open in the IDE, and they were updated on the file system.

Rational XDE Startup Behavior in a Rational ClearCase Environment

In this Service Release, the Rational XDE startup process has been modified to perform a number of checks and enhancements to allow multiple-view, team-oriented development to occur with less manual intervention. When Rational XDE is integrated with Rational ClearCase, the following additional functions are performed when XDE is started:

  1. ClearCase version and patch-level checking. Rational XDE ensures that the configuration conforms with the ClearCase specifications in Software Requirements.
  2. Dynamic update of registered locations. XDE startup now changes the paths for all your registered locations to point to the ClearCase view selected when you start XDE. Selecting the view is done implicitly, by association with the solution you open. This prevents cross-model references from referencing into a view other than the one in which you are currently working.
  3. VOB-level registered locations. XDE startup now creates registered locations at the root of each VOB you are using. These registered locations are preserved across views and computers, and are completely auto-managed. Any references that would be broken as these locations are moved between views and computers will automatically be repaired. XDE startup maintains a VOB attribute type object named “ratl_comp_root” with an instance that is attached to itself to track the identifier for the registered location. This attribute is a string attribute with valid values being GUIDs that allow the regeneration of .ratl_comp_root files stored as view-private files at the VOB root directory.
  4. Type manager checking. It is important that model files be compared and merged only with the XDE compare/merge capability. This requires both client and VOB-side setup of ClearCase files and VOB objects to install XDE compare/merge as the ClearCase Type Manager for all the Rational XDE file artifacts. XDE startup has been modified to check both the client-side and VOB-side configurations. If the client is not correctly configured, an automated installer is launched to perform the required setup. If the VOB side is not configured, users see a message indicating that the VOB administrator must do the necessary configuration to install the required VOB objects before they can proceed.

Options Dialog Box Changes

The following changes have been made to the pages in the Options dialog box.

Rational XDE, File Storage
Rational XDE, Location Registry
This page has been removed because XDE no longer automatically creates a registered location for each IDE project. Instead, XDE startup has been modified to automatically manage VOB-level registered locations when ClearCase is present.

Cross-Model Indicators

While viewing diagrams within models, it is important for the user to easily determine whether or not the model elements residing in one model have external references to different models. In this Service Release, these cross-model references are now indicated with an overlaid arrow glyph. This will aid the user in understanding the dependencies between models and the implications resulting from modification of these references.

Getting Started

Installation Issues

Operating Systems and Languages

ClearCase Integration

PurifyPlus

Identifying the Product Build ID

To determine the build ID of Rational XDE that you currently have installed, run the Rational Software Installed Product Information utility by clicking Start > Programs > Rational XDE release-name > Rational Software Installed Product Information.

Supported Configurations

This Service Release can be applied to build 2002.05.20.516.009 of the following editions. Do not apply this patch to any evaluation versions of XDE.

This Service Release does not support the Japanese-language version of the above editions, specifically:

Do not apply this Service Release to any evaluation versions of XDE.

Installation Information

The Rational XDE Service Release will only install on computers with Rational XDE v2002, Release 2.1 running on Windows 2000 or higher. If the Service Release installer is run on a machine that does not meet these requirements, the install will abort. The installer will automatically detect your Rational XDE installation and configure itself for the requirements of that installation.

To install the Service Release:

  1. Close all applications that are running, especially any version of Rational XDE.
  2. Ensure that you have administrator privileges on the system where you are installing the Rational XDE 2.1 Service Release. You will not be able to complete installation if you are logged in with a userid that does not have full administrative access.
  3. Double-click the RationalXDESR_2002_05_21_516_036.exe file that you downloaded.
  4. Click Next to bypass the welcome screen.
  5. Read the License Agreement and indicate acceptance using the appropriate option button.
  6. Click Next to continue or Cancel, if you do not accept the terms of the agreement.
  7. Acknowledge the installation by clicking Next in the Summary dialog box.
    Installation continues until all files and components have been copied and registered to your system.
    Note: Rational XDE online Help is installed as the last step in the installation process. The process may seem to stop for up to 2 minutes while this is happening.
  8. A reboot of your computer may be required.
  9. Start Rational XDE.

Determining Whether the Service Release Has Been Installed

You can determine whether this Service Release has been installed by using the Add/Remove Programs utility. The Rational Software Installed Product Information utility does not provide this information.

To determine whether the Service Release has been installed:

  1. From the Start menu, open the Control Panel and click Add/Remove Programs.
  2. Scroll the list of programs and look for "Rational XDE 2.1 Service Release."
    If this program is listed, the Service Release is installed.

Removing a Service Release

You cannot uninstall just the Service Release from your system. To roll back your system to a version of Rational XDE without the Service Release, first uninstall the Service Release, then uninstall Rational XDE, then reinstall Rational XDE. Uninstalling the Service Release without uninstalling Rational XDE is not supported.

Note:

Follow these instructions to fully uninstall the Rational XDE 2.1 Service Release:

  1. From the Start menu, click Settings > Control Panel.
  2. Double-click the Add/Remove Programs icon.
  3. Select the Rational XDE 2.1 Service Release program and click the Change/Remove button.
  4. Click OK to remove the Rational XDE 2.1 Service Release program.
  5. Click the Finished button to complete the uninstallation.
  6. Return to the Add/Remove Programs applet and uninstall Rational XDE.

Note:
Uninstalling Rational XDE will generate many errors that can be safely ignored. These errors are generated because uninstalling the Service Release removed many of the files the uninstall application is attempting to remove.

Compatibility Issues

With Rational Products

Rational XDE with Rational ClearCase

Rational Software recommends using snapshot views when using Rational XDE with ClearCase; this Service Release has not been extensively tested with dynamic views.

If you are using Rational XDE together with ClearCase, you must rebase any streams before uninstalling Rational XDE.

Rational XDE with Rational PurifyPlus

If you are using Rational PurifyPlus integrated with Microsoft Visual Studio .NET, uninstalling this Service Release will disable PurifyPlus. For the solution, see Installation Issues.

Restrictions and Guidelines on Using this Service Release

Compare and Merge

Delivering Elements of Same Name Results in Duplicate UML Elements Under ClearCase

After a rebase or deliver operation with identical changes made to the same the UML model subunit by multiple users, duplicate UML elements occur in the resulting model.

For example, if two users add a class with the same name inside a namespace in the model in their respective views, the Compare and Merge tool merges these elements automatically and the resulting model contains duplicate classes. The Validate model command will then generate an error:

More than one Class in Package<<namespace>> "ClassLibrary1::ClassLibrary1" has name "Class1".

If you synchronize or generate code, you get a task item:

Ignoring duplicate names (ClassLibrary1.Class1) found in the scope of a model element of type IUMLModel!

Similar situations can arise with any UML element nested inside a namespace or a class. For example, the resulting model may have a duplicate attribute in the merged class. 

Resolution: You need to remove the duplicate in the model. The task item generated by the RTE command lets you browse to the model parent of the duplicates. For example, in the case of duplicate attributes in a class, clicking the Browse Model command will select the class in the model explorer.

Changes to the Same UML Model Subunit by Multiple Users May Result in a Property with Duplicate Accessors

Similar to the issue above, when two users make changes to the same property, the source-control tool may merge the elements automatically; the resulting model may contain a property with two getters or setters. The Validate model command will then generate a warning:

Operations “Property1([retval]int)” in classifier “Class1” have conflicting signatures.

If you subsequently initiate a Synchronize or Generate Code operation, you will receive a task item:

Ignoring duplicate names ([get]Class1.Property1) found in the scope of a model element of type IUMLAttribute!

Resolution: Manually delete the duplicate dependency and the get operation from the model, and then synchronize the project.

Compare/Merge Does Not Clear Ancestor Information and Merge Conflicts Are Generated

If there are conflicts in a model element during merge, the Compare/Merge session may also show a conflict in the Ancestor property.

Resolution: It is safe to ignore this conflict. After the merge is complete, the Ancestor property is cleared.

Multiple Properties of Same Name in the Model Under ClearCase

The following scenario demonstrates how multiple properties can occur in the model.

  1. Two users rebase to a class, named c1, in the model.
  2. The first user adds a property with an associated field to class c1, named p1, and then synchronizes. 
  3. The second user adds a property with an associated field to class c1, also named p1, and then synchronizes. 
    In both cases, code templates attached to the property accessors expand in the source code.
  4. The first user delivers her changes, and the second user rebases to these changes.
  5. The second user receives a merge conflict in the source for class c1, which he resolves by choosing the source corresponding to the property p1 he had added. 
    The model, however, merges automatically, and the resulting model will have duplicate properties both named p1 in class c1.
  6. The second user then chooses property p1, which he had added, because he had chosen the source corresponding to this property. 
  7. If he instead chooses property p1, which the first user had added, then the code template attached to this property will not match the source code and on code generation there will be duplicate code template expansion.

Resolution: When similar merge conflicts arise, choose the property that matches the code template expansion in the code.

Configuration Management

Parallel Development with Microsoft Visual SourceSafe

If you configure a Microsoft Visual SourceSafe database to allow multiple checkouts, Rational Software recommends that all of the Rational XDE model file extensions be registered as binary file types with Visual SourceSafe prior to any files being added to a Visual SourceSafe database.

To do this, use either the Visual SourceSafe Administrator or Visual SourceSafe Explorer. Use the following procedure:

  1. From the Tools menu, click Options.
  2. Click the File Types tab.
  3. In the Binary files text box, append the following to the list of binary file types:

, *.mdx, *.agx, *.acx, *.clx, *.cbx, *.cix, *.cmx, *.cnx, *.dgx, *.enx, *.inx, *.iix, *.ifx, *.ndx, *.nix, *.obx, *.pkx, *.sgx, *.smx, *.ssx, *.ucx

If there are pre-existing Rational XDE files in the database prior to performing this configuration, it is necessary to locate all the pre-existing artifacts in the SourceSafe Explorer and change their type to Binary manually via the properties of the file after the extensions are registered.

The effect of this registration process is that textual merge will never be performed on the XDE files. This is the desired result as only the XDE Compare/Merge facility will produce correct compare or merge results for XDE models. Files that are registered as binary will not permit multiple checkouts even if the SourceSafe database permits this for nonbinary file types.

Note: It is important that Visual SourceSafe administrators check this setting using the Administrator applet, but end-users should also check this setting using the Explorer.

Rerunning the ClearCase XDE Type Manager Installer to Support New VOBs

With this Service Release, XDE performs a check upon startup to determine whether you are using ClearCase as your source control provider, and whether ClearCase has been configured to use the XDE compare/merge function as the Type Manager for XDE model files. If this configuration is needed, you are prompted to install the ClearCase XDE Type Manager.

If ClearCase is reinstalled or a new VOB is added, then the ClearCase XDE Type Manager installer must be run again. However, before you can run the installer on the same machine again, you must first uninstall the ClearCase XDE Type Manager, and then reinstall it. As an alternative to uninstalling and reinstalling the ClearCase XDE Type Manager installer, you can choose to run the underlying script at:
<ClearCase-install-directory>\etc\utils\install_xde_eltype.bat.

Locating the XDE ClearCase Type Manager Installer Upon Startup Error

Upon startup XDE may display errors that require running the XDE ClearCase Type Manager installer.

Creating an Initial Registered Location Before Starting Rational XDE

For users of Rational XDE Modeler v2002 integrated with Rational ClearCase, creating an initial registered location before starting XDE will improve configuration of your development environment.

Recommendations for Working with Hijacked Files

Files are considered "hijacked" when they are in a ClearCase snapshot view and have been made editable without being checked out. In some cases, it is customary to check out the required files before disconnecting from ClearCase; however, it is not always possible to determine all the files that are required. Hijacked files are the solution to this problem. When a file is required that has not been checked out, operation systems or IDE tools can be used to make the file editable. When the ClearCase connection is re-established, these hijacked files can be converted into checked-out files.

Note: Visual Studio.NET, and the Microsoft Source Code Control Interface, do not recognize
hijacked files. As such, it may be difficult to visually distinguish between a checked out and a
hijacked file in the IDE.

It is recommended that you check out only the files that you need. If new files need to be modified, you will need to hijack them when disconnected. Prior to reconnecting to the ClearCase server, make sure that all your XDE models are closed and XDE is closed. You can reconnect to the ClearCase server using the appropriate method for your edition. Once you are reconnected, it is important to update your view in order to convert any hijacked files to checked out files. Then restart XDE and reopen your models.

For information about a related known issue, see "Hijacked Files Still Shown as Source Controlled," defect ID 510188.

Delivering UCM Activities

Use the following general procedure to perform a UCM delivery when using hijacked files.

  1. Prior to any UCM rebase or deliver operation, it is recommended that you close any affected XDE model. This ensures that any modifications to the files are not affected by XDE detecting the changes.
  2. Rebase either from the IDE or from other ClearCase tools, such as ClearCase Explorer. By doing a rebase operation before a delivery, you reduce the risk of problems being discovered in the integration stream.
  3. Once the rebase is done, open your model and ensure everything is still working properly. Correct any issue found during the rebase.
  4. Close the XDE models and XDE, then deliver your activities. Do not complete the delivery if you are going to verify the delivery.
  5. Restart XDE, specifying the integration view, and verify the delivery. If there are any problems found in the integration stream, cancel the delivery and switch back to the development stream before correcting the issues.
  6. Once you have verified that the integration view works properly, exit from XDE.
  7. Complete the delivery.
  8. You can now restart XDE and keep on working on new activities in your development view.

Rational ClearCase and XDE Guidelines

Recommendation for Teams Using Integrated Use Case Management (IUCM) with RequisitePro and XDE

Some teams that use Integrated Use Case Management (IUCM) can improve their multi-user compatibility by establishing a PathMap for both RequisitePro projects and XDE models. Consider following this guideline if your team uses IUCM with Rational RequisitePro and Rational XDE, and also meet any of the following criteria:

If your team is a candidate for establishing a PathMap for RequisitePro projects and XDE models, see the information about establishing a PathMap in the Integrated Use Case Management online Help.

Note: Rational ClearCase UCM users should be aware that, typically, you do not need to invoke the RequisitePro-XDE integration from your Integration view, only from your Development view. However, if you must invoke the integration from your Integration view, then you will need to manually update your PathMap to accurately reflect the location of the model you want to work with in your Integration view. Additionally, note that the Help is inaccurate when it states that the PathMap topic applies only to Rational Rose. In fact, PathMaps are also used for the RequisitePro-XDE integration.

Team Development

Intermodel Relationships Resolve Using an Absolute Path

An intermodel reference stores a path from a client model to a supplier model. The reference is stored in the client model file. This reference can be either of the following:

The walkthrough documents provided with this Service Release describe the scenarios in which absolute and location-relative paths are appropriate.

You can use the following steps to convert absolute model references to location-relative model references:

  1. Make sure that the references of the client project to supplier projects within the same solution as the client project are all project references and not assembly references. Reference by assembly to projects within the same solution is not supported.
  2. Find or create a directory within a ClearCase VOB that can contain the model.
  3. Close all supplier models with references stored as absolute paths.
  4. Use the Source Control Toolbar to run ClearCase Explorer.
  5. For each supplier model, rename the supplier model parent folder. That is, if P1 was the path of a supplier model, now it is renamed to P2.
  6. Check out the client model.
  7. Select the client model and, from the Modeling menu, click Check External References, and then click Resolve.
  8. For each supplier model referenced by an absolute path, choose the new location (P2) of the supplier model.
  9. Click Apply to make all references to supplier models relative to the newly registered location. You will need to check out the client model.
  10. Again, use the Source Control Toolbar to run ClearCase Explorer.
  11. For each supplier model, rename the supplier model parent folder back to its original name. That is, change P2 back to P1.
  12. Select the client model again and, from the Modeling menu, click Check External References, and then click Resolve.
  13. Fix each supplier model with a broken reference by pointing the model to its original path (P1).
  14. Select the model and, from the Modeling menu, click Check External References, and then click Details. There should be no reference to supplier models by an absolute path. Check in the client model.

Model Must Be Checked Out When Adding a Property with Associated Field

If a new property with an associated field is added to a class or interface, then the model root must be checked out even if the class (or interface) was in a separate subunit than the model. This will happen only the first time a property is added to that model.

Resolution: One-time checkout and update of the model (.mdx) file is required. Future associated fields can be added without checking out the model root.

Using a Different Assembly Model than that Being Referenced by the Client Model

You may want to use a different version of an assembly model that is referenced by the client model.

Resolution: Perform the following procedure.

To change referenced assembly model

  1. Make sure that all intermodel references are relative to a registered location. See Intermodel Relationships Resolve Using an Absolute Path.
  2. Close the currently referenced assembly model and move it to a different path so that the intermodel reference from the client model no longer resolves.
  3. Use the External References dialog box to resolve the intermodel reference to the new assembly model.
  4. Move the old assembly model to its original path so that references from client models, which still use the old assembly model, do not break.

Setting Up Team Sharing of Assembly Models

A project lead or manager may want to set up team sharing of assembly models. The assembly models are created in a registered location pointed to by the RTE User Models location registry entry. Assembly models get created by default in this registered location. A team may want to share their assembly models.

To share assembly models in a configuration management environment

  1. Using the location registry, change the path of the RTE User Models location to a controlled folder. This path would be specific to the current ClearCase view.
  2. If there are existing client models that reference assembly models to be shared, move and control these assembly models inside this location.
  3. Change the intermodel references from existing clients to point to the assembly models in the new location.
    See Using a Different Assembly Model than that Being Referenced by the Client Model, above.
  4. Upon XDE startup, the location registry will be changed for the user automatically.

Diagrams Show Unresolved Relationships in an Imported Model

Diagrams show unresolved relationships (with an X on the relationship) after updating imported models. After changing a reference to an updated supplier model, diagrams stored in the client model have relationships between the imported model's model elements that will not resolve. These relationships may be associations, generalizations, or realizations between classifiers of the imported model. This can happen after executing the steps described above in Intermodel Relationships Resolve Using an Absolute Path.

Resolution: Delete the unresolved relationship on the diagram and then recreate it by showing the appropriate relationship connector of the owning classifier. (Use Add/Remove Connectors on the shortcut menu.)

Sharing an Assembly and Its Associated Code Model as a Reference Model

You may have a project code model that you want to share as a referenced assembly model for other code models.

To share a code model as a reference model

  1. Open the synchronized supplier project containing the code model to be shared and build the project.
  2. Find or create a directory within a ClearCase VOB to share the assembly and implementation model.
  3. Copy the assembly and the code model into the new location.
  4. Open the code model in the shared location and convert to an assembly model: Using model properties, set IsImplementationModel = False, change the stereotype on the model to «Assembly», and set SynchronizationPolicy to Accept Code Changes.
  5. Save and check in the supplier model.
  6. Open a client project and synchronize, if needed, to update the client model.
  7. Add project reference to the supplier assembly .dll.
  8. Add an access relationship from the client model to the supplier assembly model: On a diagram in the client model, drop the references package and the assembly model. Add an access relationship from the references package to the assembly model (access relationship is in the Toolbox).
  9. Synchronize the client project.

You can now start using the assembly model elements for modeling your client application.

Sharing a Collection of Assemblies and Their Associated Code Models as Reference Models

To share a collection of assemblies and their code models as reference models

  1. Follow the steps in Sharing an Assembly and Its Associated Code Model as a Reference Model above to collect all of the assemblies and models into a single common directory.
  2. Follow the steps in Intermodel Relationships Resolve Using an Absolute Path to connect the new assembly models to each other.

Using Project References for Projects in the Same Solution

Use Project References (not assembly references) for projects in the same solution. Make sure that the references of the client project to supplier projects within the same solution as the client project are all project references and not assembly references. Reference by assembly to projects within the same solution is not supported.

Defects and Changes

Defects Fixed in this Release

The following table is a summary of defects fixed in this release. For more details, click a category or defect ID.

Category

ID

Summary

Compare/Merge
45473

Action sequencer problem introduced.

46287
Compare/Merge performance improvements for multiple units.
231646

Some RTE Tag Value Sets not generated in the merged model.

365915

Saving merged model crashes Rational XDE.

599185

Incorrect order of added elements.

Configuration Management

46469

Subunit directories left checked out.

46732
XDE-ClearCase Composite Unit Operations Support

54381

Multibyte characters displayed incorrectly in Set Activity ID dialog box

510494
Updating a Model Does Not Bring in Any New Files/Folders
510545
Composite Object Versioning (COV) Does Not Operate When Keep Checked-out on VS.NET
Round-Trip Engineering
47507,
47552
Browse Model Command Fails
47643,
47965,
47966
Editor Windows Opened and Closed Upon Command Execution
47673,
47674
Synchronizing a C# Project Encounters Conflicts for Class Constructors with Initializers
47690
Reside Relationship Not Removed in Multiple Synchronizations of a Project
47886,
56047
Parser Errors Encountered While Synchronizing VB.NET Code
48051
XDE Does Not Create Relationships to Objects Within the Assembly CrystalDecisions.CrystalReports.Engine.dll
48672
Explicit Operator Does Not Synchronize Properly on Second and Subsequent Synchronizations
48789
Type Picker Needs to Show the Classes/Delegates in Non-VSRTE-Stereotyped Packages
General XDE

46296,230617

Storage Unit Reference Repair Is Broken

46505

Elements Disappear from the Model Explorer on Undo Checkout
230681
Copy and Paste Breaks Element References

230720, 230672

Package Does Not Expand When There Is a Zero-Length Unit
231979
Printing Diagrams on a Single Page
232035
Broken Diagram Results When a Checkout or Activity Dialog Box Interrupts Creation of the Diagram
232106
Error When Resolving References to Component Without Location Registry Entry
232598
Moving Sequence Diagram Components in Zoom-Out Magnification Causes Data Corruption of Diagram
232920
Package Renamed in the Model Explorer Not Updated in Diagram Window
233712
Error on Saving Updated Subunits When Parent Is Unchanged
599277
Rose Diagrams Appear Distorted When Imported to XDE

599861

Find: Modeler error when finding elements on the drawing surface with unresolved note

The following table provides more details about the defects fixed in this release.

Category

ID

Description

Compare/Merge

45473

Action Sequencer Problem Introduced

Applies To: Users of Professional and Modeler editions of Rational XDE v2002 who installed an earlier hotfix released as ratlc000365915_msmrgeng.zip.

A model with the following example configuration exists:

Mode
    Package1
        Class1
    Package2

The model is changed to the following configuration:

Mode
    Package2
        Class1

If a compare and/or merge of the two models is attempted, Class1 will not be added to the merged model because Compare/Merge does not recognize that the move of Class1 occurred before its previous package was deleted. With this Service Release, Class1 will be added properly to the merged model.

46287

Compare/Merge Performance Improvements for Multiple Units

Applies To: Users of Rational XDE Professional v2002.

Merge sessions involving a large model with a large number of subunit files take an inordinate amount of time to complete. With this Service Release, the time taken is greatly reduced.

231646

Some RTE Tag Value Sets Not Generated in the Merged Model

Applies To: Users of Professional and Modeler editions of Rational XDE v2002.

When starting a merge session on Java models or C# models, some RTE Tagged Value Sets (e.g. “Merge”) will not be generated in the merged model. These Tagged Value Sets are used by the language add-ins while generating the code from the merged model. This Service Release restores the generation of the missing Tagged Value Sets.

365915

Saving Merged Model Crashes Rational XDE

Applies To: Users of Professional and Modeler editions of Rational XDE v2002.

If a new local style gets added to a model element on a diagram, and a new local reference gets added to the same style within the model element, the user may see a stack overflow error message when a Compare/Merge session is initiated. For example, this problem may occur if you change a diagram’s view/print properties. Wtih this Service Release, the stack overflow problem no longer occurs.

599185

Incorrect Order of Added Elements

Applies To: Users of Professional and Moderler editions of Rational XDE v2002.

A model with the following example configuration exists:

Model
    Class1
        Operation1
            Parameter1
            Parameter2

Make a change to the model that results in the following configuration, and do a compare and/or merge of the two models:

Model
    Class1
        Operation1
            ParameterA
            ParameterB
            ParameterC

In the example used in the above use case, Parameter1 and Parameter2 are deleted and ParameterA, ParameterB, and ParameterC are added as expected. However, the order of the parameters added is not preserved and ParameterB and ParameterC are stored in reverse order. In general, this defect will manifest itself when one or more elements in a collection (classes in a package, operations in a class, etc.) have been deleted in one Compare/Merge contributor, and more than one element has been added at the same location, unless other rules (such as parameter name matching) are in effect. Although the order of the parameters is incorrect, no data is lost.

With this Service Release, the order of the newly added parameters will be preserved in merge sessions.

Configuration Management

46469

Subunit Directories Left Checked Out

Applies To: Users of Professional and Modeler editions of Rational XDE v2002 who use the ClearCase Plugin v1.3.0 with XDE.

Steps to Reproduce the Problem

  1. Create a new subunit in an XDE package that is already under source control.
  2. Add the new subunit to source control and leave the “Keep checked out” option selected.
  3. After making changes to the subunit, a subsequent checkin operation does not check in the parent directory of the subunit.

This Service Release will ensure that the parent directory of a newly added model subunit does not appear in the list of units to be added to source control and, therefore, the user will not be able to choose to keep the directory checked out. The directory will be added to source control and will be checked in.

46732

XDE-ClearCase Composite Unit Operations Support

Applies To: Users of Professional and Modeler editions of Rational XDE v2002.

Changes to the model that resulted in multiple, related control units being checked out, but only part of the model was checked in, encountered errors when loading the model in a second view. In a single development stream, checking in partial models results in other users seeing partial changes leading to model corruption. This can also occur in private streams if changes are delivered piecemeal to a shared (integration) stream.

Steps to Reproduce the Problem

The user will have made changes to the model that resulted in multiple, related control units being checked out.

  1. With multiple control units checked out, check in a single element having references to other, new parts of the model (do not check in these new parts).
  2. From another view, update the model.
    The model is now inconsistent in the second view as some files are missing. This is the result of the model having been placed in ClearCase in an inconsistent state.

Common Symptoms

Errors are seen when loading the model in a second view. The model may not load under certain circumstances. Changes are lost.

Solution

This Service Release adds functionality to help ensure the model is placed under ClearCase control in a consistent manner. When working with Rational XDE Professional v2002: .NET Edition, a second dialog box for the same operations (checkin, add to source control, update) opens, advising you that more files are being acted upon in order to maintain model consistency. For more information, see Composite Object Versioning Support.

54381

Multibyte Characters Displayed Incorrectly in Set Activity ID Dialog Box

Applies To: Users of Professional and Modeler editions of Rational XDE v2002 who use the ClearCase Plugin v1.3.0 with XDE.

Steps to Reproduce the Problem

  1. In a project, check out a file in a UCM view. For that checkout, create a new activity whose name includes multibyte characters.
  2. Select the project and click ClearCase > Set Current Activity.

You will see incorrect characters in the pull-down activity menu.

Solution

This Service Release ensures that multibyte characters are displayed correctly.

510494

Updating a Model Does Not Bring in Any New Files/Folders

Applies To: Users of Professional and Modeler editions of Rational XDE v2002.

Updating, or getting the latest version of an XDE model element only updates the control unit of the selected element . This results in inconsistent models in memory and broken links to items that should be present or <<Fail to get name>> instead of a model element name.

Solution

The new composite object versioning (COV) functionality ensures that not only the model, but its associated folder are affected by an update or get latest version operation. In the case of the associated folder, the update is done recursively. The model then reloads to bring in all the new elements. This ensures that the model is consistent both under source control and in memory.

Note   In the case where a first package is added, the COV functionality will not be able to update the folder associated with the model as it does not yet exist in all views. If you encounter this scenario, it is recommended that the complete view be updated. This will occur at most one time for each model. Creating subunits upon creation of a model that will be shared between users will alleviate this latter issue.

510545

Composite Object Versioning (COV) Does Not Operate When Keep Checked-out on VS.NET

Applies To: Users of Rational XDE Professional v2002.

The Composite Object Versioning (COV) functionality does not operate when a checked-in file is kept checked out.

Solution

The COV was updated to detect this new condition and to properly check-in the other control units. 

Note   Other control units remain checked-in; only the selected control unit(s) remain checked-out after processing. This approach ensures the minimum intrusion of the COV in daily operations.

 
Round-Trip Engineering

47507,
47552

Browse Model Command Fails

The command Browse Model on a VB.NET "Property" with parameters or a VB.NET "Enum" fails to take you to the model.

Solution

With the Service Release, you can browse to the model from a VB.NET property with parameters or a VB.NET Enum.

47643,
47965,
47966

Editor Windows Opened and Closed Upon Command Execution

Editor windows are opened and closed during the execution of a Round-Trip Engineering command (Synchronize, Reverse Engineer, Generate Code, Browse Code).

Solution

With the Service Release, windows are no longer opened and closed during the execution of the command (other than the Browse Code command, which opens the corresponding code window).

47673,
47674

Synchronizing a C# Project Encounters Conflicts for Class Constructors with Initializers

Preconditions

You have the conflict resolution option set to Leave unresolved. You can access this option by clicking Tools > Options > Rational XDE > Round-Trip Engineering.

Problem

When synchronizing a C# project in XDE v2002 Release 2.1 that was already synchronized using XDE v2002 Release 2.0 and contains class constructors that have initializers, a RTE-conflict TaskItem is logged. The TaskItem states  "Code and Model items changed differently for field ConstructorInitializer".

Solution 

With this Service Release, no conflict is encountered and model is updated correctly.

Problem

Synchronizing with conflict resolution option set to Always replace code causes problems for the class constructors with initializers.

Solution

With this Service Release, the constructor initializer is removed from code as expected.

47690

Reside Relationship Not Removed in Multiple Synchronizations of a Project

When the code and model are in a synchronized state, if a class is moved from one file to another file, the next synchronization of the project does not remove from model the previous Reside relationship which points to the class from the component representing the previous file.

Solution

With this Service Release, next top-level synchronization (i.e., from the project in the Solution Explorer or the code model in Model Explorer) removes the invalid Reside relationship.

47886,
56047

Parser Errors Encountered While Synchronizing VB.NET Code

Problem

Synchronizing VB.NET code that uses commas for optional arguments at the calling side causes a parser error.

The following code demonstrates the problem:

Public Class Class1
Public Sub Hello(ByVal Arg1 As String, _
Optional ByVal Arg2 As Integer = 0, _
Optional ByVal Arg3 As Boolean = False)
End Sub
Public Sub World(ByRef P1 As Object)
Me.Hello("World", , )
End Sub
End Class

Solution

With this Service Release, the parser recognizes this code correctly.

Problem

Synchronizing VB.NET code that uses the "Static" modifier for a variable inside a method/property body causes parser error.

The following code demonstrates the problem:

Public Class Class1
Public Sub Sub1()
Static Foo As Integer
End Sub
End Class

Solution

With this Service Release, the parser recognizes this code correctly.

48051

XDE Does Not Create Relationships to Objects Within the Assembly CrystalDecisions.CrystalReports.Engine.dll

Problem

XDE does not create relationships to objects within the assembly CrystalDecisions.CrystalReports.Engine.dll due to one or both of the following:

  • XDE expected the top-level classes in assemblies to have "empty" namespaces instead of "null".
  • The project does not reference the dependent assembly CrystalDecisions.Shared.dll.

Solution

XDE now accepts top-level all types of classes in assemblies. This resolves the first issue above. However, to entirely remove the problem, you must ensure that whenever the assembly CrystalDecisions.CrystalReports.Engine.dll is added is a reference, CrystalDecisions.Shared.dll is also referenced.

48672

Explicit Operator Does Not Synchronize Properly on Second and Subsequent Synchronizations

Problem

In C#, if there is a struct with an "explicit operator" or "implicit operator", the second synchronize gives error message or in some cases causes XDE to crash. This is due to  XDE not capturing all the necessary information from the code during the first synchronize. This happens only in the case of explicit and implicit operators contained within a struct (already works correctly in all other cases).

Solution

XDE now correctly synchronizes C# implicit and explicit operators contained in a struct, the first time itself.

48789

Type Picker Needs to Show the Classes/Delegates in Non-VSRTE-Stereotyped Packages

Problem

The Type Picker dialog box does not display classes placed in packages without a stereotype (i.e., virtual packages). This was originally by design. All packages not having the stereotype "namespace" were ignored when the type tree was being populated.

Solution

The contents of these packages are now displayed in the dialog box, and the fully qualified name that is generated by the dialog box omits the names of these packages, as it should.

General XDE

46296, 230617

Storage Unit Reference Repair Is Broken

Applies To: Users of Professional and Modeler editions of Rational XDE v2002 who work on models under source control and create new files (separate units) in shared containers such as packages.

Steps to Reproduce the Problem

  1. Create a model.
  2. Create a package and convert the package into a separate unit (package1.pkx).
  3. Save and close the model.
  4. User 1 checks out the package1.pkx file and adds a class as a separate unit (class1.clx).
  5. User 1 checks in the package1.pkx file without adding the new file to source control.
  6. User 2 performs an Update View command.

The subunit file for the package on user 2’s machine contains a reference to a missing subunit file. A defect causes a zero-length file to be created with the name of the missing subunit (class1.clx). The presence of the zero-length file disables the GUI indication that a subunit is missing (a red cross in the Model Explorer). It also causes the Model Explorer to fail to display all children in the container (RATLC00230720, RATLC00230672).

Common Symptoms

Validation of a model fails with a hard error indicating a “failure to parse” zero-length files in the model.

Solution

This Service Release fixes the issue.

46505

Elements Disappear from the Model Explorer on Undo Checkout

Applies To: Users of Professional and Modeler editions of Rational XDE v2002.

When making separate units within a model and adding them to source control, sometimes undoing the checkout of an element that hasn't changed causes elements to disappear from the Model Explorer. In this Service Release, the model element no longer disappears.

230681

 

Copy and Paste Breaks Element References

Previously, when copying a collaboration from one model to another, references from some of the elements in the collaboration to elements outside the collaboration were broken. For example, the reference from an object or classifier role in a collaboration to the classifier of which it was an instance was not preserved when performing a cross-model paste.

Solution

This has been fixed and the references now refer back to the elements in the original model after a cross-model paste (assuming they were not included in the set of elements pasted, in which case the references point to the pasted elements).

230720, 230672

Package Does Not Expand When There Is a Zero-Length Unit

Applies To: Users of Professional and Modeler editions of Rational XDE v2002 who have zero-length subunit files in a model (RATLC00046296, RATLC00230617).

Steps to Reproduce the Problem

  1. Create a model.
  2. Create a package and make it a unit.
  3. Add a Collaboration Instance and make it a unit.
  4. Add some other elements to the package.
  5. Save and close the model.
  6. Replace the Collaboration Instance unit (cix file) with a file of zero length.
  7. Reopen the model.
  8. Try to expand the package.

All elements added to the package after the zero-length subunit is introduced do not appear in the Model Explorer when the package is expanded.

This Service Release fixes the issue.

231979

Printing Diagrams on a Single Page

Unable to satisfactorily print a diagram on letter-size paper that was set up to print on plotter paper.

Solution

Rational XDE now allows you to "fit to page," so you can print the diagram to a single page, regardless of the paper size.

232035

Broken Diagram Results When a Checkout or Activity Dialog Box Interrupts Creation of the Diagram

Problem found when using ClearCase 5.0 with service packs through 12 on a separate server, and XDE Type Manager. Source Control options set to Prompt for check out when checked-in items are edited or Always prompt for an activity, or both options are set. (This also applies to other configuration management applications.)

Solution

With this Service Release, diagram creation is not interrupted by source-control dialog boxes.

232106

Error When Resolving References to Component Without Location Registry Entry

An error, "Component already exists," is received when attempting to resolve unresolved external references. This occurs when opening a model that contains references to a component whose entry in the location registry has been removed. This has been resolved and the component will now be registered in the appropriate location rather than re-created.

232598

Moving Sequence Diagram Components in Zoom-Out Magnification Causes Data Corruption of Diagram

Applies To: Users of Professional and Modeler editions of Rational XDE v2002.

If you open a sequence diagram, zoom out, then move lifelines, the diagram is corrupted.

With this Service Release, you can make modifications in the zoomed out state. XDE verifies that all lifelines are selected before extending lifelines or bumping messages to prevent diagram corruption.

232920

Package Renamed in the Model Explorer Not Updated in Diagram Window

In some cases, when a package was renamed in the Model Explorer, the new name would not be updated in the diagram window until the diagram was refreshed.

This is now resolved and the name is correctly updated in both locations when the name is changed.

233712

Error on Saving Updated Subunits When Parent Is Unchanged

When attempting to save updates to subunits within a model, an error was sometimes encountered if the
parent unit was read-only as it had not changed and did not need to be saved.

Subunits are now saved without error when the parent unit is read-only and does not need to be saved.

599277

Rose Diagrams Appear Distorted When Imported to XDE

All diagrams created in Rose have to be modified because auto-resize is turned off on all imported diagram elements in XDE.

Solution

Importing Rose diagrams in XDE now behaves correctly. If AutoSize is turned on in Rose, XDE correctly enables auto-resizing after the import.

599861

Find: Modeler Error When Finding Elements on the Drawing Surface with Unresolved Note

Applies To: Users of Professional and Modeler editions of Rational XDE v2002.

If the user has any note or text in his/her search space with a broken reference, XDE’s find command will return no search results.

Steps to Reproduce the Problem

  1. Start Rational XDE and create a new model file (e.g. Model1).
  2. From the Toolbox, drag a Class and a Note onto the drawing surface of the Main diagram. Class1 and Note now appear on the drawing surface.
  3. Close the Main diagram by clicking on the Close (“X”) button at the right top corner of the drawing surface.
  4. In the Model Explorer, right-click Note and click Delete from Model.
  5. Reopen the Main diagram by double-clicking on the Main diagram node in the Model Explorer. The unresolved Note appears on the drawing surface.
  6. Right-click an empty area of the drawing surface and click Find on the shortcut menu to bring up the Find dialog box.
  7. Type "Class" in the Find what field and click OK.
Result: Nothing is found.

Solution

This Service Release resolves this issue.

Known Issues in This Release

The following table is a summary of known issues in this Servie Release. For more details, click a category or defect ID.

Category

ID

Summary

Compare/Merge
49273
Rational XDE Patterns Can Be Corrupted During Merge
49273
Rational XDE Code Templates Can Be Corrupted During Merge
232092
Avoid Working in Second VS.NET Window Opened for Compare/Merge
234288
Resource Error When Invoking Type Manager with -status_only Flag
510631
Potential Data Loss When Separate Subunits Made Under CM Control
510740
Failure to Combine Separate Units During a Merge Involving ClearCase

Configuration Management

233125
Unable to add to source control after reconnecting ClearCase to network
234734
Pending Checkins Not Updated After UCM Rebase
510080
Composite Object Versioning (COV) Does Not Cross Model Boundaries
510186
XDE Does Not Return Dependent CM Units When Model Is Closed
510188
Hijacked Files Still Shown as Source Controlled
510561
Rebase with an Open Model Fails to Reload
510600,
510738
Updating a Model that Results in a New Version Being Loaded also Causes the Model to be Reloaded Twice
510601
User Prompted to Choose Between Two Versions of Project File When Updating Model
510620
Failure to Load Model When Updating a Subunit
510701
Composite Object Versioning (COV) Fails to Chain Merge Sessions
510838
Incorrect Configuration Management Status After Model Update
510850
Error Checking in Separate Units, Then Unable to Add to Source Control
510974
Check-in Fails If the Files Were Checked-out from Outside the Shell
Internationalization
234348
Internationalization Support in XDE Startup and XDE ClearCase Installer
Round-Trip Engineering
Models Created in Miscellaneous Files Folder in Solution Explorer
General XDE
231927
Model Validation Warnings
233755, 228464
Errors Produced Upon Creation of ASP.NET Web Application
598017
Obsolete Documentation for Adding Template Arguments for Template Parameters

The following table provides more details about the known issues in this Service Release.

Category

ID

Description

Compare/Merge

49273

Rational XDE Patterns Can Be Corrupted During Merge

Rational XDE stores pattern-processing instructions as properties (tagged values) of model elements; for instance, the location where the results of a pattern expansion should be placed is called it’s “expansion location” and that location is determined by a set of properties that includes ExpansionLocationType and ExpansionLocationContextElement. Choices for the type can be Context or Argument, which indicate (respectively) that the expansion location is some specific model element or that the location is determined (indirectly) by one of the template argument values supplied to the pattern at expansion time. To make the pattern consistent (and expandable), the value stored in ExpansionLocationContextElement must be either a reference to a particular element in the target model or a reference to one of the pattern’s template parameters, depending on the value of the ExpansionLocationType property. If the pair of properties has inconsistent values (e.g., type says Context but the context element value is a template parameter of the pattern), then the pattern won’t expand correctly.

A common symptom of this problem is to see errors when trying to apply a pattern following a merge.

Steps to Reproduce the Problem

  1. A user edits an existing pattern, setting ExpansionLocationType to Context and ExpansionLocationContextElement to a package in their model.
  2. The user checks in and delivers the model with the updated pattern.
  3. Another user edits the same (original) pattern, setting ExpansionLocationType to Argument and ExpansionLocationContextElement to a template parameter of the pattern.
  4. The second user checks in the model with the updated pattern, rebases, and proceeds to merge the pattern.
  5. The second user chooses the ExpansionLocationType that the first user contributed, but the ExpansionLocationContextElement that they specified.
  6. Since the ExpansionLocationType and ExpansionLocationContextElement properties are now inconsistent, the pattern will not expand correctly.

Solution

When merging patterns, the recommended approach is to consistently choose all properties of a pattern from the same contributor.

49273

Rational XDE Code Templates Can Be Corrupted During Merge

Applies To: Users of Professional and Modeler editions of Rational XDE v2002.

Rational XDE stores code templates as a set of properties (tagged values); for instance, Template1Body stores the text of the code template and Template1ParameterValueReferences stores references to the argument values used to replace the parameterized pieces of the text. The text property is dependent on the argument value property — if every parameter appearing in the text doesn’t have an argument supplied for it, then the code template won’t expand correctly. During a CM merge operation, it is possible for a user to choose properties from different contributors such that these dependencies between the properties are violated.

A common symptom of this problem is to see errors when trying to expand the code template following a merge.

Steps to Reproduce the Problem

  1. A user adds a new parameter with a default argument value to an existing code template and makes use of the new parameter in the text of the code template.
  2. The user checks in and delivers the model containing the updated code template.
  3. Another user adds two new parameters with default argument values to the same code template and makes use of the new parameters in the (original) text of the code template.
  4. The second user checks in the model with the updated code template, rebases, and proceeds to merge the code template.
  5. The second user chooses the text property that they added but the parameter property that the first user added.
  6. Since the text of the code template now uses one more parameter than there are template argument values, the code template will not expand correctly.

Solution

When merging code templates, the recommended approach is to consistently choose all properties of a code template from the same contributor.

232092

Avoid Working in Second VS.NET Window Opened for Compare/Merge

Applies To: Users of Professional and Modeler editions of Rational XDE v2002.

When working with XDE and ClearCase in Visual Studio .NET, a second Visual Studio .NET window will be started if you initiate a ClearCase command, such as a checkin, from within Visual Studio .NET and that ClearCase command triggers a merge of XDE model units. This second Visual Studio .NET window will be closed automatically after the Compare/Merge session completes and so you should not use this window for any other purpose.

Solution

If Visual Studio .NET opens a second window to perform a Compare/Merge, do not use it for any purpose other than the Compare/Merge.

234288

Resource Error When Invoking Type Manager with -status_only Flag

In instances where an XDE Compare/Merge session is started through a Type Manager-initiated session from ClearCase with the -status_only flag, the following dialog box will appear: "Resource error."

The –status_only flag is used rarely by ClearCase when invoking the XDE Type Manager and the fact that it is not handled properly has no impact on the Compare/Merge session.

Solution

Clicking the OK button to dismiss the dialog box will not affect the XDE Compare/Merge session. Proceed as normal after clicking OK.

510631

Potential Data Loss When Separate Subunits Made Under CM Control

Applies To: Users of Professional and Modeler editions of Rational XDE v2002.

When combining or separating model units, you should ensure no one else is working on the same units. Otherwise, you can run into scenarios like the following:

  1. You make package P in model M a separate unit.
  2. In parallel with you, someone else modifies P while it is still combined with M.
  3. You deliver your changes.
  4. The other person delivers changes.
  5. A merge is needed but will be performed silently. The separation of package P from model M is applied automatically and will result in your changes in that separate unit being applied while the other user's changes to P (while it was still combined with model M) are lost.

Since the separation of package P from model M is applied automatically during the merge, no visible merge session is needed and the merge occurs silently. However, should there be conflicts for other reasons, then a merge session will be presented to the user. At that point, the user will be able to reverse the automatic application of the separation of package P from model M. However, this would result in the loss of the separated version of package P.

510740

Failure to Combine Separate Units During a Merge Involving ClearCase

Compare/Merge can silently fail to combine a unit during a merge. For example, consider the following scenario:

  1. Start with model M containing diagram D and separate unit package P.
  2. User 1 combines package P into model M.
  3. User 2 makes some other modification of M, such as renaming D.
  4. User 1 delivers.
  5. User 2 delivers.

Note that this defect applies to UCM rebase operations as well, and also applies even if UCM isn't used and simple check-ins trigger merges.

When user 2 delivers, ClearCase sees that both contributors have modified M.mdx and so the type manager for XDE models is invoked to perform the merge silently. XDE Compare/Merge is invoked. However, the result of the merge passed back to ClearCase will not have package P combined with model M—it will remain a separate unit. There is no warning or other indication of this failure to combine the units.

Even when the merge isn't silent, this will occur. For example, consider the following scenario:

  1. Start with model M containing diagram D and separate unit package P.
  2. User 1 renames D and combines package P into model M.
  3. User 2 renames D.
  4. User 1 delivers.
  5. User 2 delivers.

When user 2 delivers, ClearCase sees that both contributors have modified M.mdx and so the type manager for XDE models is invoked to perform the merge silently. XDE Compare/Merge is invoked. However, XDE Compare/Merge detects that there is a conflict in the renaming of diagram D and so the silent merge fails. ClearCase then invokes the type manager for XDE models to resolve the conflict via the user. Consequently, an XDE Compare/Merge session is presented to the user. The user will see a conflict regarding the name of the diagram. The user will also see that the merged model indicates <failed to get unit> for the package P, which is normal for a ClearCase-initiated merge since the P.pkx unit isn't accessible during the merge of M.mdx. The package P will have a delta on it. Clicking on the package will show that the delta is for the name of the package's storage unit. In the merged model, the name is combined with the model and the other contributors show P as a separate unit. However, in the saved merged model, P erroneously remains a separate unit.

Workarounds

To work around this issue, combining of units needs to occur in such a way that the resulting merge will be trivial--that is, the version of the M.mdx file being delivered is the immediate successor to the version in the integration stream. One way to achieve this is to do the following:

  1. Everyone delivers their changes.
  2. Create a new baseline and recommend it.
  3. Everyone rebases and doesn't touch model M, to ensure the eventual combine will succeed, and doesn't touch package P, to ensure no data is lost.
  4. One user combines the unit, delivers the change, creates a baseline, and recommends it.
  5. Everyone rebases again.

This procedure is sure to work. However, it isn't necessary if you practice strong ownership of the type of parent unit into which the subunit is being combined. In this case, the parent unit is the root model file itself. However, in many cases it will be a package that might be "owned" by a particular developer who knows that nobody else is working on it. Then, the combining of the unit can proceed without the full procedure above.

Note that it isn't sufficient to simply succeed in the delivery—if others have the older versions of the model with P still a separate unit, then their rebase will result in a merge that leaves P as a separate unit. The procedure just above avoids this.

If you aren't using UCM, then you simply need to ensure that the merge is trivial. Typically, this occurs when you check out a file and no one else has subsequently checked in any changes before you check in your changes. Furthermore, to avoid potential data loss, it's best that no one even have the file checked out. For example, suppose you successfully combine the unit because no one checked in a change to M.mdx between the time you checked it out and checked it back in. If someone had checked out the unit before you checked in your changes, then that person still has package P as a separate unit. However, any changes to P as a separate unit will be ignored since the model now has P combined into M.mdx—the separate P.pkx file is no longer part of the model.

Configuration Management

233125

Unable to Add to Source Control After Reconnecting ClearCase to Network

Applies To: Users of Rational XDE Professional v2002.

When using Rational XDE with Rational ClearCase in a disconnected manner, and then reconnecting, errors are displayed:

  • Error checking out the file <filename> from source control. Unable to determine view for <viewpath>: not a ClearCase object
  • The operation could not be completed. You may be unable to work in the model after reconnecting to ClearCase.

    Note: This problem is not particular to XDE and may be encountered when XDE is not being used.

Solution

When you need to work in VS.NET disconnected from ClearCase,  use File > Source Control > Change Source Control to rebind the solution to the source control provider. You should select Checkout in the resulting dialog box and use the modified version of the files as the checked-out version.

234734

Pending Checkins Not Updated After UCM Rebase

Applies To: Users of Professional and Modeler editions of Rational XDE v2002 who use Rational ClearCase in conjunction with XDE.

Expected model changes will not appear in Rational XDE, but will appear in the ClearCase Explorer, as expected, after a rebase operation if the rebase is performed while Rational XDE models are open.

Part of the Rational ClearCase UCM process mandates that users rebase their development stream in order to get updated artifacts from the latest project baseline. This rebase operation is typically conducted in parallel to, and often outside of, the usage of the integrated development environment (IDE). This may result in changes that are not automatically reflected in the IDE.

Steps to Reproduce the Problem

  1. Open Rational XDE.
  2. Open a model.
  3. Using the ClearCase tools—for example, ClearCase Explorer—rebase the development stream to bring in changes from the latest baseline.
    The XDE model is not reloaded, even though new and updated files are available on disk.

Solution

Whenever running the Rational ClearCase UCM rebase operation, first close any open Rational XDE models. It is not necessary to close the IDE. Reopening the model after the rebase operation has completed will show all the changes.

510080

Composite Object Versioning (COV) Does Not Cross Model Boundaries

Applies To: Users of Professional and Modeler editions of Rational XDE v2002.

Background

The new composite object versioning (COV) functionality provided in this Service Release only covers related model elements in a single model. Related model elements between models will not be listed by the COV dialog boxes. This may result in inconsistencies between models.

Steps to Reproduce the Problem

  1. Create two models.
  2. Add both models to source control.
  3. Create a class in model 1 and a diagram in model 2 and make them both controlled units.
  4. Drag and drop the class in the diagram.
    This creates a relationship between the two models.
  5. Add the class to source control.
    Only the class is added, the diagram is not affected.
  6. Add the diagram to source control.
  7. Rename the class on the diagram.
    Both files are checked out as both are modified.
  8. Check in the diagram.
    Only the diagram is checked in, not the class.

Solution

When working with multiple, related models, you must do the CM operation at least once in each model to ensure consistency.

510186

XDE Does Not Return Dependent CM Units When Model Is Closed

Applies To: Users of Professional and Modeler editions of Rational XDE v2002.

Steps to Reproduce the Problem

  1. Open an XDE model.
  2. Perform a CM operation that would cause the composite unit functionality to be activated (e.g., updates a single element).
    Observe that multiple elements are affected by the operation.
  3. Perform a CM operation on a file element in the Solution Explorer in VS.NET.
    Observe that multiple elements are affected by the operation.
  4. Close the model.
  5. Perform a CM operation on a file element in the Solution Explorer in VS.NET.
    Observe that a single element is affected by the operation when multiple elements are expected to be affected.

Solution

Perform all CM operations on XDE model elements from within the XDE Model Explorer. Enhanced functionality has been added to perform composite unit operations within an XDE model (see release note for RATLC00046732). However, this functionality is only available on models that are open.

510188

Hijacked Files Still Shown as Source Controlled

Applies To: Users of Rational XDE Professional v2002.

Background

Files that have been hijacked during a session disconnected from ClearCase appear as if they were controlled and checked in.

Steps to Reproduce the Problem

  1. Create a new solution and add the solution to source control.
  2. Create a model and add two packages (P1 and P2), with a class in each (P1::C1 and P2::C1) and a diagram in one (P2::D1).
  3. Add both classes to the diagram (P2::D1).
  4. Make all model elements into separate units.
  5. Save and check in the entire model.
  6. Close the solution and exit Visual Studio .NET.
    The workstation is disconnected from the network.
  7. Start VS.NET and open the solution by browsing to it, and then open the model.
  8. Rename P2 to P2B.
  9. Cancel “Edit of read-only file” dialog and make the file writable, thereby hijacking it.
  10. Save the file.
  11. Rename P1::C1 to P1::C1B, and repeat steps 10 and 11.
  12. Save P2B and exit VS.NET.
    Workstation is reconnected to the network.
  13. Start VS.NET and opens the solution from source control.
    The hijacked files (P2B and P1::C1B) are still shown as controlled, checked in. Modifying any of the previously modified files will not result in a dialog being displayed.

Common Symptoms

Editing files that are marked as checked in does not trigger a checkout operation.

Solution

It is recommended that you update your view and convert the hijacked files to checkouts prior to continuing your work when reconnecting to ClearCase.

510561

 

Rebase with an Open Model Fails to Reload

Applies To: Users of Professional and Modeler editions of Rational XDE v2002 who use Rational ClearCase in conjunction with XDE.

Expected model changes will not appear after a rebase operation if the rebase is performed while Rational XDE models are open.

Part of the Rational ClearCase UCM process mandates that users rebase their development stream in order to get updated artifacts from the latest project baseline. This rebase operation is typically conducted in parallel to, and often outside of, the usage of the integrated development environment (IDE). This may result in changes not being automatically apparent in the IDE.

Steps to Reproduce the Problem

  1. Open Rational XDE.
  2. Open a model.
  3. Using the ClearCase tools—for example, ClearCase Explorer—rebase the development stream to bring in changes from the latest baseline.
  4. New and changed files are available on disk.
  5. The XDE model is not reloaded, even though new and updated files are present.

Solution

Whenever running the Rational ClearCase UCM rebase operation, first close any open Rational XDE models. It is not necessary to close the IDE. Reopening the model after the rebase operation has completed will show all the changes.

510600,
510738

Updating a Model that Results in a New Version Being Loaded also Causes the Model to be Reloaded Twice

Applies To: Users of Rational XDE Professional v2002: .NET Edition.

The composite object versioning (COV) functionality is able to ensure model consistency under VS.NET by monitoring CM activities. When a supported configuration management (CM) activity is detected, such as Get Latest Version, it determines the XDE model control units that also need to participate in the operation and executes the operation on these.

Steps to Reproduce the Problem

  1. User1 makes a modification that affects the model file to a model that is under ClearCase control.
  2. User1 checks in the changes.
  3. User2 selects the model file in their view and updates it.
    At this point, the model is reloaded, all other new elements are then loaded in view, and the model is reloaded again.

Solution

This is actually correct behavior because of the post-event detection of the CM operation by XDE. As such, VS.NET generates the update of the model, which changes on disk and which causes the model to reload. XDE then determines that an update occurred, updates the rest of the model on disk, and forces the model to reload to pick up any and all new files.

510601

User Prompted to Choose Between Two Versions of Project File When Updating Model

Applies To: Users of Rational XDE Professional v2002: .NET Edition who use Rational ClearCase in single-stream mode in conjunction with XDE.

In certain situations, the user may see a Confirm Version to Check out dialog box and need to choose between two project or solution files.

Microsoft Visual Studio.NET (VS.NET) saves all solution and project information in specially formatted files.
These files contain, for example, the list of files making up the project. These files are also typically kept
under source control.

Updating a Rational XDE model may bring new files into the project or solution. The project or solution files must be modified to bring in these new files. Since the new files had also been added to the project in another view, a new version of the project therefore exists. The VS.NET-ClearCase integration then correctly prompts the user to determine which version to use.

Steps to Reproduce the Problem

  1. User1 creates a new empty C# project, Proj1, in a snapshot view.
  2. User1 adds Proj1 to source control.
  3. User1 adds a model to Proj1.
  4. User1 adds two packages to the model, makes package1 a separate unit
  5. User1 clicks on Save All.
  6. User1 selects Package1 and checks it in. The model is also checked in.
  7. User1 checks in the project.
  8. User2 creates a snapshot view pointing to the same VOB.
  9. User2 opens Proj1.
  10. User2 opens the model.
  11. User2 makes package 2 a separate unit (check out when prompted).
  12. User2 clicks Save All (check out when prompted).
  13. User2 clicks on Package2 and checks it in. The model is also checked in.
  14. User2 checks in the project.
  15. User1 right-clicks the model in the Model Explorer and clicks Get Latest Version.
    The model is reloaded. Afterwards, a reload dialog box appears as a result of the composite object versioning (COV) process and the model is reloaded a second time.
  16. User1 clicks Checkout when prompted to check out the project.
    A Confirm Version to Check out dialog box appears, informing the user that a newer version of the project exists and asking the user to choose between two versions.

Solution

It is recommended that whenever the Confirm Version to Check out dialog box is shown, the user selects the current version in view. This will ensure the least amount of problems when working with the model from this point on. The required merge is also simpler when done during a subsequent check-in operation.

510620

Failure to Load Model When Updating a Subunit

Steps to Reproduce

  1. User1 creates a new empty C# project, Proj1, in a snapshot view and adds it to source control.
  2. User1 adds a model to a project under source control and adds two packages to that model, making them separate units, and then saves all.
  3. User1 selects Package1 and checks it in.
    The model and Package2 are also checked in.
  4. User1 checks in the project.
  5. User2 creates a snapshot view pointing to the same VOB.
  6. User2 opens Proj1 and opens the model.
  7. User2 adds a third package, Package3, makes it a separate unit, and saves it (check out when prompted).
  8. User2 adds a class to Package1 (check out when prompted).
  9. User2 checks in Package3.
    The model and Package1 are also checked in.
  10. User2 checks in the project.
  11. User1 checks out the project and selects Version after Update.
    User1 receives an error: "Failed to load model File <model name> and the model is not opened."

Solution

When you are in the position of User1 and receive the Confirm Version to Check Out dialog box, select Loaded Version, not Version after Update.

510701

Composite Object Versioning (COV) Fails to Chain Merge Sessions

Applies To: Users of Rational XDE Professional v2002: .NET Edition who use Rational ClearCase in single-stream mode in conjunction with XDE.

Under some circumstances, not all control units are merged when performing an update with multiple conflicting control units.

In Rational XDE Professional v2002: .NET Edition, the composite object versioning (COV) functionality is triggered by a change in the source-control status of one of the model subunits. As such, it is doing post-processing that may not trigger all the correct merge operations.

Steps to Reproduce the Problem

  1. User1 creates a new solution.
  2. User1 adds the solution to source control.
  3. User1 creates a Rational XDE base model.
  4. User1 adds the following to the model:
    Package1
        Class1
    Package2
        Class1
        Diagram1
  5. User1 drags both classes onto Diagram1.
  6. User1 makes sll units separated.
  7. User1 selects the root node and saves.
  8. User1 checks in the root node and see this message: "In order to ensure model Integrity in the source control system, the following files have been checked in for you. <List of files>
  9. User1 clicks OK.
  10. User1 checks in his solution.
  11. User2 updates his view from outside the tool.
  12. User2 opens the solution.
  13. User1 renames Package1 and Package2.
  14. User1 checks in his changes.
  15. User2 renames Package1 and Package2 to something other than User1 did (to create two conflicts).
  16. User2 checks in his changes.
  17. When asked which version to take, User2 keeps the current version in view.
    The first merge does happen, but the second (or any subsequent) merge will fail.

Solution

The user should perform the check-in and merge by selecting all the individual subunits. This can be done as a remedy after the discovery of the failure.

510838

Incorrect Configuration Management Status After Model Update

The Configuration Management status becomes incorrect in certain situations while using XDE and ClearCase, after issuing an update to the model. A symptom of this is that you cannot rename classes in the Model Explorer.

Solution

To work around this problem, close and reopen your model after doing an update on the view.

510850

Error Checking in Separate Units, Then Unable to Add to Source Control

Applies To: Users of Rational XDE Professional v2002: .NET Edition.

The description for this defect reflects a problem that has been partially fixed. The composite object versioning (COV) functionality makes it possible for the merge to complete and for the correct elements to be retrieved, but some other subunits that require merges are left checked out instead of being merged and checked in.

Steps to Reproduce the Problem

  1. User1 creates a new blank solution in a ClearCase view and adds it to source control.
  2. User1 adds a base model to the solution containing a class within a package.
  3. User1 makes the package and class separate units.
  4. User1 selects the root (model) node and saves it.
  5. User1 checks in the package and class.
    A dialog box opens stating: "In order to ensure model Integrity in the source control system, the following files have been checked in for you. <List of files>
  6. User1 clicks OK.
    All elements are added to source control and checked in.
  7. User1 checks in the solution.
  8. User2 updates her view from ClearCase Explorer.
  9. User2 starts VS.NET and opens the solution from source control.
  10. User2 opens the model.
  11. User1 adds another package and makes it a separate unit.
  12. User1 checks in the change and is prompted to check out the solution.
  13. User1 checks out the solution.
    A dialog box opens stating: "In order to ensure model Integrity in the source control system, the following files have been checked in for you. <List of files>
  14. User1 clicks OK.
  15. User1 checks in the solution.
  16. User2 adds a package and names it "MyPackage".
    The model is checked out and User2 gets prompted to select either the loaded version or the
    latest version.
  17. User2 uses the loaded version.
  18. User2 makes the new package a separate unit and checks it in.
    A message states:
    "There are multiple versions of ...\Solution.vssscc…"
    and "There are multiple versions of ...\Solution.sln."
  19. User2 selects the loaded version in both cases.
    The COV functionality attempts to check in the other files and shows errors indicating that the files
    cannot be checked in because later versions exist on the branch.

Solution

Select the subunits that were not checked in, and check them in one by one. This ensures that the merge occurs correctly and that the files are checked in. In order to ensure model integrity in the CM system, you should do this as soon as possible after detecting the problem.

510974

Check-in Fails If the Files Were Checked-out from Outside the Shell

Applies To: Users of Rational XDE Professional v2002: .NET Edition.

Users may be tempted to use applications and tools external to the VS.NET shell in order to execute configuration-management operations. However, if a file is checked out from outside VS.NET while a model is open, it may cause confusion inside the shell.

Steps to Reproduce the Problem

  1. User creates a new solution and adds it to source control.
  2. User creates a base model containing classes within two packages.
  3. User makes each model element a separate storage unit.
  4. User selects the root node, saves it, then checks it in.
  5. A dialog box opens stating: "In order to ensure model Integrity in the source control system, the following files have been checked in for
    you. <List of files>
  6. User clicks OK
  7. User checks in the solution.
  8. From outside Rational XDE, user checks out both package (.pkx) files.
  9. From inside the tool, user clicks File > Source Control > Refresh Status. This properly shows both packages checked out.
  10. User renames one of the packages and checks it in.
    The status does not get updated and the check-in does not happen.

Solution

The check-in operation will be successful if tried a second time. However, it is recommended that configuration-management operations always be executed from within the shell.

Internationalization
234348

Internationalization Support in XDE Startup and XDE ClearCase Installer

Components of this Service Release will fail on 16-bit character operating systems if 16-bit characters are part of pathnames to ClearCase view root and VOB directories. For example, on a Japanese operating system, if these paths contain Kanjii (16-bit) characters, XDE startup and the XDE ClearCase Type Manager installer will not function; however, if these paths are restricted to 8-bit Latin characters, they will operate correctly running on a Japanese operating system.

Round-Trip Engineering

Models Created in Miscellaneous Files Folder in Solution Explorer

If you add a reference to an assembly from a client project and then synchronize the client project, the referenced assembly is reverse engineered into an assembly model. However, a model of 0 bytes with a name similar to " _Model1.mdx" is added to the Miscellaneous Files folder in the Solution Explorer.

It is safe to ignore this model.

General XDE

231927

Model Validation Warnings

If you validate a Rational XDE model and receive the following warnings or errors as a result, no action is required. The warnings do not affect synchronization and you can safely ignore them.

  • Enumeration "<EnumName>" has an invalid Generalization to Class "Enum".
    The Validate command generates this warning for all enumerations in the model.
  • Attribute(s) named "<AttributeName>" conflict between Class "<ClassName>" and classifier(s) "<ClassName>".
    The Validate command generates this warning for a property that overrides a virtual property in the base class.
  • The Interface "<InterfaceName>" should not contain an Attribute.
    A property is modeled as a UML attribute with dependencies to the get and/or set UML operations. An event is modeled either as an attribute or as an association. The Validate command generates a warning whenever there is a UML attribute inside an interface.

233755, 228464

Errors Produced Upon Creation of ASP.NET Web Application

Applies To: Users of Rational XDE Professional v2002: .NET Edition.

Before creating any ASP.NET Web Application under ClearCase, the following procedure must be followed:

To create an ASP.NET Web application

  1. In the Tools menu, click Options.
    The Options dialog box appears.
  2. Expand Rational XDE.
  3. Click Cancel in the Options dialog box.
  4. Create the ASP.NET Web application by clicking File > New > Project, and then selecting the ASP.NET Web Application template from one of the supported project types in the New Project dialog box.

Failing to do this may cause an exception dialog box to appear with the following message:

Trying to g.DTE.GetObject(ICTFactory), Err.Description: Class does not support Automation or does not support expected interface

If you don't perform the above workaround prior to creating an ASP.NET Web application and see the exception dialog box, you will first need to get back to a clean post-install configuration and then create an ASP.NET Web application as explained above.

To get back to a clean post-install configuration

  1. Exit Visual Studio .NET.
  2. From the Start menu, click Programs > Microsoft Visual Studio .NET > Visual Studio .NET Tools > Visual Studio .NET Command Prompt.
  3. At the command prompt, type devenv /resetskippkgs.
    Visual Studio .NET launches.

To create an ASP.NET Web application without the exception, follow the procedure "To create an ASP.NET Web Application" above.

598017

Obsolete Documentation for Adding Template Arguments for Template Parameters

The Help topic "Adding Template Arguments for Template Parameters" includes obsolete procedures.

Solution

The updated procedures are provided below:

To add  a template argument for a model element template parameter 

  1. If necessary, add a binding relationship between the model element and template.
  2. Right-click the «bind» relationship, and click Collection Editor.
    The Template Arguments tab of the Collections dialog box opens.
  3. Click the Insert New Template Argument button.
    If you have multiple template parameters specified in the template, then the Choose a Parameter dialog box opens. If you have only one template parameter specified, then a browser window opens.
  4. For multiple template parameters only, select a model element type template parameter, and then click OK.
  5. In the browser window, select which model element you want to use for your template argument, and then click OK.
    A row opens in the Template Arguments tab of the Collections dialog box.
  6. Click the property pages (ellipsis) button in the Collections column.
    The Values tab of the Collections dialog box opens.
  7. Enter the appropriate values for the listed properties.
    Note   For details on the listed properties, click Help in the Collections dialog box.
  8. Click Close, and do one of the following:
    • Click Close again to close the Collections dialog box.
    • Repeat step 3.

To add a template argument for a data type template parameter 

  1. If necessary, add a binding relationship between the model element and template.
  2. Right-click the «bind» relationship, and click Collection Editor.The Template Arguments tab of
    the Collections dialog box opens.
  3. Click the Insert New Template Argument button.
    If you have multiple template parameters specified in the template, then the Choose a Parameter
    dialog box opens. If you have only one template parameter specified, then a row opens in the
    Template Arguments tab of the Collections dialog box.
  4. For multiple template parameters only, select a data type template parameter, and then click OK.
  5. Click the property pages (ellipses) button in the Collections column.
    The Values tab of the Collections dialog box opens.
  6. Enter a value in the value column.
    Note: For details on the listed properties click Help in the Collections dialog box.
  7. Click Close, and do one of the following:
    • Click Close again to close the Collections dialog box.
    • Repeat step 3.

Contacting Rational Customer Support

If you have questions about installing, using, or maintaining this product, contact Rational Customer Support as follows:

Your Location Telephone Facsimile E-mail
North America

(800) 433-5444
(toll free)

(408) 863-4000
Cupertino, CA

(781) 676-2460
Lexington, MA

support@rational.com
Europe, Middle East, Africa

+ 31 (0) 20 4546 200
Netherlands

+31 (0) 20-4545-201
Netherlands

support@europe.rational.com
Asia Pacific

+61-2-9419-0111
Australia

+61-2-9419-0123
Australia

support@apac.rational.com

When you contact Rational Customer Support, please be prepared to supply the following information:

Legal Notices

TRADEMARKS

Rational, Rational Software Corporation,  Rational the e-development company, Rational Developer Network, ClearCase, ClearCase Attache, ClearCase MultiSite, ClearDDTS, ClearQuest, ClearQuest MultiSite, DDTS, Object Testing, Object-Oriented Recording, ObjecTime & Design, Objectory, PerformanceStudio, Rational ProjectConsole, PureCoverage, PureDDTS, PureLink, Purify, Purify'd, Quantify, Rational Apex, Rational CRC, Rational Rose, Rational Suite, Rational Summit, Rational Visual Test, Requisite, RequisitePro, RUP, SiteCheck, SoDA, TestFactory, TestFoundation, TestMate, The Rational Watch, AnalystStudio, ClearGuide, ClearTrack, Connexis, e-Development Accelerators, ObjecTime, Rational Dashboard, Rational PerformanceArchitect, Rational Process Workbench, Rational Suite AnalystStudio, Rational Suite ContentStudio, Rational Suite Enterprise, Rational Suite ManagerStudio, Rational Unified Process, XDE, SiteLoad, TestStudio, VADS, among others, are either trademarks or registered trademarks of Rational Software Corporation in the United States and/or in other countries. All other names are used for identification purposes only, and are trademarks or registered trademarks of their respective companies.

Microsoft, the Microsoft logo, Active Accessibility, Active Client, Active Desktop, Active Directory, ActiveMovie, Active Platform, ActiveStore, ActiveSync, ActiveX, Ask Maxwell, Authenticode, AutoSum, BackOffice, the BackOffice logo, bCentral, BizTalk, Bookshelf, ClearType, CodeView, DataTips, Developer Studio, Direct3D, DirectAnimation, DirectDraw, DirectInput, DirectX, DirectXJ, DoubleSpace, DriveSpace, FrontPage, Funstone, Genuine Microsoft Products logo, IntelliEye, the IntelliEye logo, IntelliMirror, IntelliSense, J/Direct, JScript, LineShare, Liquid Motion, Mapbase, MapManager, MapPoint, MapVision, Microsoft Agent logo, the Microsoft eMbedded Visual Tools logo, the Microsoft Internet Explorer logo, the Microsoft Office Compatible logo, Microsoft Press, the Microsoft Press logo, Microsoft QuickBasic, MS-DOS, MSDN, NetMeeting, NetShow, the Office logo, Outlook, PhotoDraw, PivotChart, PivotTable, PowerPoint, QuickAssembler, QuickShelf, RelayOne, Rushmore, SharePoint, SourceSafe, TipWizard, V-Chat, VideoFlash, Virtual Basic, the Virtual Basic logo, Visual C++, Visual C#, Visual FoxPro, Visual InterDev, Visual J++, Visual SourceSafe, Visual Studio, the Visual Studio logo, Vizact, WebBot, WebPIP, Win32, Win32s, Win64, Windows, the Windows CE logo, the Windows logo, Windows NT, the Windows Start logo, and XENIX, among others, are either trademarks or registered trademarks of Microsoft Corporation in the United States and/or in other countries. 

Sun, Sun Microsystems, the Sun Logo, Ultra, AnswerBook 2, medialib, OpenBoot, Solaris, Java, Java 3D, ShowMe TV, SunForum, SunVTS, SunFDDI, StarOffice, and SunPCi, among others, are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries 

VSFlexGrid Pro is a trademark of ComponentOne LLC,Copyright 2001.All rights reserved. 

J-Integra is a trademark of Intrinsync Software, Inc.

Design Patterns: Elements of Reusable Object-Oriented Software, by Erich Gamma, Richard Helm, Ralph Johnson and John Vlissides. Copyright © 1995 by Addison-Wesley Publishing Company, Inc. All rights reserved.

THIRD PARTY CODE, THIRD PARTY LICENSES, AND ACKNOWLEDGEMENTS

Note that in the text below, "Program" refers to Rational® XDE™ software and associated documentation. The Program is composed of multiple separately written and copyrighted modular software components. Some of the components are provided under separate, non-Rational licenses that permit copying, modification and redistribution of those components. Such components are licensed pursuant to the terms of the available license. The components and applicable license terms are set forth below.

I. ComponentOne VSFlexGrid

This product includes VSFlexGrid software developed by ComponentOne LLC. VSFlexGrid Pro is a trademark of ComponentOne LLC,Copyright 2001.All rights reserved.

II. Intrinsync Software J-Integra

This product includes J-Integra software developed by Intrinsync Software Inc. J-Integra is a trademark of Intrinsync Software, Inc.

III. Rhino JavaScript 1.5R1

The Program is accompanied by software developed by Mozilla as part of the Rhino project. The Rhino code included with the Program in XDE\hshell\plugins\com.rational.hshell.ratltool\js.jar or XDE\JavaScriptPkg\js.jar includes modifications necessary to embed the scripting engine with the Program. The source code corresponding to these modifications can be found in the directory "XDE\License Information\Rhino". Your use of Rhino in binary code form accompanying the Program is subject to the terms and conditions of the Netscape Public License Version 1.1 which is found at "XDE\License Information\Rhino\NetscapePublicLicense-1.1.html" and on the Internet at (http://www.mozilla.org/MPL/NPL-1.1.html). Source code for Rhino is available at (http://www.mozilla.org/rhino/) under the terms of the Netscape Public License 1.1.

IV. mpack/munpack

The Program is accompanied by software developed by Carnegie Mellon University. The mpack code included with the Program includes minor modifications. The source code corresponding to these modifications can be found in the directory "XDE\License Information\mpack". Your use of mpack in binary code form accompanying the Program is subject to the terms and conditions of the license that is found at "XDE\License Information\mpack\mpack_license.txt". Specifically, mpack is:

(C) Copyright 1993,1994 by Carnegie Mellon University All Rights Reserved.

Permission to use, copy, modify, distribute, and sell this software
and its documentation for any purpose is hereby granted without fee,
provided that the above copyright notice appear in all copies and that
both that copyright notice and this permission notice appear in
supporting documentation, and that the name of Carnegie Mellon
University not be used in advertising or publicity pertaining to
distribution of the software without specific, written prior
permission.  Carnegie Mellon University makes no representations about
the suitability of this software for any purpose.  It is provided "as
is" without express or implied warranty.

CARNEGIE MELLON UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO
THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS, IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE
FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.

Portions of this software are derived from code written by Bell
Communications Research, Inc. (Bellcore) and by RSA Data Security,
Inc. and bear similar copyrights and disclaimers of warranty.

V. Expat 1.0.2

The Program is accompanied by software developed by James Clark. The Expat code included with the Program includes minor modifications. The modifications can be found in the directory "XDE\License Information\Expat". Your use of Expat in binary code form accompanying the Program is subject to the terms and conditions of the Mozilla Public License 1.0 which is found at "XDE\License Information\Expat\MozillaPublicLicense-1.0.html" and on the Internet at (http://www.mozilla.org/MPL/MPL-1.0.html). Source code for Expat is available from (http://www.jclark.com/xml) under the terms of the Mozilla Public License.

VI. Xerces-J 1.4.4 and Xalan 1.2

The Program is accompanied by software developed by The Apache Software Foundation as part of the Apache XML project. The Xerces code included with the Program in XDE\hshell\plugins\org.apache.xerces\xerces.jar (or XDE\AddIns\common) includes no modifications. Your use of Xerces in binary code form accompanying the Program is subject to the terms and conditions of the Apache Software License 1.1 which is found at "XDE\License Information\Xalan-Xerces\ApacheSoftwareLicense-1.1.txt" and on the Internet at http://xml.apache.org/LICENSE. Specifically, Xerces is:

 * Copyright (c) 1999 The Apache Software Foundation.  All rights 
 * reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 *
 * 1. Redistributions of source code must retain the above copyright
 *    notice, this list of conditions and the following disclaimer. 
 *
 * 2. Redistributions in binary form must reproduce the above copyright
 *    notice, this list of conditions and the following disclaimer in
 *    the documentation and/or other materials provided with the
 *    distribution.
 *
 * 3. The end-user documentation included with the redistribution,
 *    if any, must include the following acknowledgment:  
 *       "This product includes software developed by the
 *        Apache Software Foundation (http://www.apache.org/)."
 *    Alternately, this acknowledgment may appear in the software itself,
 *    if and wherever such third-party acknowledgments normally appear.
 *
 * 4. The names "Xerces" and "Apache Software Foundation" must
 *    not be used to endorse or promote products derived from this
 *    software without prior written permission. For written 
 *    permission, please contact apache@apache.org.
 *
 * 5. Products derived from this software may not be called "Apache",
 *    nor may "Apache" appear in their name, without prior written
 *    permission of the Apache Software Foundation.


   THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR
   IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
   WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   ARE DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
   ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
   SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
   LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
   DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
   THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
   This software consists of voluntary contributions made by many
   individuals on behalf of the Apache Software Foundation. For more
   information on the Apache Software Foundation, please see http://www.apache.org/.

VII. LEAD Technologies LEADTOOLS

Portions of this product were created using LEADTOOLS (c)1991-1999, LEAD Technologies, Inc. ALL RIGHTS RESERVED.

VIII. Regex

This product includes Regex software developed by Dr. John Maddock Copyright (c) 1998-1999.

IX. Summit BasicScript

This product includes BasicScript © 1996-2001, Summit Software Company.

PATENTS

Portions covered by U.S. Patent Nos. 5,193,180 and 5,335,334 and 5,535,329 and 5,574,898 and 5,649,200 and 5,675,802 and 5,754,760 and 5,835,701 and 6,049,666 and 6,126,329 and 6,167,534 and 6,206,584. U.S. Patents Pending. International Patents Pending.

Purify is licensed under Sun Microsystems, Inc., U.S. Patent No. 5,404,499.

GOVERNMENT RIGHTS LEGEND

Use, duplication, or disclosure by the U.S. Government is subject to restrictions set forth in the applicable Rational Software Corporation license agreement and as provided in DFARS 277.7202-1(a) and 277.7202-3(a) (1995), DFARS 252.227-7013(c)(1)(ii) (Oct. 1988), FAR 12.212(a) (1995), FAR 52.227-19, or FAR 227-14, as applicable.

WARRANTY DISCLAIMER

This document and its associated software may be used as stated in the underlying license agreement. Rational Software Corporation expressly disclaims all other warranties, express or implied, with respect to the media and software product and its documentation, including without limitation, the warranties of merchantability or fitness for a particular purpose or arising from a course of dealing, usage, or trade practice.