Tuesday, November 03, 2009

Installing Google Plugin for Eclipse Galileo

This was interesting, a fresh install of the Google Plugin for a freshly installed Eclipse Galileo on a (near) freshly installed Ubuntu Karmic, and it was miserable.

My first attempt:
Ubuntu -> Add Software -> Eclipse (Galileo) -> Install
Eclipse -> Install New Software -> Google -> Plugin, SDK
, ...
...Fail!
org.eclipse.wst.sse.ui is missing error.
Luckily, others have noticed, and this steps you forward
http://code.google.com/eclipse/docs/faq.html#wstinstallerror

Second attempt, same as the first, with the help from FAQ, then a new error:
An error occurred while installing the items
session context was:(profile=PlatformProfile, phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Install, operand=null --> [R]org.eclipse.ant.ui 3.4.1.v20090901_r351, action=org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.InstallBundleAction).
The artifact file for osgi.bundle,org.eclipse.ant.ui,3.4.1.v20090901_r351 was not found.


Whats this: equinox, p2, ant.ui ??
I don't understand this, but with new eclipse comes new update manager (p2). And this is not going well.

Satisfies me attempt:
Uninstall Eclipse, delete /home/user/workspace, cry for 15 minutes, get coffee.
Synaptic Package Manager, click to install/reinstall pretty much everything that says [eclipse] or [gwt].
I selected: libgwt-user-java, libgwt-dev-java, eclipse, eclipse-*..., eclipse-plugin-cvs, reinstalled libequinox-osgi-java.

And then when I go into Eclipse->Install New Software, I select Google Plugin, restart, install the rest of the Google stuff, and I'm in business.

If asked, I don't know what to answer, whats harder, learning a new language, or learning to install the new language.

UPDATE:
These are the repo's I used.
http://download.eclipse.org/releases/galileo
http://download.eclipse.org/webtools/updates/ -- I'm not sure this one was needed.
http://dl.google.com/eclipse/plugin/3.5

2 comments:

  1. Man, I could kiss you. Thanks, you rock.

    ReplyDelete
  2. an easier solution :
    type this in a terminal :
    sudo apt-get install eclipse-pde

    source :
    https://bugs.launchpad.net/ubuntu/+source/eclipse/+bug/477944

    ReplyDelete

Note: Only a member of this blog may post a comment.