Configure Svn in Zend

Source: Internet
Author: User

Server Configuration:

Http://info.codepub.com/2011/07/info-22987.html

I have already introduced many Zend studio tutorials in the Development and debugging of PHP by using Zend studio. Today, I will continue my Zend studio tutorial. I will introduce how to use Zend studio to configure and connect to SVN, zend Studio provides the CVs and SVN version control functions to better support PHP team collaborative development. By configuring the svn server and using Zend studio to connect to SVN, the consistency and security of program code can be ensured, it can also improve php development efficiency. Next I will introduce the specific steps for Zend studio to configure SVN connection in the form of graphic tutorials.

  Preparations for Zend studio to configure SVN connection

1. I am using the Zend studio8.0 Chinese version. After Zend studio is installed, please refer to the Zend Studio 8 Chinese tutorial for Chinese. If you are used to the English version, skip this step.

2. without the support of the svn server, Zend studio cannot configure and use the svn function. Therefore, install and configure the visual SVN server.

3. Create a New SVN repositories in the visualsvn server. I will name it with the website domain name leapsoul.cn.

  Zend studio configuration connection SVN tutorial

  1. Use Zend studio to create a project.I don't know how to create a project? Please refer to the php development tool Zend studio7 getting started tutorial.

  2. Select the SVN version control project,Click on the left side of Zend studio8 workspace, select the project directory for SVN version control, right-click, and select team) -> shared projects or share projects (directly go to the svn configuration interface). If you use a shared project, select "SVN" for "CVS" and "SVN. Configuration Interface of Svn in Zend Studio

Starting interface for Zend-studio to configure SVN

Select create SVN connection and click Next

  3. Use Zend studio to configure a new SVN connection. Open the visualsvn server, select the created Repository: leapsoul.cn, right-click copy URL to clipboard, copy the URL address to the URL in the share Project Wizard, and click browse to check whether the svn configuration is correct, if you cannot connect to the svn server, an error occurs,

Use Zend studio8 to connect to the svn Service

  4. Enter the user name and password when Zend studio configures to connect to the svn service.. Click Next. Because the svn server has set https: // your computer name/SVN/for user authentication, you need to enter the user name and password,

User authentication is required when Zend studio connects to the svn service.

  5. Select the appropriate commit comment Template

It is mainly used to describe the current version. You need to select the appropriate template. If you use Zend studio to configure the connection to SVN for the first time, you need to create a new template. The method is as follows:

Open Zend studio8, select Window> preferences> group> SVN> comment templates, and connect the template created earlier to the right. You can create, edit, and delete the template. After the template is created, you can select it when Zend studio configures SVN,

Select or enter Zend studio SVN commit comment

6. Click Finish to start synchronous import until the import is complete. The imported content can be found in the leapsoul.cn source code library created in the visual SVN server.

Now, the Zend studio8 configuration connection SVN function is complete. You can use Zend studio to configure SVN function for source code version control during PHP team development to improve php development efficiency. Zend Studio provides many SVN functions, including modification, deletion, synchronization, and comparison. You can use it for a better understanding.

Client Configuration:

Http://chenxinwen2006.blog.163.com/blog/static/127674321201091511021536/
After compiling the svn configuration in the previous section, use Zend studio if SVN

Assume that there is a project named ZF (the name in the implementation is generally meaningful, here is just an example) 1. Create a folder named ZF in the local htdocs directory 2. open Zend stdio. type Svn in the following order. Window ----> show views -----> other ----> open SVN ----> select SVN repositories --> The following window appears.

 3. Right-click the blank area and select | "new"4. in the displayed window, enter relevant information, and then "" OK "," for example: 5. right-click the record of the first graph and select find/check out ......, next, select local ZF and name the project ZF to create. 6. in PHP exploer, if you want to upload, update, and perform other operations on the project you just created, right-click the file and select team ----> select the operation you want.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.