Import an EAR File to the Workspace
To import an existing EAR file into your workspace and place it under
Rational ClearCase control, take the following steps:
- Within WebSphere Studio, choose File > Import.
The Import dialog box appears.
- Within the Import dialog box, select EAR file and then click Next.
The Ear Import pane of the Import dialog box appears.

- Within the Import dialog box, specify the EAR file and the name of
the EAR project, then click Finish.
Note: To place imported EAR files under ClearCase control, each EAR project
must be moved to a ClearCase view.
To move an EAR project to a ClearCase view, take the following steps:
- Select the EAR project within WebSphere Studio,
right-click, and choose the ClearCase > Move Project into ClearCase
option from the context menu. The Project dialog box appears.
- Within the Project dialog box, specify the name and location of the project,
then click OK. The ClearCase Add Element(s) to Source Control dialog box
appears.
- Make sure that the appropriate files are checked within the Add Element(s)
to Source Control dialog box, then click OK.
- If you are prompted to specify an activity, either select an existing
activity or create a new one.
- Repeat steps 4-7 for any other Web or EJB projects that are associated
with the EAR.
- Within WebSphere Studio, right-click on the EAR project and
choose Properties. The Properties dialog box appears.
- Within the Properties dialog box, select Project References and then
clear the projects you moved and select their new equivalents. Click OK.