Copying a Project

You can import a copy of an existing project into your workspace. When a project is copied, its resources are not actually copied, but are a reference to the original resource.

If you make a change to a resource in the project, for example, a service, it is changed both in the original and in the copy.

If you want a copy of a project as an archive, have the project owner export the project to a zip file outside the workspace. Then changes can be made to the working version of the project or services within the workspace. To revert to the archived copy of the project or service, delete the working copy from the workspace, including contents within the project, then unzip the project zip file into the workspace and use the Existing Project Into Workspace option of the Import wizard to import the archived copy of the project back into the workspace.

If you want only a copy of the service in a project, you must copy the entire project. If you only copy the individual service, you are copying the selected file, but not the associated hidden files required to run the service.

Note: If you import a project directly from the file system by pointing to an existing project in the WorkSpace Navigator, you will not have a duplicate copy of the project. Any changes made to this project are made to the original copy.
  1. Choose one of the following:
    • Copy the exported project folder into the Eclipse/ workspace folder of your installation directory.

    • Unzip the exported file into the workspace folder in your installation directory.

      Note: If an existing project has the same name as the project you are copying, the existing project is overwritten. Change the name of one of the projects before the project is copied.
  2. In the Mobile Development perspective, select File > Import from the main menu bar.

    The Import wizard opens.

  3. Select Existing Project into Workspace and click Next.
  4. Follow the instructions to import the project.

    The imported project appears in the WorkSpace Navigator and is available for use.