Rational® XDE™ Modeler - .NET
Rational XDE Developer - .NET Edition
Rational XDE Developer Plus for .NET

Release Notes

Version 2003.06.00

July 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.

Legal Notices Information


Scope

This document contains release notes for the Microsoft .NET editions of Rational XDE version 2003.06.00. Some information is specific to a product package, and is designated accordingly.

Note: The printed version of this document does not include the listing of "Known Issues." In order to provide the most up-to-date information possible at release time, this information is included only in the electronic version. This document is installed with the product, to <install-drive>\Rational\doc\xde_readme_vsnet.html. You can always find the latest version at http://www.rational.net/XDEcenter.

Contents

What's New in this Release
  New in All .NET Platform Editions of Rational XDE
  New in All .NET Platform Developer Editions of Rational XDE
  New in Rational XDE Developer Plus for .NET
Hardware/Software Information
  Client Requirements
Installing and Upgrading
  Installation Issues
  Upgrading from Previous Versions of Rational XDE
  Identifying the Product Build ID
  Installation Information
Getting Started
  Starting Rational XDE
  Accessing Help
Compatibility Issues
  With Rational Products
Restrictions and Guidelines on Using this Release
  File Management and Configuration Management
  RequisitePro-XDE Integration
  Round-Trip Engineering
  Visual Trace
  Web Publishing and Reporting
Defects and Changes
  Known Issues in this Release
  Defects Fixed in this Release
Contacting Rational Customer Support

What's New in this Release

The items listed in this section provide an overview of the most important new features in this release. Refer to the online Help for details about these features.

The capabilities available to you in Rational XDE version 2003.06.00 depend on your packaging option. To determine the package you have installed, see Identifying the Package and Product Build ID below.

For more information, see "Rational XDE Packaging" in the Rational XDE Help.

New in All .NET Platform Editions of Rational XDE

Asset Browser

The Asset Bowser lets you add Internet-style indexing and browsing for all of your RAS assets—patterns, code templates, models—any asset you create with the Rational XDE RAS Packager.

Rational XDE Extensibility (RXE) API

New Rational XDE Modeling Project

Rational Suite Product Integrations

Enhancements to Patterns and Code Templates

XMI Model Interchange

Enhancements to Visual Studio .NET Integration

Enhancements to UML Diagramming and Printing

Enhancements for Team Development

New in All .NET Platform Developer Editions of Rational XDE

New Round-Trip Engineering Features

New Assisted Modeling Dialog Boxes for .NET Code Constructs

Data Modeling

New in Rational XDE Developer Plus for .NET

Visual Trace

Visual Trace automatically creates an enhanced UML sequence diagram from a running Visual Studio .NET C# or Visual Basic application.

Rational PurifyPlus

Hardware/Software Information

Client Requirements

Hardware Requirements

The following table provides minimum and recommended system configuration requirements for Rational XDE. Rational XDE runs under the minimum configuration; however enterprise-level development is enhanced when resources conform to or exceed the recommended configuration.

Keep in mind that performance has been tuned for the recommended system configuration. In general, increasing available memory (by adding more memory or closing other applications) increases performance, especially when working with large models. Performance during code-model synchronization is significantly impaired when performed on a system with a hard disk drive formatted using the FAT32 file system. NTFS is highly recommended.

Also note that the disk space required by your Rational XDE workspaces varies significantly, depending on the size and number of files you create. Rational XDE model files for analysis may be quite small, whereas model files for enterprise-level development may grow to be quite large, particularly when generated code is included in the calculation.

For more information about hardware configuration and performance, see "Rational XDE Performance" in Rational XDE Help.

Processor Pentium III-class processor at 500MHz; Pentium III-class processor at 1 GHz or higher recommended
Available RAM

Minimum: 512 MB. Recommended: 1 GB for Rational XDE Developer versions

Available Disk Space

Minimum: 500MB for installation drive, 100 MB for workspace. Recommended: 2-5 GB for workspace

Video Minimum screen resolution: 800 x 600 pixels, 256 colors. Recommended: 1024 x 768 pixels, 16-bit color or higher
Mouse/Pointing Device Any pointing device with at least two buttons

Software Requirements

Supported Operating Systems

The following operating systems are tested and supported: 

  • Windows 2000 Professional, Service Pack 2 or Service Pack 3
  • Windows 2000 Server, Service Pack 2 or Service Pack 3
  • Windows 2000 Advanced Server, Service Pack 2 or Service Pack 3
  • Windows XP Professional, Service Pack 1

Notes:

  • This release does not support Windows NT.
  • For the latest information about operating system support, check the latest version of this document at http://www.rational.net/XDEcenter.
Operating System Languages

Level 1 support for these languages:

  • Dutch
  • Hebrew
  • Traditional Chinese
  • Korean

Level 2 support for these languages:

  • Japanese
  • German
  • Simplified Chinese
  • French
  • Italian
  • Swedish

Notes:

  • XDE cannot be installed into a path that includes Japanese, double-byte, or extended characters.
  • The ClearCase 5.0 XDE ClearCase Type Manager installer will not function if VOB directories contain 16-bit characters. Please see Internationalization in "Known Issues."
Supported Platforms
  • Microsoft Visual Studio .NET 2002
  • Microsoft Visual Studio .NET 2003
Internet Browser
  • Internet Explorer 5.5 with Service Packs 1 or 2
  • Internet Explorer 6 without any service pack or with SP1
  • Netscape 7.0
Web Publishing and Reporting Web publishing requires the Java Plug-in, downloadable from the Sun Web site at http://java.sun.com/products/.
Online Documentation Display and Printing Rational XDE documentation includes a document in Adobe® Acrobat® PDF format, requiring Adobe Acrobat Reader. You can download the Acrobat Reader with Search installation kit from the Adobe Web site, at http://www.adobe.com/products/acrobat/alternate.html.
Rational RequisitePro To use the RequisitePro-XDE Integration, you must have RequisitePro version 2003.06.00 installed on your system.

Configuration Management Software

Supports:

  • Rational ClearCase version 2003.06.00 and ClearCase LT version 2003.06.00.
  • Rational ClearCase version 2002.05.00, with the latest required patch level installed.
  • Visual SourceSafe version 6.0c (with Visual Studio .NET 2002)
  • Visual SourceSafe version 6.0d (with Visual Studio .NET 2003)

XDE will display a warning message when the first model is opened if the ClearCase patch level on your system is less than as follows:

  • 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. 

Note: For enhanced model integrity, Rational recommends that you either install the most recent patches for ClearCase 2003.06.00 or disable enhanced ClearCase menus in Visual Studio .NET. For more information, see defect 240709, under "Known Issues."

Installing and Upgrading

Installation Issues

General

Operating Systems and Languages

Rational ClearCase Integration

Rational RequisitePro

Upgrading from Previous Versions of Rational XDE

Identifying the Product Build ID

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

Installation Information

You can find the latest version of these documents at http://www.rational.com/support/documentation/manuals/suite.jsp. (Note that this site requires that users log in.)

Also, be sure to review the installation issues listed in this document.

Getting Started

Starting Rational XDE

Because Rational XDE is fully integrated into the Visual Studio .NET environment, there is no separate application to open; you simply start modeling your code within Visual Studio .NET. The easiest way to begin modeling when you have an existing Visual Studio .NET solution is to select the solution in the Solution Explorer and right-click Synchronize. If you do not have an existing solution, create a solution with one or more projects and create a model.

UML models are files stored as project items that you manage just as you manage any project item in Visual Studio .NET. For more information about beginning to use XDE, see the "Getting Started with Rational XDE" topics and "Modeling Applications and Generating Code with Rational XDE" topics in Rational XDE Help.

Accessing Help

For more information, see the "Help on Help" topic in Rational XDE Help.

Compatibility Issues

With Rational Products

Rational XDE with Rational ClearCase

Rational XDE with Rational RequisitePro

Restrictions and Guidelines on Using this Release

File Management and Configuration Management

Managing Rational XDE Model and Model Storage Unit Files

Certain file operations that are accessible in the Visual Studio .NET Solution Explorer and the Windows Explorer are not valid for Rational XDE model and model storage unit files. Please follow these guidelines:

