Join or Login

Zend Framework Testing - Day 4 - Setting Up Eclipse

by me


This post will be short and sweet. I could easily get Eclipse from my package manager and set it up for use with the Zend Framework, but why do that when I can get an Eclipse all in one file from Eclipse
so I ‘ll goto the Eclipse - PDT download page and download the Linux version and untar it on my desktop ( personal default setting ).

Now I take this file and put it in my home user directory ( i.e. /home /yourusername/ ). On my desktop I want an icon to link to the application so I right click on my desktop and then create new -> Link to Application, this will open up a GUI to add an application to your desktop. Then I click Application tab and add the description for Eclipse - PDT ( uh “Eclipse - PDT” ) and use the same for the comment. On the command I click browse and locate ‘/home/yourusername/eclipse/eclipse’. Now you can make it pretty by clicking the General tab and clicking the picture, you’ll get a dialog for your icon pictures, choose other icons and browse. Now look in your /home/yourusername/eclipse folder and you should find icon.xpm, eclipse logo. Now after that put Eclipse - PDT in the text-box.

Now the first time you start Eclipse you will get a prompt for your default workspace directory I would put /var/www/sites. Since we made it so our username can modify this folder. Anytime we add a new folder to this directory it will be considered a project. Now that eclipse is open we can go down to the the icons on the bottom and right click to add a new fast view->other->internal web browser. in the internal web browser we can put http://zendtest/ to view our project from the web. Now when you are working on your files you can click the world icon and see the result.

Tags:

Leave a Reply

Powered by WordPress