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 and choose Edit
> Move. Specify a project location which is a folder beneath a VOB
for which you have created a view.
- Make sure that the appropriate files are checked within the Add 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-6 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.