Moving an Eclipse project into Rational ClearCase

When you move an Eclipse project into a ClearCase repository, the project contents are placed in the copy area of a ClearCase view, where they can be added to source control and shared with your team.

Before you begin

If you are using a Web view, you must connect to the CCRC WAN server to export an Eclipse project to Rational ClearCase.

Procedure

To move an Eclipse project into Rational ClearCase:

  1. In the Eclipse Package Explorer, select the project and then click Team > Share Project.
  2. In the Eclipse Share Project dialog box, select ClearTeam Explorer as the repository type and then click Next.
  3. In the Move Project to ClearCase dialog box, select a ClearCase view for the project. The view should be one that is associated with the Eclipse workspace from which you are moving the project. For more information, see ClearCase views and Eclipse workspaces.
    • To use an existing ClearCase view that is already connected to the CCRC WAN server, select it from the list and click Next.
    • To use an existing ClearCase view that is not connected to the CCRC WAN server, select it from the list and click Login to open the Log in dialog box. After the view is connected, click Next.
    • To create a new base ClearCase view for the project, click Create View and create a new Web view or Dynamic view. After you have created the view, select it and click Next.
    • To create a new UCM ClearCase view for the project, click Join Project and create a new Web View or Dynamic view. After you have created the view, select it and click Next.
  4. In the Move Project to ClearCase dialog box, select a folder in the view to contain the project. You can select Move project to a new project folder in the selected directory if you want to move both the project and the directory that contains it (the project folder) or you can select Move project content to the selected directory if you want to move only the project without the project folder. Click Finish.

Results

The project resources are copied to the selected ClearCase view's copy area and added to source control in the specified folder. Depending on the preferences that you have specified, the project resources will either be added to source control automatically or the Add Resources to Source Control dialog box will open, allowing you to specify the resources to add. For more information about the applicable preferences settings, see Configuring Eclipse workspace preferences.

Feedback