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
You must connect to a Rational ClearCase server to export an Eclipse
project to Rational ClearCase.
About this task
To move an Eclipse project into Rational ClearCase:
- In the Eclipse Package Explorer, select the
project and then click .
- In the Eclipse Share Project dialog box, select ClearCase
Remote Client as the repository type and then click Next.
- 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, select
it from the list and click Next.
- To use an existing ClearCase view that is not connected, 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. After you have created the view, select it and click Next.
- To create a new UCM ClearCase view for the project, click Join
Project. After you have created the view, select it and click Next.
- Select a folder in the view to contain the project and 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.