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:

  1. Within WebSphere Studio, choose File > Import. The Import dialog box appears.
  2. Within the Import dialog box, select EAR file and then click Next. The Ear Import pane of the Import dialog box appears.
  1. 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:

  1. 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.
  2. Make sure that the appropriate files are checked within the Add to Source Control dialog box, then click OK.
  3. If you are prompted to specify an activity, either select an existing activity or create a new one.
  4. Repeat steps 4-6 for any other Web or EJB projects that are associated with the EAR.
  5. Within WebSphere Studio, right-click on the EAR project and choose Properties. The Properties dialog box appears.
  6. Within the Properties dialog box, select Project References and then clear the projects you moved and select their new equivalents. Click OK.