These are mostly my notes to get a working PHP environment, and I'm doing this from memory, so it isn't very detailed.
Get Eclipse v3.3 here:
http://www.eclipse.org/downloads/
I suggest using the "Eclipse for RCP/Plug-in Developers" version since it comes with the WDT repository (but you still have to install it), but it really doesn't make a difference.
Help -> Software Updates -> Find and Install -> Search for new features to install
Add the following repositories below using the "New Remote Site" button:
PDT - http://downloads.zend.com/pdt
PHP Development Tools - Developed by Zend as a PHP plugin for Eclipse.
Target Management (TM) Updates - http://download.eclipse.org/dsdp/tm/updates/2.0/
Contains the Remote System Explorer plugin that allows you to edit files remotes via SFTP.
Subclipse - http://subclipse.tigris.org/update_1.2.x
Subversion (SVN) integration
Check Europa Discovery Site, Web Tools Platform, Subclipse, and Target Management, make sure that "Automatically select mirrors" is checked, and click on Finish.
Select WDT (you only need the one WDT feature from the WDT repo), Subclipse, and RSE. You may have to check "Add dependencies" first and then manaully going through each subfeature and unselecting them that still have missing dependencies. Most are not needed since they are adding support for Java or C++.
When finished, return to the installing new features window. This time, only check Europa Discovery Site, and PDT, and make sure "Automatically select mirrors" is unchecked. There is a bug that prevents jar files being served correctly so you must select the PDT Site at the bottom of the list (Georgia Tech also works too). At the next screen, install the PDT feature, and continue with the rest of the rest of the installation.
To setup the RSE, select the RSE perspective. On the left side, create a new link. You only need to select the SFTP component, but you can also choose to add the Shell which adds a SSH shell to Eclipse. When the SFTP link is create, click on it to login with your user/password. To view a specific folder, right hand click on your link and select new-> create new filter. You can then specify that path there.
Posted by dreamnid at February 29, 2008 12:01 AM