Quantcast
Channel: New Teachers
Viewing all articles
Browse latest Browse all 12

Refreshing Zend Framework from the SVN Tree

$
0
0
This is a short writeup regarding using SmartSVN, a Subversion client for checking out the latest code for Zend's PHP Framework. Also serves as a useful introduction to using SmartSVN. This article was posted in Chinese a couple of weeks back by Joe, and here's the same in English.

1. Getting the Subversion Client
To get the latest code for Zend Framework, use a Subversion (SVN) client like SmartSVN.

Download the latest SmartSVN Subversion client from http://www.syntevo.com/smartsvn/index.jsp

2. Creating a Profile for Zend's SVN Trunk

After installing the client, go to Repository -> Manage Profiles, to add a new profile which links to Zend's SVN repository.



Click Add, and then "Enter SVN Url...", that should show the SVN URL dialog box.

Key in the following URL: http://framework.zend.com/svn/framework/trunk

The client will automatically segment the URL appropriately.

repositoryProfile

Key in a name for the profile name, in this case, "Zend Framework".

TIP: Remember to go to the proxy tab to update your proxy settings, if you are behind the firewall.

manageProfiles_proxy

That's it, the profile for Zend Framework's SVN tree is created.

3. Checking out Zend Framework Project from SVN

To check out the entire Zend Framework tree, do the following.

Go to Project->Check Out

checkout

Under Respository Profile, choose "Zend Framework", which is the one we just created.

checkout_repo

Click Next. The directory scanning will start.

This is what you will see, let it be default, so that the client can get everything.

checkout_source

Click Next.

checkout_target

Select a target directory for the source files that will be checked out.

Click Next, choose a Project Name. Make sure the "Add to list of managed projects" checkbox is checked.

checkout_name

Go to Confirmation, and click Finish.

The entire process is completed, the latest source will be checked out from Zend's SVN tree to your target directory.

4. Updating your tree.
Updating your tree allows you to get the latest release of Zend Framework without waiting for the official release.

Right-click on the project name, and click "update".

The revision number will change once the source tree is updated.

update

Viewing all articles
Browse latest Browse all 12

Trending Articles