Setting up PDT 1.x, Eclipse 3.3 on Ubuntu Hardy

Posted 13:03, 3/5/2008, in Ubuntu

Not quite convinced by PHP under Netbeans, I decided to go back to the PDT plugin for Eclipse for my PHP development. Unfortunately setting this all up is much more complicated than it should be, since the current release version of PDT requires Eclipse 3.3+, but the latest version in the Ubuntu repositories is 3.2.2.

There are alternative ways to install this of course, the PDT site offers an all-in-one package, or you can download Eclipse 3.3 from eclipse.org, and go from there. However I've never had too much luck with these.

So here's how to get it working:

  1. Install the latest version of Eclipse from the repositories (you can do this either via. Applications > Add/Remove, via. Synaptic or via. the command line).
  2. Update Eclipse to 3.3.x using its own build-in auto-update function. To do this:
    1. Run Eclipse via. the command line as root - sudo eclipse (this is important as otherwise your update will fail when it tries to overwrite some of the core files)
    2. Add some new update sites (which I got from this blog post), you can either add them manually or import from the from the supplied XML file.
    3. Select the most recent Eclipse 3.3.x version and then follow all of the installation instructions (will take a few mins).
    4. Exit the program
  3. Install PDT. Run Eclipse normally (not via. Sudo), you should get the 'Europa' splash screen, which will confirm that you're running version 3.3.x. Help > Find and install updates etc. Select PDT and its depdendencies, and install.

et. voila.

Hopefully the next Ubuntu release will include an Eclipse update, which will make this process a lot easier.

Please login to post a comment.

Search this site
Login
(or login/signup the old fashioned way)
Elsewhere

External URLs/articles that may be of interest:

ZF Blog Application tutorial

This is the first part in a multi-part tutorial in creating a blogging app using ZF. It serves as a great introduction for people trying to get started with the framework, and looks at application structure, mvc, templating and ACL.

Drupal in the Enterprise

An interesting look at why the author doesn't feel Drupal is ready for the enterprise. Drupal certainly appears to be one of the better CMSes around, so some of these criticisms seem a little harsh when you compare it to some of its inferior competitors. However many can also be applied to PHP web apps in general.

BBC admits Linux usage figures were off

Recently the BBC said one of the reasons they didn't push for a Linux compatible version of their iPlayer was that their website only received about 600 visits a week from Linux users. They've now admitted this figure is closer to 100,000. Just a bit off then.

Online ad tracking 'opt out' list

Lobbyists in the US are trying to get an 'opt out' list created for online advertising, so users could choose not to have their browsing habits tracked. The irony is, for this to work technically, some system somewhere would have to create a huge list of IP addresses and personal information, which seems to defeat the point.