Creating an Eclipse Project in an Existing AccuRev Workspace

Use this procedure to create an Eclipse project in an existing AccuRev workspace.
  1. Click the New button GUID-3AC5BB80-DF2F-43B4-AEDD-0626385F6877-low.png on the Eclipse toolbar.
    Tip: Or, you can select File > New > Project from the Eclipse main menu or select File > Import from the Eclipse main menu.
    The New Project dialog box appears.

    GUID-20860DA4-0FFE-4415-B307-D299D771F385-low.png

  2. In the Wizards field, navigate to AccuRev > Project from AccuRev. (If you have many wizards, simply type A in the Wizards field to go directly to AccuRev in the list.)
  3. Click Next.
    Note: If you are not already logged in to AccuRev, you are prompted to do so. See Logging In to AccuRev.
    The Checkout from AccuRev page appears.
  4. Select a server where your AccuRev files are stored if the correct server is not already displayed in the Select a server field. If you need to add a server, see Adding an AccuRev Server.
  5. Expand the Workspaces folder.

    GUID-118EC537-8005-4BCA-82B8-A23024DD7FEC-low.png

  6. Select the AccuRev workspace where you want the new Eclipse project to be placed.
  7. Click Next. The Check Out As dialog box appears and displays two checkout options:
    Check out as a project configured using the New Project Wizard
    This option allows you to create a new Eclipse project file using the New Project Wizard. Eclipse creates a new .project file.
    Check out in the workspace as projects
    This option allows you to use an existing .project file to create the new project. This option is selected by default if a .project file is detected in the workspace you selected in the previous step.
    Note: The .project file must have an AccuRev status of (kept) in order to be detected.

    GUID-BEA9503A-E340-4A86-9D55-BE8BEDCF932F-low.png

  8. Select the project checkout option you want to use.
  9. Complete the Project Name field or leave it as displayed:
    • If you selected the Check out as a project configured using the New Project Wizard option, the AccuRev workspace name is used as the default Project Name. You can change this name or leave the default.
    • If you selected the Check out in the workspace as projects option, the Project Name is taken from the existing .project file. This name cannot be changed and the Project Name field is disabled. For more information, see How New Eclipse Project Names are Taken from Existing .project Files
    Note: The Project Location field displays the workspace path you selected.
  10. Click Finish or Next as appropriate:
    • If you selected the Check out in the workspace as projects option, the Finish button is active. Click Finish. A Creating Eclipse Projects message appears and you are done. A new project is created.
    • If you selected the Check out as a project configured using the New Project Wizard option in Step 8, the Next button is active. Click Next. The New Eclipse Project Type Selection page appears.

    GUID-3DD969F4-5598-4F24-9FD4-009E76EF6763-low.png

    1. Expand the project category you want to create, and then select a specific project type.
      Note: The list of project types varies based on the Eclipse plug-ins you have installed.
    2. Click Next. The first page of the configuration wizard for the project type you selected appears.
      Note: The wizard pages displayed from this point forward vary based on the project type you selected.
    3. Complete the remaining wizard pages for the project type and click Finish. A new project is created.