Committing Your Changes to Rational XDE Model and Model Storage Unit Files

Rational XDE lets users subdivide models into sets of model storage unit files. Saving changes to an XDE model file does not automatically save changes to all modified storage units. Be sure to always save your model and storage unit changes at the same time.

Visual Studio .NET C++ Projects

Do not add Rational XDE model files to Visual C++ .NET projects. There are incompatibilities between XDE storage unit handling and C++ .NET project item handling.

Team Development with Microsoft Visual SourceSafe

Checking In Modified Files (Pending Checkins)

Rational XDE lets users subdivide models into sets of model storage unit files. Checking in an XDE model file does not automatically check in all of the model's storage units. Be sure to always check in your model and storage units at the same time.

Model Merging

If you configure a Microsoft Visual SourceSafe database to allow multiple checkouts, Rational 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 using 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.

RequisitePro-XDE Integration

Recommendation for Teams Using the RequisitePro-XDE Integration

Some teams that use the RequisitePro-XDE integration can improve their multiuser compatibility by establishing a PathMap for both RequisitePro projects and XDE models. If your team uses the RequisitePro-XDE integration, and if your team also meets any of the following criteria, consider following this guideline:

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 Integration 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.

Round-Trip Engineering

Compact Framework Support

Rational XDE version 2003 does not support round-trip engineering in Visual Studio .NET Compact Framework projects.

Adding, Moving, and Deleting Classifiers in Subunits Can Cause Model Root Contention

Rational XDE stores all or part of a model in one or more files. When a model has been divided into separate files, the files—other than the main .mdx file—are called subunits (or storage units). If code file artifacts are not organized in a parallel structure with their associated model packages set as subunits, the model root will need to be checked out whenever classes are added or deleted inside their owned namespaces. (Defect 51443)

For example, consider two developers who own namespaces N1 and N2, respectively, where each namespace has been made a controlled subunit. If the first developer deletes the class Class1 from namespace N1, he or she would need to check out the model root, subsequently requiring a delivery and merge of model root changes. This condition results because Class1 is the supplier of an Element Residence relationship from the component Class1.cs, which is itself inside packages owned by the model root.

Workaround

Model root contention can be avoided by creating file folders for code subsets and making the corresponding directory packages subunits, thereby requiring that only the directory packages involved in the add, move, or delete operation be checked out.

You can do either of the following, each of which is described in a procedure:

To set up a team development structure on the code side:

  1. Create a new .NET project.
  2. Add folders that will parallel components owned by individual developers in the team development effort.
    1. In the Solution Explorer, right-click the project and then click Add > New Folder.
    2. Provide the new folder with a name that parallels the name of the component, namespace, or developer.
      For example, in a project with two developers working in separate namespaces, the folders N1Developer and N2Developer could be added.
  3. Add the class files to each folder that the developer owning the folder will work on: Right-click the folder and then click Add > Add New Item > Class.
  4. In each new class file, verify that the code namespace is correct.
    For example, in a Class1.cs file added to the N1Developer folder, change namespace Project1.N1Developer to Project1.N1.
  5. Synchronize the project to create or update the code model.
  6. Make the developer owned packages into subunits.
    1. In the Model Explorer, expand the Artifacts package and the project directory package, and then locate the new directory packages, N1Developer and N2Developer.
    2. Right-click the directory package and then click Make a Separate Unit.
    3. Right-click the corresponding namespace, N1, and then click Make a Separate Unit.
  7. Subsequently, new classes are simply added to the developer owned folders created above in step 2.

To set up a team development structure on the model side:

  1. Create a new .NET project and then synchronize the project to get a new code model.
  2. Add developer-owned namespaces by clicking the code model or root namespace and then clicking Add Language > Namespace. For example, you could add namespaces N1 and N2 for two developers.
  3. Add language-specific classes to the namespaces.
    1. Right-click the namespace and then click Add Language > Class.
    2. In the Add Language Class dialog box, enter a name for the class.
    3. In the Source File box, add the directory package location to the file name. For example, for a class Class1 being added to namespace N1, which is in turn owned by package N1Developer, type N1Developer\Class1.cs.
  4. Synchronize the project. New classes will be generated in files created in new folders.
  5. Make the corresponding packages into subunits in the model.
    1. In the Model Explorer, expand the Artifacts package and the project directory package, and then locate the new directory packages, N1Developer and N2Developer.
    2. Right-click the directory package and then click Make a Separate Unit.
    3. Right-click the corresponding namespace, N1, and then click Make a Separate Unit.
  6. Subsequently, new classes are simply added in these new folders as above in step 3.

Visual Trace

ASP.NET with .NET Framework Version 1.1

Visual Trace does not support tracing ASP.NET applications on the Microsoft .NET Framework version 1.1. For more information, please contact Customer Support. (Defect 446505)

Socket Connection

Visual Trace uses a socket to connect to the application being traced. If a connection cannot be established, the following warning is displayed: "Visual Trace could not establish a socket connection with target." (Defect 514577)

Consider the following options:

Web Publishing and Reporting

Documentation

For documentation about the Web publishing and reporting feature of Rational XDE, see the Reporting and Publishing_vsnet.pdf Adobe Acrobat file located at <install-drive>\Program Files\Rational\XDE\Addins\webpub. This information is not included in Rational XDE online Help.

Context-sensitive help (F1 or the Help button) is not available for Web publishing and reporting dialog boxes.

Java Plug-in

The Web publishing capabilities in Rational XDE require the Java Plug-in, available from the Sun Web site. This plug-in must be installed on any machine on which you want to view published models. If you have not already downloaded and installed the plug-in, you are prompted to do so the first time you use Web publishing in Rational XDE.

Note: If your machine is not connected to the Internet, you will not be notified about the need for the plug-in, and you will get errors when publishing.

To download and install the plug-in:

If you download and install the Java Plug-in version 1.4, you may need to change the default security settings to allow read permission. Follow these steps to change the default security:

  1. Locate the .java.policy file in your home directory. Create the file, if it does not exist.
  2. Append the following section to the end of the file:
    grant codeBase "file:/-" 
    {
        permission java.io.FilePermission "«ALL FILES»", "read";        
    };
  3. Save the file.
  4. Restart the browser.

Free Disk Space

Publishing models requires significant free disk space; use the following guidelines when publishing:

Defects and Changes

Known Issues in This Release

The following table describes the known issues in this release.

Category

ID

Description

Compare/Merge
239157

Occasionally, you may see that the number of conflicts reported during an XDE Compare/Merge session appears to be inconsistent with the state of the conflict navigation buttons and menu items. For example, the status bar indicator may show that there are two unresolved differences remaining to be resolved when the Navigate to Next Unresolved Difference button and menu item are unavailable. This may happen when conflict resolution propagation automatically resolves other conflicts in response to a conflict you have resolved, as when you resolve a conflict involving the deletion and renaming of a class by deleting the class. In that case, the conflict resolution is automatically propagated to remove views of the deleted class from diagrams, thereby resolving dependent conflicts. However, the conflicts that are resolved automatically may not correctly be reflected by the conflict count.

If you encounter a situation where the status bar count indicates that there are differences remaining to be resolved, yet navigation to the next and previous unresolved differences is not available (dimmed), then the conflict count is incorrect; you have, in fact, resolved all conflicts. In this case, you can ignore any warnings about unresolved conflicts when you save and end your merge session or commit the merge session to ClearCase.

241028
If you encounter a reload dialog box after clicking Save and Commit ClearCase Session during an XDE Compare/Merge session, click No in the reload dialog box to avoid a possible shell freeze.
511988, 513261
When fusing three or more models, you may encounter cases where conflicting differences do not generate conflicts when there should be conflicts.

Workaround: Perform several sequential merge sessions in which you fuse two models at time in each session, until you have fused all of the models.

513643

 

