Agile BI on Ubuntu 12.10

(Adapted from AgileBI on CentOS 6)

AgileBI (as part of PDI 4.4) does not work on Ubuntu 12.10 (Or Linux Mint 14) out-of-the box. AgileBI relies on SWT 3.7 which requires xulrunner-1.9.2

You need to add the following Lucid Lynx repositories to your repositories in synaptic: 

   deb http://ubuntu.mirror.cambrium.nl/ubuntu/ lucid main
   deb http://security.ubuntu.com/ubuntu lucid-security main

After adding the repositories, close synaptic and run the following commands:

sudo apt-get update
sudo apt-get install xulrunner-1.9.2

Now we need to tell Spoon that we want to specify the xulrunner path. Open <data-integration folder>/spoon.sh in a text editor like gedit.

  $ gedit <data-integration-home>/spoon.sh
#add 2 VM arguments to the OPT var: -Dorg.eclipse.swt.browser.DefaultType=mozilla -Dorg.eclipse.swt.browser.XULRunnerPath=$MOZILLA_FIVE_HOME
OPT="$OPT $PENTAHO_DI_JAVA_OPTIONS -Dorg.eclipse.swt.browser.DefaultType=mozilla -Dorg.eclipse.swt.browser.XULRunnerPath=$MOZILLA_FIVE_HOME -Djava.library.path=$LIBPATH -DKETTLE_HOME=$KETTLE_HOME -DKETTLE_REPOSITORY=$KETTLE_REPOSITORY -DKETTLE_USER=$KETTLE_USER -DKETTLE_PASSWORD=$KETTLE_PASSWORD -DKETTLE_PLUGIN_PACKAGES=$KETTLE_PLUGIN_PACKAGES -DKETTLE_LOG_SIZE_LIMIT=$KETTLE_LOG_SIZE_LIMIT"

Launch Spoon:

  cd <data-integration-home>
  ./spoon.sh