Home Games Projects Blog Contact Private
Network

Archive for the ‘maemo’ Category

Running ESbox On An Up-To-Date Linux

I’m currently getting my feet wet in Maemo 5 development as I’ll soon be the proud owner of a Nokia N900 (maybe already tomorrow? Go, Amazon, go!). As an avid user of Arch Linux, I try to keep my installation current by running pacman -Syu every now and then. That sometimes leads to software that is too new…

I was trying to install ESbox, an Eclipse plugin for Maemo development, but it wouldn’t work as my Eclipse version 3.5.1 was too new. I then tried to install an older version of Eclipse, but that wouldn’t run because my version of XULRunner was too new then. The error you then find in workspace/.metadata/.log look like this:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
!ENTRY org.eclipse.osgi 4 0 2009-12-06 19:37:24.648
!MESSAGE Application error
!STACK 1
org.eclipse.swt.SWTError: XPCOM error -2147467262
	at org.eclipse.swt.browser.Mozilla.error(Mozilla.java:1597)
	at org.eclipse.swt.browser.Mozilla.setText(Mozilla.java:1820)
	at org.eclipse.swt.browser.Browser.setText(Browser.java:737)
	at org.eclipse.ui.internal.intro.impl.presentations.BrowserIntroPartImplementation.generateContentForPage(BrowserIntroPartImplementation.java:252)
	at org.eclipse.ui.internal.intro.impl.presentations.BrowserIntroPartImplementation.dynamicStandbyStateChanged(BrowserIntroPartImplementation.java:451)
	at org.eclipse.ui.internal.intro.impl.presentations.BrowserIntroPartImplementation.doStandbyStateChanged(BrowserIntroPartImplementation.java:658)
	at org.eclipse.ui.internal.intro.impl.model.AbstractIntroPartImplementation.standbyStateChanged(AbstractIntroPartImplementation.java:249)
	at org.eclipse.ui.internal.intro.impl.model.IntroPartPresentation.standbyStateChanged(IntroPartPresentation.java:443)
	at org.eclipse.ui.intro.config.CustomizableIntroPart.standbyStateChanged(CustomizableIntroPart.java:266)
	at org.eclipse.ui.internal.ViewIntroAdapterPart$2.run(ViewIntroAdapterPart.java:74)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
[...]

By the way, grabbing the complete Eclipse install from the ESbox website doesn’t help when running a 64-bit system.

So here’s my way of getting it running anyway without harming the rest of my system:

  1. Get and install Eclipse IDE for C/C++ Developers version 3.4.2 / SR2. Of course, you can keep your current Eclipse installed.
  2. Get and unpack XULRunner 1.8.0.1, but don’t really install it. Just put it somewhere and memorize the path.
  3. Edit eclipse-install/eclipse.ini and append this line to the end:
    -Dorg.eclipse.swt.browser.XULRunnerPath=/path/to/your/old/xulrunner/

    (Thanks to this forum thread.)

  4. Go on and follow the normal ESbox installation instructions using Method 2: Eclipse Update Site.

I hope this helps someone.