PDA

View Full Version : My Eclipse Setup (Ruby, PHP, Subversion, sFTP, WebDav)


rob
July 3rd, 2005, 02:32 AM
Although there is already a guide on here about how to setup Ruby with Eclipse, I would like to share my Eclipse setup steps, as I install PHP, Ruby, Subversion, sFTP, and FTP/WebDav support.

As of this writing, the 3.0.2 version is the latest of Eclipse that supports most of the plugins out there. The 3.1 version only supports the more native Eclipse modules.

The first step is Windows centric. From there on out, these steps would apply on a Mac or Linux machine.

Step 1 - Install Eclipse

Install Eclipse from the Eclipse website (http://www.eclipse.org/downloads/index.php), extracting the folder on your hard drive. I use C:\eclipse.

Step 2 - Setup Default Workspace

When asked about the default workspace, I usually say D:\Workspace (D is my data partition and/or drive on most workstations I use). However, you can set this to anything you like.

Step 3 - Installing FTP and WebDav Support

Start up Eclipse, and click on Help, Software Updates, and Find and Install. Pick "Search for New Features". Click the + mark besides Eclipse.org Updates and check Eclipse FTP and WebDav Support. Click Next and follow the prompts through the installation. You might be asked to restart Eclipse, if so, do so.

Step 4 - Installing PHP, sFTP, and Subversion Support

Once you're back in Eclipse, click Help, Software Updates, and Find and Install. Pick "Search for New Features". Click "Add Remote Site" and enter PHPEclipse for the name box in the window that pops up, and paste the URL http://pipestonegroup.com/eclipse/updates in for the second box. Click OK, and click the + mark beside Quantum DB, PHP Eclipse, Klomp sFTP, and Subclipse. Follow the prompts to install the plugins and restart if necessary.

Step 5 - Installing Ruby Support

Follow the same steps in step 4, except when asked for the remote site name and URL, type in "RubyEclipse" and http://rubyeclipse.sf.net/updatesite for the URL. Click + and install the latest version of RDT. The installation steps are identical to the previous steps before. Restart if necessary.

Note: If you get any errors about plugins being unsigned, this is OK. Just click Install on any such error boxes.

For more information about how to use the Ruby perspective, read Comrade's excellent post (http://ocsforums.com/showthread.php?t=9). The PHP perspective is just about as easy to use. Click Window, Open Perspective, Other.., and PHP. Once you've done it once, it will appear at the top right hand of Eclipse.

I hope this guide helps.

grimholtz
October 26th, 2006, 08:34 PM
Step 4 - Installing PHP, sFTP, and Subversion Support

Once you're back in Eclipse, click Help, Software Updates, and Find and Install. Pick "Search for New Features". Click "Add Remote Site" and enter PHPEclipse for the name box in the window that pops up, and paste the URL http://pipestonegroup.com/eclipse/updates in for the second box. Click OK, and click the + mark beside Quantum DB, PHP Eclipse, Klomp sFTP, and Subclipse. Follow the prompts to install the plugins and restart if necessary.
http://pipestonegroup.com/eclipse/updates is gone. Use http://phpeclipse.sourceforge.net/update/cvs instead.

rob
October 26th, 2006, 09:55 PM
Thanks for updating this.

Now that RadRails is getting more mature, I think it would be probably easier just to install it rather than try to retrofit Eclipse.

http://www.radrails.org/

Quite a fantastic project and the RadRails team (Kyle Shank, Matt Kent, Marc Baumbach, and Ryan Lowe) have done a wonderful job!

kleeh
December 27th, 2006, 02:21 PM
After reading this thread I was so convinced that Eclipse was for me that I downloaded the latest version. Maybe that was my mistake. I probably should have used the version mentioned in this thread. The latest version doesn't have the same options discussed here (they're probably there, but named differently). So, when I try to set it up to recognize PHP, it doesn't work. I guess I trash it and re-download the 3.0.2 version. Any thoughts anyone. I want to use it for Ruby too, by the way.

rob
December 29th, 2006, 05:07 AM
I'd recommend RadRails (http://www.radrails.org/) now. It integrates Ruby and Eclipse nicely, and saves you the trouble of doing all of the above.