When working with XDE, two users may create storage units with the same name in their versions of the same directory. When the users attempt to check in or deliver their work and a merge is triggered, ClearCase will prompt the user to choose between the two storage units and XDE Compare/Merge will independently ask the user to choose between the two model elements associated with those storage units. In this situation, it is important that you choose consistently. That is, if you choose one user's storage unit, then you should also choose that user's model element associated with that storage unit. For example, suppose both users created class1 as a separate unit in a file named class1.clx in their versions of the same directory. The ClearCase directory merge will ask which of the two class1.clx files should be present in the merged directory and XDE Compare/Merge will ask which of the two class1 model elements to present in the merged model. If the user chooses the first user's class1.clx file during the ClearCase directory merge, then the user should also choose that user's class1 model element during the XDE Compare/Merge session.

Note that if the model element names differ but the storage units are the same, a similar situation arises but the behavior differs. For example, both users might initially create class1 in storage units class1.clx in their versions of the same directory. Then, the first user renames the class1 model element to be myclass. The storage unit retains the name class1.clx. However, in this case XDE Compare/Merge will allow both model elements class1 and myclass into the merge result model even though the ClearCase directory merge will permit only one class1.clx to reside in the directory. The resulting model will be unable to locate the missing storage unit. To recover from this, you should rename the missing class1.clx file to some other name and then locate this renamed file using the Browse to Unit command on the shortcut menu for the model element that is missing its unit. Perform the rename using the ClearCase Explorer or at a cleartool command line so that the history of the renamed file (which includes the file with its original name) is preserved.

513914

When Rational ClearCase initiates an XDE merge session involving a diagram that is a separate unit, occasionally the diagram cannot be opened from the Model Explorer. This occurs when certain information necessary to open the diagram resides in a parent unit of the diagram unit and is, therefore, not present during the merge session.

Workaround: Once the merge session completes, you should be able to open the model and then open the diagram without difficulty.

Configuration Management
26272

If you change configuration-management options while using Rational XDE or Microsoft Visual Studio .NET, unexpected behavior may result and the new option settings may not be recognized. Microsoft is aware of this defect in Visual Studio .NET version 2002.

The following steps will reproduce the defect:

  1. Open a Visual Studio .NET project that is under source control.
  2. On the Tools menu, click Options.
  3. In the Options dialog box, click Source Control > General.
  4. Select Do nothing when checked-in items are edited and select Allow checked-in items to be edited.
  5. Modify a checked-in item in the project.
  6. Undo the modification.
  7. Return to the Options dialog box and select Prompt for check out when checked-in items are edited.
  8. Modify a checked-in item in the project.
    At this point, you would expect to see a message about checking out the modified item; however, the message will not be displayed.

Workaround: Restart the Visual Studio .NET session after modifying source-control preferences for the second time in a session.

238559

If you are using Microsoft Visual Source Safe as your configuration management software and share checked-out model files with other users, XDE may produce an error when you try to perform specific operations such as delete.

Workaround: Make the checked-out model files read-only and restart XDE.

239662

When upgrading older models, the profile upgrade process will not complete successfully if there are any missing model subunit files.

Workaround: A utility that fixes models in this state is available on the Rational Developer Network. If you cannot locate the utility, the Rational XDE v2003 Model Repair Tool, contact Rational Customer Support for assistance.

239946
Users who created cross-model references that resolve through XDE version 2002, Release 2.1 Service Release VOB-root registered locations must use a snapshot view the very first time these models are opened in XDE version 2003.06.00, which will result in these models being upgraded. Once the models are upgraded and checked in, the models can be accessed in a ClearCase dynamic view.
240362

If you are using a ClearCase dynamic view and check in a model or subunit, triggering a composite object support dialog box that attempts to add a newly separated unit to source control, the operation fails in the second dialog box.

Workaround: Add the new subunits through pending check-ins, the Solution Explorer, or the Model Explorer. You must use ClearCase Explorer to check in parent directories that the second dialog box leaves checked out. This behavior is specific to dynamic views; the triggered subunit add to source control operations work as expected using snapshot views.

240709

For enhanced model integrity, Rational recommends that you either install the most recent patches for ClearCase 2003.06.00 or disable enhanced ClearCase menus in Visual Studio .NET. To disable enhanced ClearCase menus, clear the Override source code control menu items check box on the Rational ClearCase, General page of the Options dialog box.

510701

When performing an update with multiple conflicting control units, XDE may not merge all control units. In Rational XDE Developer - .NET Edition, the composite object versioning (COV) functionality is triggered by a change in the source control status of one of the model subunits. The post-processing that is performed may not trigger all the correct merge operations. This defect applies if you are using Rational ClearCase in single-stream mode in conjunction with XDE.

For example, two (or more) users are working within XDE and using ClearCase in single-stream mode:

  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 the units separated.
  7. User1 selects the root node and saves.
  8. User1 checks in the root node and sees the following 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 her 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 names that differ from the names used by User1 (to create two conflicts).
  16. User2 checks in her 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.

Workaround: The user should perform the checkin and merge on individual subunits.

510974
If you attempt to use applications or tools external to Visual Studio .NET to perform configuration management operations, problems may result. For example, if a package is checked out from outside of Rational XDE, and then checked in using XDE, the check-in fails.

Workaround: In this case, the check-in operation will succeed if tried a second time. However, Rational recommends that configuration-management operations always be executed from within the shell.

512493

After doing a checkin, you may be prompted for another activity, with three other files still checked out in the Pending Checkins dialog box: Project1.vssscc, Project1.vspscc, and Model1.mdx.rcsiproj.cm. These three files are internal to Visual Studio .NET. This is an informational message only and no user action is necessary or required.

512637

When using the Get Latest Version command to request the latest version of a model, the subunits may not be reloaded. You may see this if your project contains a Rational XDE model with subunits under source control, and some of the subunits are known to have been updated in another view, but the model file has not changed. The following steps reproduce the problem:

  1. Open the Visual Studio.NET project that is checked into source control.
  2. Open the model.
  3. Select the model root file (.mdx), right-click, and click Get Latest Version.
    No reloading is done.

Workaround: This behavior is due to a limitation in composite object versioning (COV). Because the model file does not change as a result of the operation, the COV capability is not triggered and no other model elements are updated. If an update is required, you should select an element that actually gets updated.

512638

Under certain conditions, the composite object versioning (COV) implementation fails to update the model and its associated subunits. This problem can appear if an XDE subunit is checked in and, during checkin, a merge is performed resulting in a more recent version of the subunit being made available. In such a case, it would be expected that the model and associated subunits are updated to reflect the more recent version of the checked-in subunit, which may contain changes affecting the model integrity.

Preconditions for this defect are as follows:

  • A ClearCase VOB is available.
  • Each user has their own snapshot view on that VOB.
  • Visual Studio .NET is configured to use Rational ClearCase.

The following is a scenario in which this problem may appear:

  1. User1 creates a new project, P1, and its associated solution.
  2. User1 adds the solution to source control.
  3. User1 creates a new model, M1.
  4. User1 creates a package, P1, and makes it a separate unit.
  5. User1 checks in the model.
    The model is checked in, along with all other subunits.
  6. User2 updates his view to get the latest version of the model.
  7. User2 starts Visual Studio .NET and opens the solution.
  8. User2 opens the model.
  9. User2 checks out P1.
  10. User2 adds package P2 under package P1 and makes it a separate unit.
  11. User2 checks in the model.
    The model is checked in, along with all other subunits.
  12. User1 checks out P1.
    A dialog box is displayed indicating that a more recent version of the file is available. The user is asked to select whether to check out the current version in view, or the new version.
  13. User1 opts to check out the current version of the package.
  14. User1 adds a class, C1, to package P1.
  15. User1 checks in P1, selecting to keep the subunit checked out.

Instead of this result, the preferred outcome would be for User1's version of package P1 to be merged with the version created by User2 so that both class C1 and package P2 are now part of the package. The model and its associated folder would be updated to bring in package P2's file. The model would be reloaded and both package P2 and class C1 would be visible in User1's workspace. All of model M1's subunits would then be checked in except for P1.

512740

When you add a new Rational XDE model to a project that is under source control, you are prompted to check out the associated solution file.

Workaround: Choose to check out the solution file and proceed.

513319

A Rational XDE model’s subunit files will not be updated if you use the Visual Studio .NET Open from Source Control command (on the File > Source Control menu) on a project that is stored in a Visual SourceSafe repository and that already exists in the working directory.

