Import projects

Use the Import wizard to bring resources into your workspace from a filesystem, ZIP archive, or CVS repository. When you import a project, there are problem markers throughout the project, because the indexer needs a successful build to populate the index. To resolve the problem markers, you must initiate a build.

To open the Import wizard, do one of the following:

  • Choose File > Import…

    or:

  • Right-click in the Project Explorer view and then choose Import….
  • To resolve the problem markers, build the project. The indexer needs a successful build before it can populate the index.

Import an existing project into a workspace

To copy an existing project from another workspace:

  1. In the Import wizard (File > Import), expand General, choose Existing Project into Workspace and click the Next button.

    The IDE shows the Import Projects panel.

    Import existing project

  2. Enter the full path of an existing project directory in the Select root directory field, or the path to an archive in the Select archive file field, or click the appropriate Browse… button to select a project directory or archive using the file selector.
  3. Check the projects you want to import.
  4. If you wish, click Copy projects into workspace to leave the original project unchanged.
  5. Click the Finish button to import the selected project into your workspace.
  6. To resolve the problem markers, build the project. The indexer needs a successful build before it can populate the index.

Import from a filesystem

To copy files and folders from your filesystem into an existing project in your workspace:

  1. Click File > Import, expand General, choose File System, and then click Next.

    The IDE shows the File system panel.

    File system

  2. Enter the full path to the code in the From directory field, or click Browse to select a source directory.
  3. Use the Filter Types, Select All, and Deselect All buttons to control which files are imported.
  4. Enter the name of a project or folder in the Into folder field, or click the Browse button to select one.

    This project or folder must already exist before you open the Import wizard.

  5. Select any of the other available options, as required.
  6. Click Finish to import the selected resources.
  7. To resolve the problem markers, build the project. The indexer needs a successful build before it can populate the index.

Import a team project set

Team project sets are a convenient way of distributing a collection of projects stored in a version-control system among members of your development team. Create them with the Export wizard.

To import a team project set and the projects it references:

  1. In the Import wizard (File > Import), expand Team, choose Team Project Set, and then click Next.

    The IDE shows the Import a Team Project Set panel.

    Import team project set

  2. To create a working set for the imported projects, check the Create a working set containing the imported projects box, and enter a name for the working set in the Working Set Name field.
  3. Click Finish to import the projects from the CVS repository.
  4. To resolve the problem markers, build the project. The indexer needs a successful build before it can populate the index.

Import an archive file

To copy files and folders from a ZIP archive into an existing project in your workspace:

  1. Click File > Import, expand General, choose Archive File, and then click Next.

    The IDE shows the Archive File panel.

    Zip import

  2. Enter the full path to the ZIP archive in the From zip file field, or click the Browse button to select a ZIP archive.
  3. Use the Filter Types, Select All, and Deselect All buttons to control which files are imported.

    Click a directory on the left panel to see a list of files in the right panel.

    The Select Types dialog lets you filter imported files by selecting one or more extensions.

  4. Enter the name of a project or folder in the Into folder field, or click the Browse button to select one.

    This project or folder must already exist before you open the Import wizard.

  5. To overwrite existing files, check the Overwrite existing resources without warning box.
  6. To import only the selected folders, check Create selected folders only.

    To import the selected folder and all subfolders, check Create complete folder structure.

  7. Click Finish to import the selected resources.
  8. To resolve the problem markers, build the project. The indexer needs a successful build before it can populate the index.

Last modified: 2013-12-21

comments powered by Disqus