Eclipse PDT setup for Drupal Developement with SVN

Eclipse for Drupal Development

There are lots of posts on getting Eclipse setup for Drupal development, I'm just providing the links to the ones I found, found most helpful, and some notes on things that have changed in those articles or points that I found to be different.

Start with: http://blip.tv/file/3253369  A great video that walks you through setting up Eclipse PDT on Os X... I noticed that in the video, Eclipse is version "Galileo", whereas I've used "Helios".  This probably accounts for some of the discrepancies.  

NOTES:

- get the Drupal Templates here http://drupal.org/project/eclipse follow the instructions in the README.txt file
- When setting up MAMP for debugging, use the php folder names that you see. in the video they use ‘php5’ while on my install I've chosen ‘php5.2’
- in MAMP preferences, make sure php is turned to 5.2 and not 5.3 (or choose 5.3 above)
- in MAMP preferences, turn off XCACHE
- use this code in your php.ini file, the last line in my file looked like this
 
;zend_extension=/Applications/MAMP/bin/php5.2/zend/lib/ZendExtensionManager.so
 
- replace that with >
 
; uncommented for use with  Eclipse
zend_extension=/Applications/MAMP/bin/php5.2/zend/lib/ZendExtensionManager.so
; make sure to go to MAMP PHP preferences and disable XCache
zend_extension_manager.debug_server=/Applications/MAMP/bin/php5.2/zend/lib/ZendDebugger-5.2.15
zend_debugger.allow_hosts=127.0.0.1
zend_debugger.expose_remotely=always
 
I found these videos helpful as well:
PHP Tutorial: Using Eclipse+PDT as a PHP IDE:
Part 1 http://www.youtube.com/watch?v=VRFZpk-YHl4
Part 2 http://www.youtube.com/watch?v=x8WnciHjXco&NR=1
 

SVN

in Eclipse, go to ‘help->install new software’
- in the ‘work with’ field type in "http://subclipse.tigris.org/update_1.6.x"  (version 1.6 is the newest as of this writing)
- select all three options (Core SVNKit Library, Optional JNA LIbrary, and Sublipse)
- agree to any agreements and continue
- Eclipse will want to restart, go ahead
 
NOTE: this helps get past some of the errors I was experiencing…"In preferences, under Team..SVN I wold change the ‘SVN interface’ client to ‘SVNKit’, this is not selected by default but I cannot get SVN to work with the default client." from http://www.mediacurrent.com/blogs/and-running-eclipse-drupal-development
 
If you are still unable to connect with SVN-
Get the file which corresponds to your OS at http://www.open.collab.net/downloads/community/
...an account is required...
 
follow instructions here to add SVN repository, and to connect to it, 
http://wheelersoftware.com/articles/eclipse-svn-project-checkout.html
 
Enjoy!!!