This defect applies to Rational XDE users who place their models under Microsoft Visual SourceSafe source control. It occurs under the following conditions:

  • A solution and project already exist under Visual SourceSafe source control.
  • The solution and project have already been opened from source control and their files can be found in the working directory.
  • The project contains a Rational XDE model with subunits.
  • A more recent version of the Rational XDE model exists in the repository.

If you then open the Visual Studio. NET project by clicking File > Source Control > Open from Source Control, then the Rational XDE model is updated, but not its subunits.

Workaround: Manually update the working directory using Visual SourceSafe commands before opening the project. This will ensure that all Rational XDE model subunits are also refreshed in the working directory.

513367

Users who place their models under Rational ClearCase source control and select the Keep items checked out when checking in check box on the Source Control, General page of the Options dialog box may see the following problem: Tthe composite object versioning (COV) functionality provided within Rational XDE will not execute the first time when checking in a newly created subunit that was previously checked in as a result of COV execution.

Workaround: Refresh the configuration management status of newly created subunits that are involved in a COV operation. This problem is due to how Visual Studio .NET handles files under source control.

514765

Subunits should not be added to models that are solution items (that is, models owned directly by a solution rather than a project). If you do add subunits to models that are solution items, when you reopen the solution, the following error message will be displayed for each separate subunit that XDE attempts to open: "The selected file is a Rational XDE unit file and cannot be opened separately in Rational XDE. Please open the corresponding model file (.mdx) instead." These warnings can be ignored, but it is much better to avoid subunits altogether in this situation.

Data Modeling
240103

When you use JDBC for DB2 connections, you must verify that the XDE JDBCdriverpath points to the DB2 client. To do this, follow these steps:

  1. Before running XDE, click Start > Run, and type regedit.exe.
  2. Go to the HKEY_LOCAL_MACHINE\SOFTWARE\Rational Software\XDE\AddIns\Data Modeler registry key, click the JdbcDriverPath value, and then verify that this path is valid and points to your db2java.zip file.
241098

If you have no existing data model, the Class to Table Transformation dialog box does not open when you use the Class to Table command on the Transform menu.

Workaround: Create a data model and use the command again.

Documentation
134957

Help topics describing the Visual C++ functionality in Rational XDE are included as part of the XDE online Help system even though the VC++ functionality is not supported in this release of XDE. These topics are marked for technical preview. The technical preview release of XDE with VC++ functionality is available as a separate product. It will be included with XDE in a future major release.

242208

The online Help for Data Modeling states you can assign a domain to an attribute in a logical data model. This functionality is not supported.

Installing and Uninstalling
58682
The administrator who installs Rational RequisitePro as part of the RequisitePro-XDE Integration should launch RequisitePro before a user without administrator permissions attempts to use RequisitePro from Rational XDE. Failing to do this may cause XDE to freeze.

223368 (65785)

Due to the installation image's large files, Rational recommends temporarily disabling the active scanning feature of your anti-virus software prior to installation. If you do not disable this feature, the installation could remain in an incomplete state.
236721

The following error occurs when an excessively long install pathname is specified:

Error 1320. The specified path is too long <pathname>

If the installation is then cancelled by clicking Cancel, the installer will exit, but the folder %INSTALLDIR%\RCSI\ and its contents will remain on the system. The RCSI folder and its contents should be deleted manually.

236727
The installer does not check to see if the destination install directory is a valid Windows directory. If a bad directory name is entered—for example, one with bad characters—the install may complete, but the installed product will probably not work correctly.
237629

If you have installed the Visual Studio .NET edition of XDE, followed by an install of XDE for Java, on the same system, the file associations for the .mdx and other modeling files are now associated with the XDE for Java product. If you uninstall the XDE for Java product, the icons associated with the file associations are uninstalled. This leaves the VS .NET edition of XDE functional, but some file icons are missing and are displayed with Windows generic icons.

Workaround: To restore the icons, reinstall the XDE for VS.NET product.

241162
Use of the Microsoft Windows XP "Run As" feature is not supported by the Rational Installer for Rational XDE version 2003. Please log in to an account with local admininstrative priviledges and run setup directly from this account.
447036
XDE will not work properly if it is installed into a folder on a network share. Use a local drive instead.
447417
The following issue only applies to the Rational XDE Developer Plus Edition: To correctly configure a SitePrep area for XDE, Rational recommends that you do not use SitePrep.exe directly. Use Setup.exe and select Enterprise Install mode to create the SitePrep area. If you use SitePrep.exe directly, the SitePrep area may not be properly configured and an install performed from the improperly configured area may hang.

Workaround: If you want to use SitePrep.exe directly, it is critical that you configure the shell selection for Rational XDE and Rational PurifyPlus (if installing the Developer Plus Edition) to include only shells known to be present on the target systems that will use the SitePrep area for their install. Do not accept the defaults for the Rational PurifyPlus shell configuration; you must modify the defaults to reflect only shells that are known to be present on the target systems. PurifyPlus shell selection defaults to all supported shells. If you run setup using a SitePrep file that assumes the target machine has all of the shells, and it does not, the problem occurs.

593408, (78359),
594321, (80161)
If you install both the Java and .NET editions of XDE on the same system, round-trip engineering tools for both editions appear in both editions' toolboxes. For example, C# tools and Java tools appear in both environments. However, the tools only work in the environment for which they are supplied.
596111, (83538)
When installing XDE, do not use the # character in your install path.
Internationalization
595383, (82143)
When downloading the Java plug-in required for Web publishing, if you are running a Japanese operating system, you must choose the International version of JRE from the Sun Web site (for Netscape) or select the appropriate Locale (for Internet Explorer). See defect 591378 for information on the Java plug-in requirement.
236978
Installation of XDE will succeed only if the pathnames for Enterprise or Silent Install locations do not contain Japanese or multibyte characters. Similarly, if you copy the CD image to a share and attempt installation from such a path, the share name must not contain Japanese or double-byte characters. If you share the CD drive of a machine so that others can map to it to perform an install, the share name must not contain Japanese or double-byte characters.
240169, 240232,
240590, 594953, 595310, 596012, 596551
XDE cannot be installed into a path that includes Japanese, double-byte, or extended characters. (Also see defect 241144.)
449850

A Rational XDE diagram that contains Japanese or double-byte characters may not display correctly if you copy the diagram and paste it into Microsoft Word. (This is an issue for Japanese and English versions of Word.)

Workaround: Select all shapes, change the font for the selected shapes to an appropriate font, such as MS UI Gothic, and then copy and paste the shapes into Word (or another application).

595075
In Japanese versions of Rational XDE, some characters, such as backslashes, may not print as displayed in the diagram window if the appropriate language font set is not installed on the printer.
596709 (84595)
The « and » characters are not supported in Simplified Chinese. Therefore, when you add a shape to the drawing surface, the name in the Model Explorer is prefixed by two question marks (??). Two question marks are added with each subsequent edit of the name as well.
Patterns and Code Templates
47714

A pattern can have a template parameter of Unified Modeling Language (UML) Type Association and also contain Associations with the same names in the pattern’s Root Context. When the pattern is expanded, the Root Context’s Associations are correctly replaced with the template argument values in the target area, but validation errors are reported.

Workaround: In the Pattern Explorer, set the merge behavior on the template parameter’s Association Type element to Replace. However, a side-effect of the workaround is that the associations are duplicated when the pattern is reapplied.

135407

Bindings of external code templates in models from earlier versions of the product are not being upgraded correctly. After model upgrade, the external code template bindings are still functional in the upgraded model; however, the bindings are no longer suitable for use in situations where the path from the model to the external code template needs to be indirect. Typical situations where this occurs would be when a model is under configuration management and different users view the code template using different paths, or when the code template binding is copied from one model to another via using a pattern application.

Workaround: Find all of the bindings for external code templates in the upgraded model and open the binding for each (using the edit binding command); this will cause the binding to be restored to the proper format.

237735

View elements created by application of a pattern may duplicate on reapplication of that pattern.

