Installing Eclipse

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
You are viewing a wiki page. You are welcome to join the group and then edit it. Be bold!

Updated Install Instructions for Eclipse 3.4

It is recommended to install Eclipse manually into the /opt or ~/opt directory. It is possible to install Eclipse using apt-get or Synaptic, but this can cause permissions and/or upgrade complexities and so is not recommended. _Note: These instructions were created for installing Eclipse on Ubuntu 8.10, and they include a step to install Subclipse v1.4 which is compatible with Ubuntu 8.10 / SVN version 1.5. If you are running an earlier version of Ubuntu or SVN you should install an earlier version of Subclipse.

Install Eclipse

  • Download eclipse: http://download.eclipse.org/eclipse/downloads/ and select the newest of the "Latest Releases", 3.4.1 at the time of writing (note, do not select any of the next version stream - 3.5 currently - 'stable' or integration builds).
  • You will need to chmod and/or chown /opt first sudo chmod 777 /opt -R
  • Extract into /opt using tar xvzf file.tar.gz
  • Create a new menu item for Eclipse (right-click on menu -> edit menu) or launcher (right click on desktop or taskbar).
  • If you are get bored, just listen this: Solar Eclipse

Install Eclipse Extensions

These instructions are for eclipse on Ubuntu 8.04 or less. Mac/Windows might vary a little, but principle's are the same.

  1. Start Eclipse.
  2. Help -> Software Updates. Click the Available Software tab, then click on Add Site.
    1. Add Site: http://phpeclipse.sourceforge.net/update/stable/1.2.x/ (more info to install PHPEclipse for programming PHP.
    2. Add Site: http://subclipse.tigris.org/update_1.4.x (additional info version and roadmap info) to install Subclipse (for Subversion).
    3. Optionally add additional plugins, such as plugins for Mylyn environment or development plugins such as Python, Ruby, or Perl.
    4. Optional: Add http://pydev.sf.net/updates/ as a 'New Remote Site' and use it to install PyDEV (if you code in Python).
    5. Optional: Add http://e-p-i-c.sf.net/updates as a 'New Remote Site' and use it to install EPIC (if you code in Perl).
    6. Optional: Add http://download.eclipse.org/technology/mylar/update-site/e3.2 as a 'New Remote Site' and use it to install Mylar (for task-focussed access to Bugzilla, Trac and JIRA).
    7. Optional: Install automated test suite SimpleTest for Eclipse (follow link for instructions).
  3. Check the boxes next to the new sites you just created (to install PHPeclipse & subclipse)
  4. Choose the Install... button to begin the installation.

Configure Eclipse

Synchronize your Local Workspace with your LAMP server.

  1. The best way to code Drupal sites in Eclipse is to use rsync. sudo apt-get install rsync I set a batch script in the site root (sync.bat) and execute it whenever I want to update the server. The script can be found here: http://www.scrounge.org/linux/rsync.html.

Drubuntu

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: