IBM Rational Rose Model Import Feature - Local installation instructions

for Rational Software Architect, Version 6.0 / Rational Software Modeler, Version 6.0

© Copyright IBM Corporation 2004, 2005. All Rights Reserved.

Contents

1.0 Overview
2.0 Installing the feature
   2.1 Installation prerequisites
   2.2 Creating policy.xml
   2.3 Configuring the Rational Product Updater to install the local feature
3.0 Creating a local mirror of the Rational Software Development Platform update server
   3.1 Downloading and extracting the files for the local mirror of the update server
   3.2 Creating and updating site.xml files for the local mirror of the update server
   3.3 Creating policy.xml for the local mirror of the update server
   3.4 Installing the feature from the local mirror of the update server

1.0 Overview

This document describes how to install a downloaded version of the IBM® Rational Rose® Model Import feature, and how to create a local mirror of the Rational® Software Development Platform update server.

Note: Some of the code samples in this document are specific to IBM Rational Software Architect. For users who work with IBM Rational Software Modeler, update variable names and directory names as appropriate.

2.0 Installing the feature

2.1 Installation prerequisites

Before you can install this feature you must install either Rational Software Architect Interim Fix 002 or Rational Software Modeler Interim Fix 002.

Installation instructions for Rational Software Architect Interim Fix 002 are available at www3.software.ibm.com/ibmdl/pub/software/rationalsdp/rsa/60/install_instruction/interim_fix002/install.html.

Installation instructions for Rational Software Modeler Interim Fix 002 are available at www3.software.ibm.com/ibmdl/pub/software/rationalsdp/rsm/60/install_instruction/interim_fix002/install.html.

Also, if you disabled any product features through the Update Manager (by clicking Help > Software Updates > Manage Configuration), or by modifying feature.xml files, you must re-enable them before you install this feature.

2.2 Creating policy.xml

To create the policy.xml file, complete the following steps:

  1. Navigate to <temp_dir>\rsa\, where <temp_dir> is the location of the extracted feature.
  2. Open policy_rmi.xml in a text editor.
  3. Edit the file to point to where you extracted the feature. For example, if you extracted the feature to C:\temp, your modified file will be similar to the following example:


  4. <?xml version="1.0" encoding="UTF-8"?>
    <update-policy>
    <url-map pattern="com.ibm.rational.software.architect.discovery" url="file:///C:/temp/rsa/60/discovery/site_rmi.xml"/>
    </update-policy>


    Note: On Linux operating systems, if you extracted the feature to the root directory, your modified file will be similar to the following example:

    <?xml version="1.0" encoding="UTF-8"?>
    <update-policy>
    <url-map pattern="com.ibm.rational.software.architect.discovery" url="file:///root/rsa/60/discovery/site_rmi.xml"/>
    </update-policy>


  5. Save the updated file as policy.xml. Keep the original policy_rmi.xml file as a reference.
  6. Close your text editor.

2.3 Configuring the Rational Product Updater to install the local feature

Install the feature with the same user account that installed Rational Software Architect or Rational Software Modeler.

Restriction: On Windows® operating systems, this account requires Administrator privileges. On Linux operating systems, you must use the root user account.

To install the feature, complete the following steps:

  1. Start the IBM Rational Product Updater.


  2. Attention: If you start the Rational Product Updater from the product main menu (by clicking Help > Software Updates > IBM Rational Product Updater), you must close Rational Software Architect or Rational Software Modeler. Rational Software Architect or Rational Software Modeler cannot be open when you install this feature.

  3. Click Preferences > Update Sites.
  4. Type the path to the updated policy.xml file that you created in the previous section.
  5. Click OK.
  6. Click Find Optional Features.
  7. Select IBM Rational Rose Model Import.


  8. Tip: To view the description for this feature, click the feature. The description is displayed in the Detailed information pane.

  9. Click Install Features.
  10. To accept the license agreement and continue the installation, click OK.


  11. Depending on the speed of your computer processor and the amount of RAM in your computer, the feature might take an extended period of time to install.

    After the installation is complete, the Rational Product Updater lists the installed features on the Installed Products page.

  12. Close the Rational Product Updater.