Workaround: In the Pattern Explorer, set the merge hint on the diagram to Replace or Preserve to discard the existing diagram and create a new one or keep the existing one and add a new one (respectively), instead of trying to merge in changes.

50679

After a user applies a pattern that has a COM Callout or expands a COM Code Template, either in preview mode or in expansion/code generation mode, any modifications to the COM .dll file are not recognized.

Workaround: Modify the file as needed and then shut down or restart Rational XDE.

50899

When a user clicks Cancel in the Apply Pattern Wizard or the Apply Pattern dialog box, a dialog box appears to ask if the user wants to save the binding. Sometimes the binding is saved when No is selected.

Workaround: Perform an undo operation or delete the added binding.

50911

When exporting RAS files with the Export Wizard, a solution is listed as a project when the Export whole projects option is selected. However, a solution cannot be successfully exported.

Workaround: Export solutions by selecting the Export individual files (artifacts) option in the Export Wizard.

50964

If two developers each add a code template to the same method contained in a configuration-management-controlled model, the code templates can be checked in but not merged. Only one of the code templates can be merged and the other must be re-bound.

Workaround: Do not allow parallel addition of code templates to the same model elements.

134791

When applying a pattern that has an RXE .NET callout, messages to report errors such as missing assembly file, missing classes in assemblies, and exceptions thrown by callout code, are not reported.

Workaround: Add output messages to the callout code to report progress.

134833

The Pattern Explorer's Update Toolbox button does not update the properties for patterns that already appear in the Toolbox.

Workaround: To update an existing Toolbox pattern item, right-click the item in the Toolbox and click Delete. In the Pattern Explorer, click the pattern’s Toolbox node and click the Update Toolbox button in the Pattern Properties window.

134864

Reapply of a pattern does not remove elements added by a previous application of the pattern. For example, a pattern adds an operation with a scripted name, get<%=attributeParamName%>, and the first time the pattern is applied the template argument for the attributeParamName template parameter is Foo and the operation getFoo is added to the model. Then, the user changes the name of the attribute to Bar and reapplies the pattern. A new operation getBar is added, but the old getFoo is not removed.

Workaround: None.

135007

Most pattern callouts and constraints, when applicable, correctly add error messages to the Output window and an error message box. However, a few messages are instead added to the Task window.

Workaround: None for constraints. For callouts, add messages and specify that they appear in the output window.

135205

When upgrading models to this release, the ownership of the first generated or added URL linked to each nested bound collaboration changes. Ownership of the link transfers to the «Asset» package that owns the nested bound collaboration. Other URLs owned by the nested bound collaboration are not changed.

Workaround: Delete any URLs owned by bound collaborations before upgrading the model and manually add them back afterwards.

135133

Changes made to patterns properties (such as Expansion Enabled or Expand Nested Bindings) in the Properties window do not always update in the Pattern Properties window.

Workaround: Close and reopen the pattern in the Pattern Explorer.

230370

The Undo command does not work in the Pattern Explorer.

Workaround: Change focus to the Model Explorer or diagram window and then perform the undo operation.

237480

Some patterns and code template dialog boxes can display intermittent sizing problems, where a subcomponent of the dialog box becomes relatively smaller than the other components.

Workaround: These sizing problems can usually be corrected by resizing the internal components, by dragging the internal sash next to the component. Often, resizing the entire dialog box will also cause the internal components to resize correctly.

239096

When you validate the Gang of Four C# Pattern, the Facade Pattern contains one or more broken references.

Workaround: Manually redefine the stimulus for Facade/SubsystemClass participants.

58765

When applying the Iterator Pattern with selected values, errors will occur in the code.

Workaround: Apply the Iterator Pattern with default values, then rename the participants as needed.

51293, 135029

For models under configuration-management control, adding more than 16 code templates to the same model may cause the 17th element to appear twice in the element’s bindings when the model is checked-in and merged.

Workaround: Do not bind more than 16 code templates to a CM controlled model element if the model can potentially be merged.

595148

Diagrams included in the Root Context may contain elements that are duplicated in the target area diagram as a result of reapplying the pattern.

Workaround: In the Pattern Explorer, set the merge hint on the diagram to Replace or Preserve. The replace behavior discards the existing target diagram and replaces it with the pattern diagram. The preserve behavior adds an additional diagram to the target area.

Round-Trip Engineering
48440, 51029
Reserved words such as "class" in C# and Visual Basic are escaped in the code using language-specific syntax (@class, [Class]). In this release of Rational XDE, the escape syntax is not stored in the model. It is not possible to generate arbitrary escape characters (for example, @template) on first-time code generation.

If a Visual Basic .NET code model that was created in a previous release of Rational XDE contains names that are escaped keywords, then upgrading the model to the current release will require some extra manual steps. In Visual Basic .NET code, identifiers that would normally be keywords are still treated as identifiers if they are enclosed in square brackets.

For example, consider the following code:

Public Class [Sub]
  Dim [Event] As Integer
End Class

A class named Sub with a field named Event is defined, even though Sub and Event are normally keywords. In earlier releases of Rational XDE, when such code was synchronized with a model, the name of the model element contained any square brackets that were in the code. Modeling the above code would have resulted in a UML class with the name [Sub] and a UML attribute with the name [Event].

In the current release of Rational XDE, square brackets are automatically removed from names in the model (while leaving the square brackets in the code). Modeling the above code will now result in a UML class with the name Sub and a UML attribute with the name Event.

However, when upgrading an existing model that was created in an earlier release, the square brackets are not automatically stripped from names in the model during the upgrade process. When the model and code are first synchronized after upgrading, Rational XDE will report validation errors by adding Task items to the Task List window. Names with square brackets (such as [Sub] and [Event]) are not legal names in the model, and the synchronization will be stopped for this validation error.

To proceed, double-click the Task item to navigate to the problem in the Model Explorer and correct the name manually. Square brackets must be manually removed from the names in the model (such as changing [Sub] to Sub). Once these changes are made, synchronization can continue without validation errors.

51443
Model root contention can result from adding, moving, or deleting classifiers in subunits. For details and a workaround, see the guidelines under Round-Trip Engineering.
RXE
239228

For generalization, dependencies and realizations, the methods/properties to access the end elements return the opposite end. Specifically:

  • IRXEGeneralization.SuperElement returns SubElement
  • IRXEGeneralization.SubElement returns SuperElement
  • IRXEDependency.SupplierElement returns ClientElement
  • IRXEDependency.ClientElement returns SupplierElement
  • IRXERealization.SpecificationElement returns ImplementationElement
  • IRXERealization.ImplementationElement returns SpecificationElement

Workaround: Use the opposite method/property.

240004

The methods IRXEReference.Resolve() and IRXEReference.getRefModel() always return Null. A call to resolve() will resolve a reference, if possible, but it will still return Null.

Workaround: To get the actual object, use the related method that provided the IRXEReference object -- for example, IRXEGeneralization.getTargetElement() for IRXEGeneralization.getTargetElementReference(). Then, from the actual object, call getModel() to get the referenced model.

RXE (Patterns and Code Templates)
134740

As designed, the OnArgumentValue callout is invoked each time the user selects an argument value in the apply pattern tools. When the OnArgumentValue callout rejects the selected argument value, it is not added as an argument value for the template parameter. However, using OnArgumentValue does not consider the existing set of values to determine whether to add a new element to that set.

Workaround: Eliminate unwanted elements later in the pattern application by adding another callout, such as a PreExpand callout.

134761

When an OnBind callout or constraint fails, the pattern designer’s failure message text correctly appears in the Output window. However, the designer’s text fails to appear in the error message dialog box that opens when using the Apply Pattern dialog box. No error message appears when using the Apply Pattern Wizard. The Apply button is enabled in the Apply Pattern dialog box even though the OnBind evaluation has failed.

Workaround: None.

135180

Unable to successfully specify the name value for a Generated element in a PreApply callout. Without the name value, generated elements cannot be created.

Workaround: None.

Visual Trace
241144
Visual Trace will cause Rational XDE to terminate at the start of a debug/run session if XDE is installed into a directory that contains Japanese or double-byte characters in the name. (Also see defect 240169.)
241476

