On the Edge: PHP IDE With Eclipse Galileo (3.5 M6) and PDT 2.1 M6

Posted by on Apr 20, 2009 in Eclipse14 comments

galileo-splashEclipse 3.5 AKA Galileo is scheduled for release on the 24th June 2009, with PDT 2.1 shortly after on the 26th. Not being one to wait, and also getting some obscure pleasure from testing pre-release software, I decided to download and install the current stable Milestone, M6, of both Eclipse Galileo and PDT 2.1. The whole process is fairly simple, and even more so for 32 bit users, who have an All-In-One package available, which can be downloaded, extracted and run easily.

64 Bit users have a little more work to do, but the process is not too difficult. First, we have to download the relevant packages, and all the dependencies:

I downloaded them all to a directory called “Galileo” on my Desktop. The rest of the process uses the command line, so open up a Terminal, and navigate to the directory containing the downloaded files:

cd ~/Desktop/Galileo

The first task is to extract the main Eclipse package, and optionally move it to a new home – I chose to install it in ~/galileo/eclipse

tar -zxvf eclipse-SDK-3.5M6-linux-gtk-x86_64.tar.gz
mkdir /home/[USERNAME]/galileo
mv eclipse /home/[USERNAME]/galileo

Eclipse has utilised the p2 Installer, and a “dropins” directory – which is scanned by the p2 Installer whenever Eclipse is executed – since Ganymede 3.4M6. If p2 finds any Features or Plugins, they are installed upon startup. The p2 Installer also allows placing plugins into their own directory structures within the dropins directory, making installing, organising and testing plugins much easier. Of course, this isn’t as easy as using the Update Manager, but it’s very convenient for our purposes of testing pre-release plugins, since they can easily be deleted/upgraded etc. Anyway, I digress – my original point was that we need to extract, and organise each of the packages downloaded above, then move them into the dropins directory:

DLTK Core:

cd ~/Desktop/galileo
unzip dltk-core-sdk-S-1.0M6-200903161640-incubation.zip
mkdir dltk-core & mv eclipse/ dltk-core

DLTK RSE:

unzip dltk-rse-sdk-S-1.0M6-200903161640-incubation.zip
mkdir dltk-rse & mv eclipse/ dltk-rse

EMF:

unzip emf-runtime-2.5.0M6.zip
mkdir emf & mv eclipse/ emf

GEF:

unzip GEF-SDK-3.5.0M6.zip
mkdir gef & mv eclipse/ gef

PDT:

unzip pdt-runtime-2.1.0M6.zip
mkdir pdt & mv eclipse/ pdt

WTP-WST:

unzip wtp-wst-sdk-S-3.1M6-20090318020101.zip
mkdir wtp & mv eclipse/ wtp

XSD:

unzip xsd-runtime-2.5.0M6.zip
mkdir xsd & mv eclipse/ xsd

Finally, we need to move all these new directories containing the plugins, to the Eclipse dropins directory:

mv dltk-core dltk-rse emf gef pdt wtp xsd /home/[USERNAME]/galileo/eclipse/dropins/

That’s the installation complete. We now just need to run Eclipse with the -clean option. This may take a while as p2 scans the dropind watch directory for the new plugins:

cd /home/[USERNAME]/galileo/eclipse
./eclipse -clean

Since it’s the first time we’re running Eclipse, it’ll also ask where the Workspace directory is located. I just chose /home/[USERNAME]/galileo/workspace to keep everything together.

Once Eclipse is loaded, click the “Workbench” button, then go to the Window -> Open Perspective -> Other menu, and select PHP.

The same method can be used to install and test the Nightly Builds of PDT 2.1 – just visit http://www.eclipse.org/pdt/downloads, expand the latest link under the 2.1.0 Nightly Builds heading, download the latest build and the required dependencies, and install using the same methods outlined here.

Tags: , , , ,

14 comments

» Comments RSS Feed
  1. You can just update directly from eclipse by following these instructions:

    http://wiki.eclipse.org/PDT/Installation

  2. your views are actually quite enlightening about this topic.but i do not fully agree with you.

  3. It is the best time to make some plans for the future and it’s time to be happy. I’ve read this post and if I could I wish to suggest you few interesting things or suggestions. Perhaps you could write next articles referring to this article. I desire to read even more things about it!

  4. Does gambling allow you to reckless on the contentment connected with by yourself or perhaps all your family members?
    In the 160+ video games at this time presented, many of them tend
    to be slot machine games video game titles.

  5. As an illustration, the actual laws involving Fl totally regulates this price with the limits with high
    roller vip casino. If your 2nd top hands would not possess a set of two,
    fit both the highest rating greeting cards with there-out of what exactly is
    left. One matter that numerous people understand in regards to the World wide web is usually the way the web page
    can often encourage a person that a website can be trustworthy in addition to trustworthy.

  6. It’s an awesome post designed for all the web visitors;
    they will take advantage from it I am sure.

  7. With havin so much content and articles do you ever run into any issues of plagorism or copyright infringement?
    My blog has a lot of completely unique content
    I’ve either created myself or outsourced but it seems
    a lot of it is popping it up all over the web without my authorization. Do
    you know any ways to help protect against content from being stolen? I’d definitely appreciate it.

  8. Howdy! Would you mind if I share your blog with my facebook group?
    There’s a lot of people that I think would really appreciate your content.
    Please let me know. Cheers

  9. You really make it seem so easy with your presentation however I find this
    topic to be really one thing that I believe I would never understand.
    It kind of feels too complicated and extremely broad for me.

    I’m taking a look ahead to your subsequent publish, I’ll attempt to get the hold of it!

  10. Write more, thats all I have to say. Literally, it seems as though
    you relied on the video to make your point. You obviously know what youre
    talking about, why throw away your intelligence on just
    posting videos to your site when you could be giving us something enlightening to read?

  11. Good answer back in return of this question with genuine arguments and describing the whole thing concerning that.

  12. I’ve een browsing online morre than 2 hours today, yet I never
    found any interessting article like yours. It iss pretfy worth
    enough forr me. Personally, iif all sitee owners and bloggerfs made
    gpod cntent as you did, the net will be mucch more uuseful
    thann evesr before.

  13. Now I am ready to do my breakfast, when having my breakfast coming again to read additional news.

  14. The online phone shops display everything; price, features, offers, gifts and etc on a dedicated page for the mobile phones where a customer can easily see everything about a device and its benefits before
    making a final deal. Well, thanks to the efforts of some creative minds, numerous daily
    deal websites have come into being, targeted at giving
    you extraordinary cost benefits on an exhaustive range of consumer
    products ranging from electronic devices, home appliances, apparels, computer peripheral, gift items and many more; all for
    just being social. By the presence of a large number of e-commerce
    websites in India that offer wide variety of products, online
    shopping sites of India has been revolutionized.

Leave a comment