3.0 Creating a local mirror of the Rational Software Development Platform update server

You should create a local mirror of the Rational Software Development Platform update server if either of the following conditions is true:

3.1 Downloading and extracting the files for the local mirror of the update server

To create a local mirror of the Rational Software Development Platform update server, download the updates in the following tables:
Rational Software Architect update FTP location
Interim Fix 002 - IBM Rational Product Updater ftp://ftp.software.ibm.com/software/rationalsdp/updater/60/zips/rpu_ifix0002.zip
Interim Fix 001 - IBM Rational Software Architect ftp://ftp.software.ibm.com/software/rationalsdp/rsa/60/zips/rsa60_interim_fix001.zip
Interim Fix 002 - IBM Rational Software Architect ftp://ftp.software.ibm.com/software/rationalsdp/rsa/60/zips/rsa60_interim_fix002.zip
IBM Rational Rose Model Import ftp://ftp.software.ibm.com/software/rationalsdp/rsa/60/zips/rsa60_rose_mi_ifeature001.zip
IBM WebSphere® Business Integration Modeler Integration ftp://ftp.software.ibm.com/software/rationalsdp/rsa/60/zips/rsa60_wbi_import_ifeature001.zip
Rational Software Modeler update FTP location
Interim Fix 002 - IBM Rational Product Updater ftp://ftp.software.ibm.com/software/rationalsdp/updater/60/zips/rpu_ifix0002.zip
Interim Fix 002 - IBM Rational Software Modeler ftp://ftp.software.ibm.com/software/rationalsdp/rsm/60/zips/rsm60_interim_fix002.zip
IBM Rational Rose Model Import ftp://ftp.software.ibm.com/software/rationalsdp/rsm/60/zips/rsm60_rose_mi_ifeature001.zip
IBM WebSphere Business Integration Modeler Integration ftp://ftp.software.ibm.com/software/rationalsdp/rsm/60/zips/rsm60_wbi_import_ifeature001.zip

After you download the updates, extract the files to a target directory that will stage your local mirror of the Rational Software Development Platform update server.

Attention: You must download the IBM Rational Product Updater Interim Fix 002.

Note: You can extract all the updates to the same target directory. The updates do not overwrite each other.

3.2 Creating and updating site.xml files for the local mirror of the update server

Generally, an update site and a discovery site exist for each product. The update site contains interim fixes and the discovery site contains optional features.

Note: There is no discovery site for updates to the Rational Product Updater.

Each downloaded interim fix contains a site_<identifier>.xml file in the <product>\60\update\ directory, and each downloaded feature contains a site_<identifier>.xml file in the <product>\60\discovery\ directory, where <identifier> identifies the interim fix or feature and <product> identifies the product. The site_<identifier>.xml files for updates to the Rational Product Updater are located in the rpu\60\update\ directory.

The update site and the discovery site each require a separate site.xml file. To create each site.xml file, you must combine the <feature/> information from the appropriate site_<identifier>.xml files.

To create or update a site.xml file, complete the following steps:

  1. Open each site_<identifier>.xml file in a text editor.
  2. Copy the <feature/> information from each file into a new file named site.xml in the same directory. If the directory already contains a file named site.xml, copy the <feature/> information into the <site></site> section of that file.


  3. For example, the following code displays the result of copying the <feature/> information from rsa\60\discovery\site_rmi.xml and rsa\60\discovery\site_wbi.xml into rsa\60\discovery\site.xml:

    <?xml version="1.0" encoding="UTF-8" ?>
    <site>
       <!-- Rose Model Import -->
       <feature id="com.ibm.rational.rose.model.import" version="6.0.0.0" url="features/com.ibm.rational.rose.model.import_6.0.0.0.jar"/>
       <feature id="new.rose.model.import.600" version="1.0.0" url="features/new.rose.model.import.600_1.0.0.jar"/>
       <feature id="new.rose.model.import.win32.600" version="1.0.0" url="features/new.rose.model.import.win32.600_1.0.0.jar"/>

       <!-- WBI -->
       <feature id="com.ibm.rational.wbi" version="6.0.0.0" url="features/com.ibm.rational.wbi_6.0.0.0.jar"/>
       <feature id="new.wbi.600" version="1.0.0" url="features/new.wbi.600_1.0.0.jar"/>
    </site>


    Note: The order of the feature information is not significant.

  4. Save and close the updated site.xml file. Keep the original site_<identifier>.xml files for reference.
  5. Close your text editor.