If you are using Microsoft Visual Studio .NET 2003 and are a member of the the Debugger Users group in Windows, the list of classes you select for monitoring by Visual Trace wil not be retained once you close the Class Selection Wizard.

Workarounds:

  • Close and reopen the solution. The class selection will work as expected.
  • Run Windows as a member of the Administator group.
241395
If you are using the Rational PurifyPlus or Visual Trace features to observe a program running under Microsoft .NET Framework 1.1, the observed program may crash with an "uncaught exception" message. If the error message refers to a library called BCIEngCOR.dll and includes the error code number 0x80000003 or the words "user breakpoint," then this error is caused by a known .NET Framework defect.

Workaround: Download and install the hot fix for Rational XDE Developer Plus, "Rational XDE Developer Plus Patch 1," from http://www.rational.com/support/downloadcenter/upgrades/xde.jsp. Note that this fix can also be applied to Rational PurifyPlus for Windows, Rational Purify for Windows, Rational Quantify for Windows, and Rational PureCoverage for Windows.

440352
If you are using the Visual Trace feature on Visual Studio .NET, and your application contains C# structures, the structures do not appear in the trace sequence diagram.
446505

Visual Trace does not support tracing ASP.NET applications on the Microsoft .NET Framework version 1.1.

447942

Visual Trace is not always able to differentiate between applications launched by a user and other processes started as a result of an IDE action. This can result in Visual Trace attempting to trace processes unintentionally and displaying the following warning: "Visual Trace supports only tracing one application at a time. Please stop all other applications being traced and restart the application."

Workaround: For this reason, it is always best to engage trace recording just prior to running your application and to end it immediately afterward.

513464
Lifelines in Trace Sequence Diagram that do not have any messages to or from them, as a result of post-filtering operations, will not be included on a sequence diagram created through the Generate Sequence Diagram operation.
513630
When tracing ASP.NET applications, the first and second trace sequence diagrams produced following the startup of Visual Studio .NET may not include information to be able to browse to code. The third and subsequent trace sequence diagrams will have the appropriate information and the Browse Code menu item will be available from the trace sequence diagram.
514229

In Microsoft Visual Studio .NET 2003, selecting many C# classes from the same namespace (for example, 500 or more) in the Class Selection pane of the Visual Trace Wizard may result in exhausting virtual memory and various error messages. This problem is due to Microsoft SR#12455 defect 129398.

Workaround: Select fewer classes at one time.

514577

Visual Trace uses a socket to connect to the application being traced. If a connection cannot be established, the following warning is displayed: "Visual Trace could not establish a socket connection with target."

Workaround: Consider the following options:

  • Disable your local firewall.
  • Configure your firewall to allow socket connections from the Rational XDE application.
  • Configure your local firewall to accept connections on ports between 5001 and 15001.
  • Disable other software that may be conflicting with ports between 5001 and 15001.
Web Publishing and Reporting
(71502), (79902), (85797), (85867), 591378, 594158, 597257, 597295
The publishing function requires the Java Plug-in. The Java Plug-in is not included in the Rational XDE installation. If you attempt to use the publishing capabilities before you have the plug-in, one of these will happen:
  • The Java Plug-in installation wizard starts and leads you through the installation process. (Internet Explorer)
  • You are connected to the Sun Web site to download the Java Plug-in. (Netscape Navigator) 

Workaround: Download the Java Plug-in from the Sun Web site, http://java/sun.com/products,  before you use the publishing/reporting capabilities.

Although the applet is signed by Rational, it could happen that the default security settings for the Java Plug-in version 1.4 do not allow read permission. Workaround: See the instructions under Restrictions and Guidelines on Using this Release, Web Publishing and Reporting.

(84246), (86198), 596528, 597457

A model element name that contains an single quote (‘) is truncated at that single quote in the published model tree.

Workaround: Do not use a single quote in a model element name.

(85508) , 597125

You cannot display published models using UNC paths. The Java tree will not load as expected.

Workaround: Map a network drive to the remote machine to view it from a remote system or copy the published model to a local machine to view it locally.

(85176), (86419) , 596972, 597557

In rare cases, when you publish multiple models successively, you may get the following message, which prevents you from performing any further actions in the model: "A read action is open on behalf of client ‘RSE Client’."

Workaround: Exit and restart Rational XDE.

(87286), (87521) , 597948, 598061

The Getting Started sample model file may not publish completely when published more than once during the same Rational XDE session.

Workaround: If you want to publish the Getting Started model a second time, close and reopen Rational XDE to create a new session.

(87337), (87519) , 597968, 598060

If a user name contains an extended character, a path error occurs. This prevents successful publishing and reporting of models and results in the following message: "ParameterFile.txt\ProjectConsole.ini does not exist."

Workaround: In your user directory, there are two folders based on such a user name: one with the extended character presented correctly (for example: Administratör) and one with the extended character presented incorrectly (for example: Administratör). Copy the ProjectConsole.ini file from the incorrectly named folder to the correct folder.

(87410), (87819) , 598009, 598224
Hotspots are created in Generated Reports as well as in Published sites. These report hot spots are incorrect and link to nonexistent files. The generated report will, however, display and print correctly.
(87752), (87858), 598186, 598244
Hotspots are currently not supported on activities contained within swimlanes.
241330

If you are using an installation of Rational XDE that was installed by another user, you may be prompted to install additional components when you attempt to publish a model. The suggested installation is unnecessary; you should click Cancel. Publishing will then proceed normally.

If you allow the process to finish by not clicking Cancel, a second dialog box appears that suggests a restart. You should click No. If you click OK, XDE restarts and the published model is incomplete.

372979

In a published model, displays that rely on a relationship with a MessageEnd object fail. These failures include:

  • A sender/receiver table.
  • Sequence elements in a sequence diagram that contains a reference between an operation and a message.
373221

If you have installed both Rational Suites and Rational XDE, uninstalling either product will result in failed graphics support for reporting, including diagrams.

Workaround: Reinstalling the product that was removed will resolve this limitation.

374053

If you use Netscape 6.0 as your default browser, and you generate a report or publish a model with the option to "open ... upon completion," Netscape opens behind other windows.

Workaround: Bring the Netscape window to the front by clicking in the status line or by using Alt+Tab. Alternatively, set Internet Explorer as your default browser.

General XDE
14296
When you set the Rational XDE Toolbox to “float” using the Floating command on the Window menu, and then make the Toolbox smaller, the resized Toolbox does not contain a scroll-down button so you can access the other tabs that contain shapes.
25105
Attempting to use Rational XDE in Visual Studio .NET while logged in using a Guest account will result in a Package Load Failure Error dialog box. Dismissing the dialog box results in another error dialog box. This prevents you from using XDE with a Guest account. This is a known issue with Visual Studio .NET.
50796

During memory-intensive use of Rational XDE, the Java virtual machine (JVM) may produce an "OutOfMemoryError" error message.

Workaround: By default, the maximum size allowed for the JVM is 256 MB. The -Xmx option can be used to increase the memory available to the JVM. To increase the -Xmx option, go to the following registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Rational Software\RJCB\JVMs\XdeJavascriptJvm

Modify the string value named JvmOptions (there should be other options present in this string value). You can increase the -Xmx$m option, where $ is the amount of memory, in megabytes, for the JVM to use. For example, to set it to 512 MB, change the string from -Xmx256m to -Xmx512m.

51429

When upgrading a model (.mdx file) from a past release of Rational XDE, you may see the
following error message, and the model fails to load: "Modeler Error: Failed to load model file <path>."

Workaround: Using the current release of Rational XDE, open the solution in which the model file resides. When you open the model, it will be upgraded and open correctly.

(57053), (26760), (26931)
Rational XDE will not print dashed lines correctly on some printers. This is noticeable for UML dependencies and messages.
58722

The Options dialog box may fail to open when the user clicks Tools > Options in Microsoft Visual Studio .NET 2002. The problem is that VS .NET 2002 supports only about 64 options pages. Each page is identified by a registry entry in the following registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\7.0\ToolsOptionsPages

On a standard VS .NET installation, with XDE installed, almost all of the options pages are consumed. Installing additional third-party software may trigger the described defect.

