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

Posted by on Apr 20, 2009 in Eclipse6 commentsPrint This Post

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.


Something not quite right? Inaccuracies or invalid code? Didn’t work for you? Don’t like me using Ss instead of Zs? Add a comment below! All comments are welcome. Except spam, because spam is a bit crap.





















Dragon Touch® 7'' Black Dual Core Y88 Google Android 4.1 Tablet PC, Dual Camera, HD 1024x600, 4GB, Google Play Pre-load, HDMI, 3D Game Supported (enhanced version of A13)[By TabletExpress]


Dragon Touch® 7” Black Dual Core Y88 Google Android 4.1 Tablet PC, Dual Camera, HD 1024×600, 4GB, Google Play Pre-load, HDMI, 3D Game Supported (enhanced version of A13)[By TabletExpress]


$54.99


Trademark Dragon Touch products are marketed exclusively by TabletExpress. Specification: Operating System: Google Android 4.1 (Jelly Bean)Display: 7 Inch Multi-touch screen (1024×600)CPU: iMAP X15 Dual Core, up to 1.2 GHz processor;GPU: Quad core ARM Mali 400 MP GPUInternal Memory: 4 GBMemory Expansion: MicroSD card (up to 32 GB in size)RAM: 512MB DDR3Camera: Front facing plus rear camera enhanc…

Alldaymall® 9 Inch Android 4.4 KitKat Tablet PC MID (A23 Processor, Dual Core 1.5GHz, WiFi, 8GB, 512DDR3, Dual Camera, Supports Skype Video Chatting, YouTube, Google Play)


Alldaymall® 9 Inch Android 4.4 KitKat Tablet PC MID (A23 Processor, Dual Core 1.5GHz, WiFi, 8GB, 512DDR3, Dual Camera, Supports Skype Video Chatting, YouTube, Google Play)


$55.99


Alldaymall owns this trademark exclusively. Summary: Operating System: Android 4.4 KitKat Screen Size: 9 inches Max Screen Resolution: 800 x 480 pixels Processor: Allwinner A23 Dual Core processor RAM: 512MB Hard Drive Capacity: 8GB NAND Fast Flash Extend Card: Supports up to 32GB TF card Display Technology: 5-point capacitive touchscreen Battery Power: Battery Type: 4000mAh rechargeable batte…

Tags: , , , ,