Last updated August 26, 2011. Created by Francewhoa on April 8, 2010.
Edited by mari3.14, aspilicious, rayvan. Log in to edit this page.
Installing Eclipse PHP Development Tools (PDT) version 3.5 on Windows.
This how-to handbook is for absolute beginners.If you consider yourself as an advanced user follow instructions at http://wiki.eclipse.org/PDT/Installation
Requirements
- Windows
- You must have Java virtual machine (aka JDK or JRE) already installed. If not go to http://wiki.eclipse.org/PDT/Installation#Install_a_JVM
Go to http://www.eclipse.org/pdt/downloads/
Download the All-In-One Windows 32-bit zip file.
Extract the zip file to any location. Usually C:\Program Files\eclipse-php-galileo-SR2-win32\eclipse
Note that Eclipse can run from any location. Eclipse doesn't have an installer. This is how you install Eclipse. It's easy ;)
Navigate into the extracted folder and search for the file eclipse.exe. Double click on it. This is how you start Eclipse.
To create a shortcut right click on eclipse.exe file and select Create Shortcut option. Move this shortcut anywhere. Like your desktop.
When starting Eclipse it will ask for SELECT A WORKSPACE. Leave default settings unless you know what you're doing.
Check USE THIS AS DEFAULT... box.
Click on OK button.
It's important to configure Eclipse for Drupal by following instructions at http://drupal.org/node/75242#PDT
To make your life easier install the following free Eclipse plug-in. Follow instructions at http://marketplace.eclipse.org/content/drupal-eclipse-pdt. This plug-in will configure your Eclipse to open Drupal's file properly.
Installation might be very slow. Wait. If not working after waiting 5 minutes. Cancel and try installing again.
Close and re-open Eclipse.
The following is optional but very handy. It will install support for JavaScript.
Navigate to the following menus HELP > INSTALL NEW SOFTWARE...
Click on the WORK WITH dropdown menu.
Select --ALL AVAILABLE SITES--.
Under the column NAME select the following items.
-
WEB, XML, AND JAVA EE DEVELOPMENT > JAVASCRIPT DEVELOPMENT TOOLS. -
DRUPAL FOR ECLIPSE > DRUPAL FOR ECLIPSE PDT.
Click on NEXT button.
Wait.
Click on FINISH button.
Close and re-open Eclipse.
You have successfully installed Eclipse PHP Development Tools (PDT) version 3.5 on Windows
You are now ready to checkout Drupal and contrib modules & themes from git into the Eclipse Workspace. To do so follow instructions at http://drupal.org/node/37615/
Comments
Cannot access the last link
Cannot access the last link in the article - http://drupal.org/node/37615/
Anyone know why? (I have a standard user drupal account)
Neil