Workarounds:

  • Uninstall third-party software.
  • Manually remove some of the registry entries for pages that are not used.
  • Upgrade to VS .NET 2003.
  • Check for a fix from Microsoft in future service packs for VS .NET 2002.
(71118)

When the zoom factor for a sequence diagram is set to 75% or 50%, you may encounter auto-sizing issues with the box at the top of a lifeline. A long name will appear elided in the box, rather than the box auto-sizing to accommodate the text.

Workaround: Adjust the zoom factor slightly and the box will correctly auto-size.

(73746), (73381)

When copying diagram content across Windows Terminal Server or Remote Desktop Connection to a local application, such as Microsoft Word, portions of the shapes and connectors are missing in the pasted image.

(77069, 77219, 83365, 84240, 84569)
You cannot open models by double-clicking on their files outside of XDE.
81963
Renaming a Toolbox shape with a name longer than 90 characters causes Rational XDE to crash while the Toolbox shapes are in icon view.
135018
In some cases, when you import a Rose model into XDE, an attribute's type specifiers (*, & , []) are removed. This can happen when aggregation is used and *, &, or [] is used on the member objects, or if the type itself is in the model and the .mdl file you are importing is from a recent release of Rose.
217562 (28247)
To be able to open an .rtf file after the file has been added to Rational XDE, you must edit the path name to the shell's Open command for the .rtf file. The path name must be enclosed in quotes.
227795 (78248)

Some Rational XDE operations are case-sensitive, which can lead to errors or problems with model dependencies. For example, if you delete a project and then re-create the project using the same name, but not the same case, the dependencies between models are lost.

Workaround: Use consistent capitalization when naming projects to prevent such problems.

236849

Attempting to save model templates with unsupported characters in the name (such as "ÿ" ALT+0255) will result in the New File dialog box disappearing without saving the model template file. No error is reported.

Workaround: Avoid using unsupported characters in model template file names.

238301

The cross-model reference adornment is not displayed in the correct position in the print preview or when you paste the shape into other applications such as text editors.

238555

When you open a saved model that initiates specific internal processes to open a diagram, the model appears in the unsaved or modified state (with an asterisk next to the model name in the Model Explorer), even if you made no modifications to the model. You can safely save or discard the changes without data loss.

Workaround: Save the model again. The next time the model is opened it opens in the saved state.

238740

When you work with subunits, it is recommended that you save your work by using the Save All command on the File menu. If you use the Save command (or Ctrl+S), your work may not be saved consistently.

For example, you may change one subunit, which results in changes in two other subunits. If you save only the first subunit and not the two others, the files saved on disk will be inconsistent with one another. If, instead, you use the File > Save All command, all three changed files will be saved to disk and the files on disk will be consistent with one another.

239534

You can upgrade models created with previous versions of Rational XDE to Rational XDE version 2003. Before you begin the model upgrade process, verify that the read-only attribute is not set on any model files participating in the model upgrade process. For more information, see Rational XDE Help on upgrading models.

240108
Rational recommends that you not save models into the Miscellaneous Files folder.

240402

When you save a converted Rose model (.mdl) file, the Save As dialog box does not have the correct file extension specified for the target model. The correct file extension should be .mdx. If you continue saving without correcting the file extension, you will be prompted to save the converted .mdl file as an .mdx file. However, the saved .mdx file will not replace the .mdl file in the project as you would expect.

Workaround: Manually add the .mdx file to the project by using the Add Existing Model or Add Existing Item command.

240476

When editing the same model in two different instances of Visual Studio .NET, in parallel, a reload will not be performed when the model is changed in the other instance if the model being edited is part of a Miscellaneous Files project.

Workaround: Ensure that the model is part of a language project, not a Miscellaneous Files project.

241211

You are prompted to check out the file if you open a diagram within a source-controlled model and page breaks must be updated due to prior changes in the diagram elements. However, clicking Cancel does not dismiss the dialog box. (This happens if the Prompt for check out setting is selected on the Source Control, General page of the Options dialog box.)

Workaround: Click OK to check out file.

511588
In some cases, when XDE tool windows (such as the Model Explorer) are docked with Visual Studio .NET tool windows (such as the Solution Explorer) and auto-hide is enabled, changing focus between the docked tool windows and other toolbars may cause Visual Studio or your computer to stop responding. This is a known issue with Visual Studio .NET.
514290
Do not delete or rename the model folder from within the Solution Explorer. If you do so, any associated subunit references will be invalid.
589765 (55216)
If you use the High Contrast display option for Windows 2000 Accessibility, the cursor is not visible in Rational XDE diagrams.
589837 (56712)

Changing line style of connector from oblique to rectilinear is not always optimal if the oblique line contains only right angles. Changing line style from oblique to rectilinear can reroute the connector, even when the line consists only of right angles. The line routing optimizes for shortest path and will reroute complex right-angled routings when performing the conversion.

Workaround: Manually adjust line routing to suit.

590299 (61999)
Rational XDE creates message connectors in a sequence diagram using the oblique style. Do not manually change the line style to rectilinear as the layout results are unpredictable.
592401 (75906)
When a call event is set with a reference operation (by dragging and dropping an operation onto a transition), the event name shown on the drawing surface or the Model Explorer is the reference operation name; the actual event name is displayed in the Property window. If the reference operation's name changes, the call event's displayed name in the drawing surface and Model Explorer also changes accordingly.
592414 (75944)

If you open a template model (for example, visualmodel.mdx or GettingStarted.mdx) directly from Windows Explorer, the file is immediately updated as a non-template model. Any models created from a template that was opened in this way will have the same model identifier (GUID), which will cause failures with certain cross-model references.

Workaround: Do not open template models in Windows Explorer. If you have already done so, reinstall the template model from the product CD.

Defects Fixed in this Release

The following table describes the defects fixed in this release.

Category

ID

Description

Code Templates
86074
At code template expansion time, if there are errors, the error line number reported is not always correct.
86889

When binding a code template parameter with a string that contains a comma, the text after the comma is truncated. For example in a string such as "this.a=A, this.b=B", only "this.a=A" will be bound. The problem also occurs if semicolons are used in the string parameter.

Workaround: use some other delimiter and convert that delimiter to the one you want within the code template body, or, where feasible, use multiple template parameters.

Compare and Merge
66277

If you are comparing and merging a model with deeply nested elements, there may be the possibility of a crash (entire shell disappears) or a lockup. Deeply nested elements are those with over 80 levels of nesting. The compare and merge session can be invoked either directly, or by the ClearCase Type Manager. This problem is caused by the limited stack size of 256Kb provided by javaw.exe. For most users, this is an unlikely scenario. The following workaround is available for the out-of-stack-space problem:

  1. Save a copy of the original server executable, javaw.exe in the C:\Program Files\Rational\common\java\jre1.3.1_02 bin subdirectory.
  2. Change the thread stack size by running the following command at the command line in the bin subdirectory: editbin /stack:1048576 javaw.exe where 1048576 is the new stack size, specified in bytes. Increasing the stack size to 1048576 will allow the nesting of elements to a depth of well over 100 levels. If your models are nested deeper than this and you are still encountering the problem, consider organizing your model to avoid deep nesting, or further increase the stack size as necessary. Excessive increases of stack size (over 4MB) may result in performance degradation.
  3. You can confirm the new setting by running the Microsoft dumpbin utility, which is included with Microsoft Visual C++. Run the following command: dumpbin /headers javaw.exe In the output, the stack size appears in hexadecimal format on a line such as this: 100000 size of stack reserve.
83420

Rational XDE does not automatically resolve inter-model references to the new location of a referenced model, when the referenced model is copied (as opposed to moved) from one physical location to another. For example, suppose you have two models, Model A and Model B, in your development view and Model A references Model B (an inter-model reference). When you deliver the projects containing these models to the integration stream, the inter-model reference in Model A will continue to point to the version of Model B that is in the development stream. If the development and integration streams are not synchronized, this can cause errors or data loss.