3.3 Creating policy.xml for the local mirror of the update server

Each downloaded interim fix and feature contains a <product>\policy_<identifier>.xml file that references site_<identifier>.xml. You must combine all of the policy_<identifier>.xml files into a single policy.xml file. After you create this file, you can use it for all product updates and reference the site.xml file that you created in the previous section.

To create the policy.xml file, complete the following steps:

  1. Open a <product>\policy_<identifier>.xml file with a text editor.
  2. In the main directory of your mirror site, save the file as policy.xml.
  3. Edit the URL map to point to site.xml instead of site_<identifier>.xml. Ensure that you specify a universally accessible absolute path to site.xml. For example, if your mirror site is on a Web server named server1, your policy.xml file will be similar to the following example:


  4. <?xml version="1.0" encoding="UTF-8" ?>
    <update-policy>
       <url-map pattern="com.ibm.rational.software.architect.update" url="http://server1/rational_updates/rsa/60/update/site.xml/">
    </update-policy>


  5. Duplicate the URL map and edit the copy to point to the discovery site:


  6. <?xml version="1.0" encoding="UTF-8" ?>
    <update-policy>
       <url-map pattern="com.ibm.rational.software.architect.update" url="http://server1/rational_updates/rsa/60/update/site.xml/">
       <url-map pattern="com.ibm.rational.software.architect.discovery" url="http://server1/rational_updates/rsa/60/discovery/site.xml/">
    </update-policy>


  7. For each product that can be updated from your local mirror of the Rational Software Development Platform update server, create two URL maps (one for the update site and the other for the discovery site). The patterns are provided in each <product>\policy_<identifier>.xml file.
  8. Create a URL map for the updates to the Rational Product Updater by typing a publicly accessible absolute path to its site.xml file.


  9. <url-map pattern="com.ibm.orca.product.updater" url="http://server1/rational_updates/rpu/60/update/site.xml"/>

  10. Save the policy.xml file.
  11. Close your text editor.

3.4 Installing the feature from the local mirror of the update server

After the local mirror of the Rational Software Development Platform update server is available for use, users can install the feature by using the following instructions.

Install the feature with the same user account that installed Rational Software Architect or Rational Software Modeler.

Restriction: On Windows operating systems, this account requires Administrator privileges. On Linux operating systems, you must use the root user account.

To install the feature, complete the following steps:

  1. Start the Rational Product Updater.


  2. Attention: If you start the Rational Product Updater from the product main menu (by clicking Help > Software Updates > IBM Rational Product Updater), you must close Rational Software Architect or Rational Software Modeler. Rational Software Architect or Rational Software Modeler cannot be open when you install this feature.

  3. Click Preferences > Update Sites.
  4. Type the path to the policy.xml file that is in the main directory of the local mirror of the Rational Software Development Platform update server.
  5. Click OK.
  6. Click Find Optional Features.
  7. Select IBM Rational Rose Model Import.


  8. Tip: To view the description for this feature, click the feature. The description is displayed in the Detailed information pane.

  9. Click Install Features.
  10. To accept the license agreement and continue the installation, click OK.


  11. Depending on the speed of your computer processor and the amount of RAM in your computer, the feature might take an extended period of time to install.

    After the installation is complete, the Rational Product Updater lists the installed features on the Installed Products page.

  12. Close the Rational Product Updater.