WeberDev.com PHP and MySQL Code

LOG IN
BEGINNER GUIDESPHP CLASSESCODE SEARCHARTICLES SEARCHPHP FORUMSPHP MANUALPHP FUNCTIONS LISTWEB SITE TEMPLATES
Start typing to search for PHP and MySQL Code Snippets and Articles Search
Submit a code Example / Snippet Join us on FaceBook
Submit a code Example / Snippet Submit Your Code
Poker Tournaments Poker Tournaments
Poker Guide for Developers Poker Guide for Developers
Search Engine Optimization Monitor SEO Monitor
Web Site UpTime Monitor UpTime Monitor
Your Personal Examples List My Favorite Examples
Your Personal Articles List My Favorite Articles
Edit Account Info Update Your Profile
PHP Code Search
Web Development Forums
Learn MySQL Playing Trivia
PHPBB2 Templates
Web Development Resources
Web Development Content
Internet Security Software
PHPClasses
PHP Editor
PHP Jobs
Vision.To Design
Ajax Tutorials
PHP Programming Help
PHP/MySQL Programming
Webmaster Resources
Webmaster Forum
XML meta language
website builder
פרייסז - הכח לקנות עובר לידיים שלך
Texas Holdem Poker Evangelists

Go Back Add a Comment Send this Article to a friend Add this Article to your personal favoritest for easy future access to your favorite Code Examples and Articles. Submit a code example Print this code example.
BACK ADD A COMMENT SEND TO A FRIEND ADD TO MY FAVORITES SUBMIT AN ARTICLE PRINT
Title : Zend Studio, Sourceforge And Windows Stop pulling out your hair
Categories : Miscellaneous
Joe Crawford Jr.
Joe Crawford Jr.
Date : 2004-09-26
Grade : 0 of 5 (graded 0 times)
Viewed : 9019
Search : More Articles by Joe Crawford Jr.
Action : Grade This Article
Tools : My Favotite Articles


Submit your own code examples 
 


Have you been relentlessly tryiung to get zend studio to work with a www.sourceforge.net account on a windows platform? After reading this article ZDE (Zend Studio) should be working fine with sourceforge.

First there are a few things you will need.


  • Sourceforge.net account Yes if you do not have one of these yet you might want to go and visit their site and grab an account. Also be sure to register a project after you register your account.


  • Zend Studio (I am using 3.5.1) You can get a demo version or a full version from www.zend.com

  • Putty (And a few other tools from this site) You will need the following files from this site
    putty.exe
    pageant.exe
    plink.exe
    puttygen.exe

    you can get them here http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html


Now that you have the requirements we need to take this in steps ;)

1.) Open putty, use this information to connect to a server

Host: projectname.sourceforge.net
Port: 22
Protocol: SSH

Connect to the server by clicking on the open button when prompted enter your sourceforge.net username and then password.

You just activated your ssh user account and forced it to create your home directory.

2.) Now we will create a Public/Private key pair that you will install so that you dont have to always keep entering your password when you issue a CVS command. That was in my opinion one huge pain in the ass.

Open puttygen.exe
Select the SSH2 RSA option. I think this is the safer option although I may be wrong.




Now click generate and move your mouse randomly around the blank area to generate your keys. Once the generation step is completed you will see something like the following.






Now save both your public and private keys, you can choose to protect your private keyt with a pass phrase incase someone gets their hands on your private key they cannot takeover your entire system. I did this with mine ;D

Now that you have saved these files you can close PuttyGen.

Next you need to login to your sourceforge.net account and upload your public key to your user account, not your project account. To do this you need to go the the my sf.net area, click on account options and scroll down until you see a section named

Host Access Information

From this section you can add your key, once you load your public key you need to wait a while. Sourceforge only updates these every 6 hours or so.

3.) Setting up your private key is almost as easy ;)

Start pageant.exe and you will see it load into your system tray, right click it and go to Add Key, browse for the directory where you saved your private key, select it and click Open, if you protected it with a pass phrase it will ask you for that now. You only need to do this when you startup windows, every time you will need to add your key.

4.) Moving on to get zend studio running with sourceforge.net. Now that you have the rest of this setup there is one last step, you need to create an Environment Variable. To do this right click on My Computer, click on properties, click on the advanced tab. Now you should see a button with Environment Variables listed on it, Click that, then click New.

Variable Name: CVS_RSH
Variable Value: Your Path To plink.exe

Once you enter these values click ok and close all the windows we just opened, if Zend Studio is open, close it. Then re-open it.

4.) Zends Actual Settings. Click on Tools -> CVS -> Checkout

you will see a dialog, you will need to fill in the following information

CVS Root: :ext:username@cvs.sourceforge.net:/cvsroot/projectname/
Module Name: ModuleName (for my project I used NewsCenter)
Working Directory: (the path where you want the files downloaded to)

Click ok, if everything went ok, you should now have either a password box asking you for your sourceforge password or you will see it checkout the files.


Joseph Crawford Jr.
jcrawford@codebowl.com









Keep your Banner Waving
Categories : PHP, PHP Functions, Miscellaneous, Site Planning, Utilities