Workarounds: When accessing the models in the integration view, set the Location Registry for both models to the integration view. When accessing the models in the development view (for example, when rebasing from the integration stream), set the Location Registry for both models to point to the development view in which you will be working. To set the Location Registry, highlight the model in the Model Explorer; then, on the main menu, click Modeling > Location Registry. See the Rational XDE Help for more information.

89539
When one or more elements in a collection have been deleted in one compare/merge contributor, and more than one element has been added at the same location in another contributor, during the compare/merge, unless other rules (for example, parameter matching) are in effect, the new elements will be added to the merge result in the wrong order. However, no data is lost.
Configuration Management
88055, 90056
Rational XDE will not launch if non-alpha numeric characters are used in the install path. No warning is given during installation.
69389
If you perform a Save All operation when the model contains new subunits that have not yet been saved, the project is saved first, and then the subunits are saved. However, saving the new subunits after the project has been saved updates the project again. Therefore, you need to save the project again.
69975

Adding a project from source control, or opening a file from source control from within Rational XDE sometimes results in an infinite loop.

Workaround: When the Browse for Folder dialog box is displayed, do not press Cancel. Instead, select a folder that is neither in a view location nor in the My Computer root directory and press OK. You will get an error message stating that the project must be in a view. When you press OK to release the message, you exit the loop as well.

73670

When adding a solution to source control, Visual Studio .NET first adds several temporary files to source control. Two of these files are sometimes left in the checked out state by Visual Studio .NET with ClearCase 4.2.

Workaround: Depending on your ClearCase settings, you may need to manually undo the checkouts on these files through ClearCase itself, rather than through XDE in order to perform a Deliver operation.

86549
If you merge models where a shape in a diagram should be resized to fit the results of the merge, the change in size is not visible immediately: It doesn't matter what you choose during the merge for (PositionalGeneralView) Extent.
87013

If there is a conflict between two stereotypes in a merge session, the stereotypes will be removed in the merged model, and you will not be notified. This situation will arise if two users are working on a model unit in parallel and each changes the stereotype of the same model element to different values. The first user to submit the changes to the repository will encounter no problems. However, the second user to submit changes will trigger a merge operation. During this operation, the two stereotypes will be discarded silently.

Workaround: Add the stereotype back to the model element.

87414
When comparing and merging model files from within Rational ClearCase, ClearCase attempts to start the Rational XDE Compare/Merge capability. You may receive the following error if you are missing the registry key that is normally created by the ClearCase installation program:
"Missing > extended naming suffix after -extNamingSuffix parameter."
Installing and Uninstalling
86673

When upgrading from Rational XDE version 2002 to Rational XDE version 2002 Release 2, you may receive a message in the Install Summary window related to the file ntvauth.dll. This message can be safely ignored and will not be seen on future upgrades.

87239
When installing Rational XDE, do not put a backslash ("\") at the end of the install path (for example, C:\Program Files\Rational\). This will result in incomplete installation of the product. Workaround: Specify the path without a trailing "\" character (for example, C:\Program Files\Rational) to ensure successful installation.
Data Modeling
84695
To do a compare and sync, the schema of the databases or the DDLs being compared must be the same. The compare and sync will not display the differences if the schema names are different.
84604

Foreign key has a keylist property in the Property browser, which can be updated so that it references the column that you want.

  1. Create 3 tables (database not relevant at this point).
  2. Draw a relationship between the tables such that 2 tables are parents of the other one.
  3. Add a primary key to the 2 parent tables.
    This should migrate the primary key and add two separate foreign keys to the child table.
  4. Select one of the key constraints in the child table. In the Property browser, change the name of the column to point to the same columns as the other foreign key.
85065

Use the following steps to multiselect tables under a single package:

  1. Sort the elements in the Model Explorer, either by Element Type or by Stereotype to group all elements together (for example, tables to tables, views to views).
  2. Select the first table in the Model Explorer, and then go to the last table. Hold down the Shift key and click the last table in the Model Explorer, which selects all of the tables needed for transformation.

Note: If you need to select tables that are not adjacent to each other, hold the Ctrl key instead of the Shift key as you click each table you want to select.

85718

View columns that contain reserved special functions cannot be forward engineered.

Workaround: Make the view user-defined by checking the User-defined check box on the General tab in the View editor before attempting to forward engineer the view.

90627
The Data Modeler Options dialog box (Tools > Options > Rational XDE > Data Modeler) does not function. Alternative procedures must be used to set the Data Modeler options for your model.
Patterns Support
65804

The Pattern Property window's single-line text fields do not support the use of the Enter or Tab keys to indicate edit completion.

Workaround: Use Control+Tab or the mouse to move the cursor to a different field or window after editing the field.

85844

When adding a new model to adding a pattern asset to it, the Use Model for Asset option in the Add Pattern Asset dialog box does not work. Instead of launching the Project Selection dialog box so that you can specify the project under which to wish to create the new model, the pattern is created under the currently selected model.

Workaround: Create a model as a Pattern Asset outside of this dialog box by changing an asset's root context to its owning model in the Pattern Explorer.

86081

The multiplicity values of Invoker, Command, Receiver, ConcreteCommand and State are not set in the GoF/C# Command pattern.

Workaround: Go to the Pattern Explorer, copy and paste the pattern into a new project, and then update the multiplicity values as follows: Command: 1, Receiver: 1, ConcreteCommand: 1..*, State: 1

86082

The multiplicity values of the Visitor, ConcreteVisitor, Element, ConcreteElement, and ObjectStructure are not set in the GoF/C# Visitor pattern.

Workaround: Go to the Pattern Explorer, copy and paste the pattern into a new project, and then update the multiplicity values as follows: Visitor: 1, ConcreteVisitor: 1..*, ObjectStructure: 1, Element: 1, ConcreteElement: 1..*

90669

Patterns menus are not updated when you install Rational XDE Professional on a machine on which Rational XDE Modeler Edition was previously installed.

Shapes
56264, 66330

Clicking on the visibility indicator of an attribute or operation on a shape in a diagram will invoke a pick list that can be used to change that element's visibility. The "hot spot" that detects the mouse click and invokes the pick list is slightly misaligned on component shapes, however.

Workaround: Invoke the pick list by clicking slightly to the right of the visibility indicator, or simply change the visibility in the Property Browser.

77353

When entering an operation name, certain syntax is not properly accepted in the class shape or the Model Explorer. For example, the name entered as "<%aClass.getName()%>" is parsed as "<%aClass.getName() : %>", which will lead to subsequent errors upon pattern expansion.

Workaround: Select the operation in the Model Explorer, and then edit the Name property as desired in the Properties window.

Visual Studio .NET Integration
23100
Visual C# indexers are not modeled in this release. You can freely use them in the source code. XDE will not modify them.
31058

There are synchronization problems with using drag and drop in the Model Explorer to change the Visual C# namespace of an existing class.

Workaround: Make your namespace changes in the code instead of the model, and then use the Synchronize command.

55830, 69828
When synchronizing member functions, you may get a synchronization error if you rename more than one function parameter or reorder the parameters.
56589
A nested class whose name is identical to its containing class will cause a synchronization error.
58359

You cannot customize toolbox using Reset Toolbox.

Workaround: Restart Visual Studio .NET.

77786, 73269

Under some conditions, using the Auto Hide feature with the Model Explorer tool window may cause the Visual Studio .NET user interface to become unresponsive.

Workaround: Click the pushpin icon on the title bar of the Model Explorer.

83297
Selecting F1 while the Code Properties window (a Rational XDE round-trip engineering window) is in focus does not call the Rational context-sensitive Help window as expected. Instead, the Visual Studio .NET Help topic for the Properties window is displayed.
90593
Text containing an ampersand (&) in the Model Documentation window causes the subsequent model documentation to be truncated when generated in the code, from the line containing the ampersand through the end of the model documentation.
Web Modeling (ASP.NET)
90112

After code exists for an element in the model, if you change the value of its ImplementationFile property and then synchronize or generate code for the element, errors are displayed in the Task List.

Workaround: To change the value of the ImplementationFile property for a particular model element, rename its corresponding file in Solution Explorer, and then reverse engineer the file.

General XDE
598017

Obsolete documentation for Adding Template Arguments for Template Parameters

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-4546-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:

Part Number: 800-026366-000