IBM Support

Migrated projects from ClearCase showing as plain projects in Rational Application Developer

Troubleshooting


Problem

This technote explains why projects migrated from previous versions of IBM® Rational® Application Developer (RAD) to version 7 using Rational ClearCase® show up as normal Java projects in the Project explorer view.

Cause

When projects are imported from ClearCase to RAD 7.x workspaces, files inside various projects are not really "checked-out" and they are marked as read-only.

Since autobuild is enabled by default in RAD, once projects are imported into the workspace, the build process (which includes the migration process) starts immediately.

The migration process will update certain files, for example, the .project file. Since those files are read-only, the migration process will not be able to complete successfully, which will result in many unexpected errors.

Resolving The Problem


  1. Turn autobuild off
  2. Check out the various projects requiring migration from ClearCase
  3. Ensure that all the .xxx files (especially any .project and .classpath files) are NOT read only
  4. Run a build, or re-enable auto build.
  5. If the EAR projects have not been migrated then open the .project file and manually add the following snippet and then run another build.


    <buildCommand>
    <name>com.ibm.etools.common.migration.MigrationBuilder</name>
    <arguments>
    </arguments>
    </buildCommand>

What should be happening is that during the initial build process, the migration builder should prompt for check out the files (from ClearCase) that it is about to update. What maybe happening is that it is just by-passing them, and continuing the build process.

[{"Product":{"code":"SSRTLW","label":"Rational Application Developer for WebSphere Software"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Installation","Platform":[{"code":"PF033","label":"Windows"}],"Version":"7.0;7.0.0.1;7.0.0.2;7.0.0.3;7.0.0.4","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SSYK2S","label":"Rational Software Architect Designer"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Install \/ Migration","Platform":[{"code":"PF033","label":"Windows"}],"Version":"","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
10 September 2020

UID

swg21285443