User Guide > Tasks > Working with Plugins > Importing Projects from CVS

Importing Projects from CVS

Once projects are placed on the CVS repository, they can be checked out (imported) by anyone with access to that repository. CVS repository connections allow you to import projects from your repository to your workspace, which you can make and upload changes to.

This procedure describes how to import (check out) projects from a CVS repository location to your desktop.

Note:

If you have resources on your file system which are already linked to CVS, you can access them in Zend Studio by following the instructions under Accessing an Existing CVS Checkout.

Prerequisites

How do I install plugins in Zend Studio?

 

Instructions on how to complete a procedure

To import a project from an CVS repository:

  1. Go to File | Import | CVS | Projects from CVS.

  2. Click Next.

  3. Select your repository.
    If you have not yet created a repository, enter the information required to identify and connect to the repository location:

  • Host - The host address (e.g. mycomputer.com).

  • Repository path - The path to the repository on the host (e.g /usr/local/cvsroot)

  • User - The user name with which you connect to the repository.

  • Password - The password for the user name.

  • Connection Type - The authentication protocol for the CVS server.  

  • If the host uses a custom port, enable Use Port and enter the port number.

  1. Click Next.

  2. A "Select Resource" dialog will appear. Expand the nodes until you see the required project.

  3. Select your project and click Finish.
    A "Check Out As" dialog will appear.

  1. Select one of the following options:

  • Check out as project configured using the "New Project" Wizard - Imports the project as a new PHP project into your workbench with the project's existing name.

  • Find projects in the children of selected resource - Imports all folders within the project as separate projects.

  • Check out as folder into existing project - Imports the project as a folder into an existing project in your workbench.

  • Check out as project with the name specified - Imports the project as a new project into your workbench with a new name. Specify the new name in the box.

Note:

To enable all Zend Studio's PHP functionality for the imported projects, select the 'Check out as a project configured using the New Project Wizard' option and ensure you create the new project as a PHP project.

  1. Click Finish.

The project will now be imported into your workspace.
Note that the project will have a CVS repository icon in your PHP explorer view.

Once you have imported a project from CVS into your workspace, you can now add files, edit existing files and commit your changes to the CVS repository.

Note:

Projects can also be checked out from CVS through the CVS Repository Exploring perspective, accessible from Open Perspective | Other | CVS Repository Exploring. Simply right-click the project in CVS Repositories view and select Check Out or Find/Check Out As..

See Checking out a project from a CVS repository ' in the Workbench User Guide for more information.

Note:

Additional user guides can be accessed from inside Zend Studio by going to Help | Help Contents, or from the Eclipse Online Documentation site (http://help.eclipse.org/helios/index.jsp).

 

 

Related Links:

Using CVS

Configuring a CVS Connection

Accessing an Existing CVS Checkout

Uploading Projects to CVS

 

 

©1999-2013 Zend Technologies LTD. All rights reserved.